Documentation ¶
Index ¶
- type ClientOption
- func WithDockerClient() ClientOption
- func WithGitClient(owner, email, token string) ClientOption
- func WithGrpcClient(host string, port int) ClientOption
- func WithHelmClient() ClientOption
- func WithHttpClient() ClientOption
- func WithKubeClient() ClientOption
- func WithStorageClient(storageType, username, password, database string) ClientOption
- func WithTraceClient(port int) ClientOption
- type ClientSet
- type GrpcClient
- type GrpcClientOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOption ¶
func WithDockerClient ¶
func WithDockerClient() ClientOption
func WithGitClient ¶
func WithGitClient(owner, email, token string) ClientOption
func WithGrpcClient ¶
func WithGrpcClient(host string, port int) ClientOption
func WithHelmClient ¶
func WithHelmClient() ClientOption
func WithHttpClient ¶
func WithHttpClient() ClientOption
func WithKubeClient ¶
func WithKubeClient() ClientOption
func WithStorageClient ¶
func WithStorageClient(storageType, username, password, database string) ClientOption
func WithTraceClient ¶
func WithTraceClient(port int) ClientOption
type GrpcClient ¶
type GrpcClient interface { Close() GetConnection() *grpc.ClientConn Set(interface{}) }
type GrpcClientOption ¶
type GrpcClientOption struct {
F func(ClientSet)
}
func (*GrpcClientOption) Apply ¶
func (opt *GrpcClientOption) Apply(cli ClientSet) error
Click to show internal directories.
Click to hide internal directories.