Versions in this module Expand all Collapse all v0 v0.2.1 Jul 22, 2020 v0.2.0 Jul 22, 2020 v0.1.3 Apr 10, 2020 v0.1.2 Apr 9, 2020 v0.1.1 Apr 9, 2020 Changes in this version type ConfigHandler + QueryApp func(context.Context, *AppRequest, *AppResponse) error + QueryCluster func(context.Context, *ClusterRequest, *ClusterResponse) error + QueryNamespace func(context.Context, *NamespaceRequest, *NamespaceResponse) error type ConfigService + QueryApp func(ctx context.Context, in *AppRequest, opts ...client.CallOption) (*AppResponse, error) + QueryCluster func(ctx context.Context, in *ClusterRequest, opts ...client.CallOption) (*ClusterResponse, error) + QueryNamespace func(ctx context.Context, in *NamespaceRequest, opts ...client.CallOption) (*NamespaceResponse, error) v0.1.0 Jan 15, 2020 Changes in this version + func RegisterConfigHandler(s server.Server, hdlr ConfigHandler, opts ...server.HandlerOption) error + type AppRequest struct + AppName string + Description string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AppRequest) Descriptor() ([]byte, []int) + func (*AppRequest) ProtoMessage() + func (m *AppRequest) GetAppName() string + func (m *AppRequest) GetDescription() string + func (m *AppRequest) Reset() + func (m *AppRequest) String() string + func (m *AppRequest) XXX_DiscardUnknown() + func (m *AppRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AppRequest) XXX_Merge(src proto.Message) + func (m *AppRequest) XXX_Size() int + func (m *AppRequest) XXX_Unmarshal(b []byte) error + type AppResponse struct + AppName string + CreatedAt int64 + Description string + Id int64 + UpdatedAt int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AppResponse) Descriptor() ([]byte, []int) + func (*AppResponse) ProtoMessage() + func (m *AppResponse) GetAppName() string + func (m *AppResponse) GetCreatedAt() int64 + func (m *AppResponse) GetDescription() string + func (m *AppResponse) GetId() int64 + func (m *AppResponse) GetUpdatedAt() int64 + func (m *AppResponse) Reset() + func (m *AppResponse) String() string + func (m *AppResponse) XXX_DiscardUnknown() + func (m *AppResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AppResponse) XXX_Merge(src proto.Message) + func (m *AppResponse) XXX_Size() int + func (m *AppResponse) XXX_Unmarshal(b []byte) error + type AppsResponse struct + Apps []*AppResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*AppsResponse) Descriptor() ([]byte, []int) + func (*AppsResponse) ProtoMessage() + func (m *AppsResponse) GetApps() []*AppResponse + func (m *AppsResponse) Reset() + func (m *AppsResponse) String() string + func (m *AppsResponse) XXX_DiscardUnknown() + func (m *AppsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *AppsResponse) XXX_Merge(src proto.Message) + func (m *AppsResponse) XXX_Size() int + func (m *AppsResponse) XXX_Unmarshal(b []byte) error + type ClusterRequest struct + AppName string + ClusterName string + Description string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ClusterRequest) Descriptor() ([]byte, []int) + func (*ClusterRequest) ProtoMessage() + func (m *ClusterRequest) GetAppName() string + func (m *ClusterRequest) GetClusterName() string + func (m *ClusterRequest) GetDescription() string + func (m *ClusterRequest) Reset() + func (m *ClusterRequest) String() string + func (m *ClusterRequest) XXX_DiscardUnknown() + func (m *ClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClusterRequest) XXX_Merge(src proto.Message) + func (m *ClusterRequest) XXX_Size() int + func (m *ClusterRequest) XXX_Unmarshal(b []byte) error + type ClusterResponse struct + AppName string + ClusterName string + CreatedAt int64 + Description string + Id int64 + UpdatedAt int64 + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ClusterResponse) Descriptor() ([]byte, []int) + func (*ClusterResponse) ProtoMessage() + func (m *ClusterResponse) GetAppName() string + func (m *ClusterResponse) GetClusterName() string + func (m *ClusterResponse) GetCreatedAt() int64 + func (m *ClusterResponse) GetDescription() string + func (m *ClusterResponse) GetId() int64 + func (m *ClusterResponse) GetUpdatedAt() int64 + func (m *ClusterResponse) Reset() + func (m *ClusterResponse) String() string + func (m *ClusterResponse) XXX_DiscardUnknown() + func (m *ClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClusterResponse) XXX_Merge(src proto.Message) + func (m *ClusterResponse) XXX_Size() int + func (m *ClusterResponse) XXX_Unmarshal(b []byte) error + type ClustersResponse struct + Clusters []*ClusterResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ClustersResponse) Descriptor() ([]byte, []int) + func (*ClustersResponse) ProtoMessage() + func (m *ClustersResponse) GetClusters() []*ClusterResponse + func (m *ClustersResponse) Reset() + func (m *ClustersResponse) String() string + func (m *ClustersResponse) XXX_DiscardUnknown() + func (m *ClustersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ClustersResponse) XXX_Merge(src proto.Message) + func (m *ClustersResponse) XXX_Size() int + func (m *ClustersResponse) XXX_Unmarshal(b []byte) error + type ConfigHandler interface + CreateApp func(context.Context, *AppRequest, *AppResponse) error + CreateCluster func(context.Context, *ClusterRequest, *ClusterResponse) error + CreateNamespace func(context.Context, *NamespaceRequest, *NamespaceResponse) error + DeleteApp func(context.Context, *AppRequest, *Response) error + DeleteCluster func(context.Context, *ClusterRequest, *Response) error + DeleteNamespace func(context.Context, *NamespaceRequest, *Response) error + ListApps func(context.Context, *Request, *AppsResponse) error + ListClusters func(context.Context, *AppRequest, *ClustersResponse) error + ListNamespaces func(context.Context, *ClusterRequest, *NamespacesResponse) error + ListReleaseHistory func(context.Context, *NamespaceRequest, *ReleaseHistoryResponse) error + Read func(context.Context, *QueryConfigRequest, *ConfigResponse) error + ReleaseConfig func(context.Context, *ReleaseRequest, *Response) error + Rollback func(context.Context, *ReleaseRequest, *Response) error + UpdateConfig func(context.Context, *UpdateConfigRequest, *Response) error + Watch func(context.Context, *Request, Config_WatchStream) error + type ConfigResponse struct + AppName string + ClusterName string + CreatedAt int64 + Format string + Id int64 + NamespaceName string + UpdatedAt int64 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ConfigResponse) Descriptor() ([]byte, []int) + func (*ConfigResponse) ProtoMessage() + func (m *ConfigResponse) GetAppName() string + func (m *ConfigResponse) GetClusterName() string + func (m *ConfigResponse) GetCreatedAt() int64 + func (m *ConfigResponse) GetFormat() string + func (m *ConfigResponse) GetId() int64 + func (m *ConfigResponse) GetNamespaceName() string + func (m *ConfigResponse) GetUpdatedAt() int64 + func (m *ConfigResponse) GetValue() string + func (m *ConfigResponse) Reset() + func (m *ConfigResponse) String() string + func (m *ConfigResponse) XXX_DiscardUnknown() + func (m *ConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ConfigResponse) XXX_Merge(src proto.Message) + func (m *ConfigResponse) XXX_Size() int + func (m *ConfigResponse) XXX_Unmarshal(b []byte) error + type ConfigService interface + CreateApp func(ctx context.Context, in *AppRequest, opts ...client.CallOption) (*AppResponse, error) + CreateCluster func(ctx context.Context, in *ClusterRequest, opts ...client.CallOption) (*ClusterResponse, error) + CreateNamespace func(ctx context.Context, in *NamespaceRequest, opts ...client.CallOption) (*NamespaceResponse, error) + DeleteApp func(ctx context.Context, in *AppRequest, opts ...client.CallOption) (*Response, error) + DeleteCluster func(ctx context.Context, in *ClusterRequest, opts ...client.CallOption) (*Response, error) + DeleteNamespace func(ctx context.Context, in *NamespaceRequest, opts ...client.CallOption) (*Response, error) + ListApps func(ctx context.Context, in *Request, opts ...client.CallOption) (*AppsResponse, error) + ListClusters func(ctx context.Context, in *AppRequest, opts ...client.CallOption) (*ClustersResponse, error) + ListNamespaces func(ctx context.Context, in *ClusterRequest, opts ...client.CallOption) (*NamespacesResponse, error) + ListReleaseHistory func(ctx context.Context, in *NamespaceRequest, opts ...client.CallOption) (*ReleaseHistoryResponse, error) + Read func(ctx context.Context, in *QueryConfigRequest, opts ...client.CallOption) (*ConfigResponse, error) + ReleaseConfig func(ctx context.Context, in *ReleaseRequest, opts ...client.CallOption) (*Response, error) + Rollback func(ctx context.Context, in *ReleaseRequest, opts ...client.CallOption) (*Response, error) + UpdateConfig func(ctx context.Context, in *UpdateConfigRequest, opts ...client.CallOption) (*Response, error) + Watch func(ctx context.Context, in *Request, opts ...client.CallOption) (Config_WatchService, error) + func NewConfigService(name string, c client.Client) ConfigService + type Config_WatchService interface + Close func() error + Recv func() (*ConfigResponse, error) + RecvMsg func(interface{}) error + SendMsg func(interface{}) error + type Config_WatchStream interface + Close func() error + RecvMsg func(interface{}) error + Send func(*ConfigResponse) error + SendMsg func(interface{}) error + type NamespaceRequest struct + AppName string + ClusterName string + Description string + Format string + NamespaceName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*NamespaceRequest) Descriptor() ([]byte, []int) + func (*NamespaceRequest) ProtoMessage() + func (m *NamespaceRequest) GetAppName() string + func (m *NamespaceRequest) GetClusterName() string + func (m *NamespaceRequest) GetDescription() string + func (m *NamespaceRequest) GetFormat() string + func (m *NamespaceRequest) GetNamespaceName() string + func (m *NamespaceRequest) Reset() + func (m *NamespaceRequest) String() string + func (m *NamespaceRequest) XXX_DiscardUnknown() + func (m *NamespaceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NamespaceRequest) XXX_Merge(src proto.Message) + func (m *NamespaceRequest) XXX_Size() int + func (m *NamespaceRequest) XXX_Unmarshal(b []byte) error + type NamespaceResponse struct + AppName string + ClusterName string + CreatedAt int64 + Description string + EditValue string + Format string + Id int64 + NamespaceName string + Released bool + UpdatedAt int64 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*NamespaceResponse) Descriptor() ([]byte, []int) + func (*NamespaceResponse) ProtoMessage() + func (m *NamespaceResponse) GetAppName() string + func (m *NamespaceResponse) GetClusterName() string + func (m *NamespaceResponse) GetCreatedAt() int64 + func (m *NamespaceResponse) GetDescription() string + func (m *NamespaceResponse) GetEditValue() string + func (m *NamespaceResponse) GetFormat() string + func (m *NamespaceResponse) GetId() int64 + func (m *NamespaceResponse) GetNamespaceName() string + func (m *NamespaceResponse) GetReleased() bool + func (m *NamespaceResponse) GetUpdatedAt() int64 + func (m *NamespaceResponse) GetValue() string + func (m *NamespaceResponse) Reset() + func (m *NamespaceResponse) String() string + func (m *NamespaceResponse) XXX_DiscardUnknown() + func (m *NamespaceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NamespaceResponse) XXX_Merge(src proto.Message) + func (m *NamespaceResponse) XXX_Size() int + func (m *NamespaceResponse) XXX_Unmarshal(b []byte) error + type NamespacesResponse struct + Namespaces []*NamespaceResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*NamespacesResponse) Descriptor() ([]byte, []int) + func (*NamespacesResponse) ProtoMessage() + func (m *NamespacesResponse) GetNamespaces() []*NamespaceResponse + func (m *NamespacesResponse) Reset() + func (m *NamespacesResponse) String() string + func (m *NamespacesResponse) XXX_DiscardUnknown() + func (m *NamespacesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *NamespacesResponse) XXX_Merge(src proto.Message) + func (m *NamespacesResponse) XXX_Size() int + func (m *NamespacesResponse) XXX_Unmarshal(b []byte) error + type QueryConfigRequest struct + AppName string + ClusterName string + NamespaceName string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*QueryConfigRequest) Descriptor() ([]byte, []int) + func (*QueryConfigRequest) ProtoMessage() + func (m *QueryConfigRequest) GetAppName() string + func (m *QueryConfigRequest) GetClusterName() string + func (m *QueryConfigRequest) GetNamespaceName() string + func (m *QueryConfigRequest) Reset() + func (m *QueryConfigRequest) String() string + func (m *QueryConfigRequest) XXX_DiscardUnknown() + func (m *QueryConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *QueryConfigRequest) XXX_Merge(src proto.Message) + func (m *QueryConfigRequest) XXX_Size() int + func (m *QueryConfigRequest) XXX_Unmarshal(b []byte) error + type ReleaseHistoryResponse struct + ReleaseHistory []*ReleaseResponse + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReleaseHistoryResponse) Descriptor() ([]byte, []int) + func (*ReleaseHistoryResponse) ProtoMessage() + func (m *ReleaseHistoryResponse) GetReleaseHistory() []*ReleaseResponse + func (m *ReleaseHistoryResponse) Reset() + func (m *ReleaseHistoryResponse) String() string + func (m *ReleaseHistoryResponse) XXX_DiscardUnknown() + func (m *ReleaseHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReleaseHistoryResponse) XXX_Merge(src proto.Message) + func (m *ReleaseHistoryResponse) XXX_Size() int + func (m *ReleaseHistoryResponse) XXX_Unmarshal(b []byte) error + type ReleaseRequest struct + AppName string + ClusterName string + Comment string + NamespaceName string + Tag string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReleaseRequest) Descriptor() ([]byte, []int) + func (*ReleaseRequest) ProtoMessage() + func (m *ReleaseRequest) GetAppName() string + func (m *ReleaseRequest) GetClusterName() string + func (m *ReleaseRequest) GetComment() string + func (m *ReleaseRequest) GetNamespaceName() string + func (m *ReleaseRequest) GetTag() string + func (m *ReleaseRequest) Reset() + func (m *ReleaseRequest) String() string + func (m *ReleaseRequest) XXX_DiscardUnknown() + func (m *ReleaseRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReleaseRequest) XXX_Merge(src proto.Message) + func (m *ReleaseRequest) XXX_Size() int + func (m *ReleaseRequest) XXX_Unmarshal(b []byte) error + type ReleaseResponse struct + AppName string + ClusterName string + Comment string + CreatedAt int64 + Id int64 + NamespaceName string + Tag string + Type string + UpdatedAt int64 + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*ReleaseResponse) Descriptor() ([]byte, []int) + func (*ReleaseResponse) ProtoMessage() + func (m *ReleaseResponse) GetAppName() string + func (m *ReleaseResponse) GetClusterName() string + func (m *ReleaseResponse) GetComment() string + func (m *ReleaseResponse) GetCreatedAt() int64 + func (m *ReleaseResponse) GetId() int64 + func (m *ReleaseResponse) GetNamespaceName() string + func (m *ReleaseResponse) GetTag() string + func (m *ReleaseResponse) GetType() string + func (m *ReleaseResponse) GetUpdatedAt() int64 + func (m *ReleaseResponse) GetValue() string + func (m *ReleaseResponse) Reset() + func (m *ReleaseResponse) String() string + func (m *ReleaseResponse) XXX_DiscardUnknown() + func (m *ReleaseResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *ReleaseResponse) XXX_Merge(src proto.Message) + func (m *ReleaseResponse) XXX_Size() int + func (m *ReleaseResponse) XXX_Unmarshal(b []byte) error + type Request struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Request) Descriptor() ([]byte, []int) + func (*Request) ProtoMessage() + func (m *Request) Reset() + func (m *Request) String() string + func (m *Request) XXX_DiscardUnknown() + func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Request) XXX_Merge(src proto.Message) + func (m *Request) XXX_Size() int + func (m *Request) XXX_Unmarshal(b []byte) error + type Response struct + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) Reset() + func (m *Response) String() string + func (m *Response) XXX_DiscardUnknown() + func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *Response) XXX_Merge(src proto.Message) + func (m *Response) XXX_Size() int + func (m *Response) XXX_Unmarshal(b []byte) error + type UpdateConfigRequest struct + AppName string + ClusterName string + NamespaceName string + Value string + XXX_NoUnkeyedLiteral struct{} + XXX_sizecache int32 + XXX_unrecognized []byte + func (*UpdateConfigRequest) Descriptor() ([]byte, []int) + func (*UpdateConfigRequest) ProtoMessage() + func (m *UpdateConfigRequest) GetAppName() string + func (m *UpdateConfigRequest) GetClusterName() string + func (m *UpdateConfigRequest) GetNamespaceName() string + func (m *UpdateConfigRequest) GetValue() string + func (m *UpdateConfigRequest) Reset() + func (m *UpdateConfigRequest) String() string + func (m *UpdateConfigRequest) XXX_DiscardUnknown() + func (m *UpdateConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) + func (m *UpdateConfigRequest) XXX_Merge(src proto.Message) + func (m *UpdateConfigRequest) XXX_Size() int + func (m *UpdateConfigRequest) XXX_Unmarshal(b []byte) error