Skip to content

Conversation

@tpiperatgod
Copy link
Contributor

@tpiperatgod tpiperatgod commented Sep 19, 2022

(If this PR fixes a github issue, please add Fixes #<xyz>.)

Fixes #470

(or if this PR is one task of a github issue, please add Master Issue: #<xyz> to link to the master issue.)

Master Issue: #

Motivation

Add Go client API to FunctionMesh

Modifications

  • add hack/update-codegen.sh to automatically generate the clientset
  • add the api/generated directory which contains the clientset files
  • adjust directory api/v1alpha1 to api/compute/v1alpha1

Verifying this change

  • Make sure that the change passes the CI checks.

(Please pick either of the following options)

This change is a trivial rework / code cleanup without any test coverage.

(or)

This change is already covered by existing tests, such as (please describe tests).

(or)

This change added tests and can be verified as follows:

(example:)

  • Added integration tests for end-to-end deployment with large payloads (10MB)
  • Extended integration test for recovery after broker failure

Documentation

Check the box below.

Need to update docs?

  • doc-required

    (If you need help on updating docs, create a doc issue)

  • no-need-doc

    (Please explain why)

  • doc

    (If this PR contains doc changes)

@github-actions
Copy link

@tpiperatgod:Thanks for your contribution. For this PR, do we need to update docs?
(The PR template contains info about doc, which helps others know more about the changes. Can you provide doc-related info in this and future PR descriptions? Thanks)

@github-actions github-actions bot added the doc-info-missing This pr needs to mark a document option in description label Sep 19, 2022
@github-actions
Copy link

@tpiperatgod:Thanks for providing doc info!

@github-actions github-actions bot added no-need-doc This pr does not need any document and removed doc-info-missing This pr needs to mark a document option in description labels Sep 19, 2022
@jiangpengcheng
Copy link
Member

what is this used for?

@tpiperatgod
Copy link
Contributor Author

what is this used for?

This PR can help us to invoke the native API of FunctionMesh in some CLI tools or other projects

jiangpengcheng
jiangpengcheng previously approved these changes Sep 19, 2022
Copy link
Contributor

@nlu90 nlu90 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The package path is changed.

Could you elaborate the reasoning and check if this is a broken change?

Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
Signed-off-by: laminar <tpiperatgod@gmail.com>
@tpiperatgod
Copy link
Contributor Author

The package path is changed.

Could you elaborate the reasoning and check if this is a broken change?

done

@freeznet freeznet added type/feature Indicates new functionality m/2022-10 labels Sep 28, 2022
@nlu90 nlu90 merged commit 887d3b0 into streamnative:master Sep 28, 2022
@tpiperatgod tpiperatgod deleted the issue-470 branch November 8, 2022 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

m/2022-10 no-need-doc This pr does not need any document type/feature Indicates new functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add client for FunctionMesh

4 participants