Documentation
¶
Index ¶
- Constants
- Variables
- func ConvertAuthGrantRequest(cluster, user string, sec *SecretMeta) (*GrantTarget, *SecretRequest, error)
- func ErrorActionNotAllow(format string, args ...interface{}) *errors.Error
- func ErrorAuthFailed(format string, args ...interface{}) *errors.Error
- func ErrorInputArgError(format string, args ...interface{}) *errors.Error
- func ErrorInternalServiceError(format string, args ...interface{}) *errors.Error
- func ErrorResourceNotFound(format string, args ...interface{}) *errors.Error
- func GetPath(vars interface{}, vaultTmpl VaultTemplate) (string, error)
- func IsActionNotAllow(err error) bool
- func IsAuthFailed(err error) bool
- func IsInputArgError(err error) bool
- func IsInternalServiceError(err error) bool
- func IsResourceNotFound(err error) bool
- func RegisterAuthGrantHTTPServer(s *http.Server, srv AuthGrantHTTPServer)
- func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
- func RegisterHealthHTTPServer(s *http.Server, srv HealthHTTPServer)
- func RegisterSecretHTTPServer(s *http.Server, srv SecretHTTPServer)
- type Account
- func (*Account) Descriptor() ([]byte, []int)deprecated
- func (x *Account) GetPassword() string
- func (x *Account) GetUsername() string
- func (*Account) ProtoMessage()
- func (x *Account) ProtoReflect() protoreflect.Message
- func (x *Account) Reset()
- func (x *Account) String() string
- func (m *Account) Validate() error
- func (m *Account) ValidateAll() error
- type AccountMultiError
- type AccountValidationError
- type AuthGrantHTTPClient
- type AuthGrantHTTPClientImpl
- func (c *AuthGrantHTTPClientImpl) GrantAuthroleClusterPolicy(ctx context.Context, in *AuthroleClusterPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) GrantAuthroleGitPolicy(ctx context.Context, in *AuthroleGitPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) GrantAuthroleRepoPolicy(ctx context.Context, in *AuthroleRepoPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) GrantAuthroleTenantGitPolicy(ctx context.Context, in *AuthroleTenantGitPolicyRequest, ...) (*GrantAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) GrantAuthroleTenantRepoPolicy(ctx context.Context, in *AuthroleTenantRepoPolicyRequest, ...) (*GrantAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) RevokeAuthroleClusterPolicy(ctx context.Context, in *AuthroleClusterPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) RevokeAuthroleGitPolicy(ctx context.Context, in *AuthroleGitPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) RevokeAuthroleRepoPolicy(ctx context.Context, in *AuthroleRepoPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) RevokeAuthroleTenantGitPolicy(ctx context.Context, in *AuthroleTenantGitPolicyRequest, ...) (*RevokeAuthrolePolicyReply, error)
- func (c *AuthGrantHTTPClientImpl) RevokeAuthroleTenantRepoPolicy(ctx context.Context, in *AuthroleTenantRepoPolicyRequest, ...) (*RevokeAuthrolePolicyReply, error)
- type AuthGrantHTTPServer
- type AuthGrantRequest
- type AuthHTTPClient
- type AuthHTTPClientImpl
- func (c *AuthHTTPClientImpl) CreateAuth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*CreateAuthReply, error)
- func (c *AuthHTTPClientImpl) CreateAuthrole(ctx context.Context, in *AuthroleRequest, opts ...http.CallOption) (*CreateAuthroleReply, error)
- func (c *AuthHTTPClientImpl) DeleteAuth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*DeleteAuthReply, error)
- func (c *AuthHTTPClientImpl) DeleteAuthrole(ctx context.Context, in *AuthroleRequest, opts ...http.CallOption) (*DeleteAuthroleReply, error)
- type AuthHTTPServer
- type AuthRequest
- func (x *AuthRequest) ConvertRequest() (*SecretRequest, error)
- func (*AuthRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthRequest) GetAuthType() string
- func (x *AuthRequest) GetClusterName() string
- func (x *AuthRequest) GetKubernetes() *Kubernetes
- func (*AuthRequest) ProtoMessage()
- func (x *AuthRequest) ProtoReflect() protoreflect.Message
- func (x *AuthRequest) Reset()
- func (x *AuthRequest) String() string
- func (m *AuthRequest) Validate() error
- func (m *AuthRequest) ValidateAll() error
- type AuthRequestMultiError
- type AuthRequestValidationError
- func (e AuthRequestValidationError) Cause() error
- func (e AuthRequestValidationError) Error() string
- func (e AuthRequestValidationError) ErrorName() string
- func (e AuthRequestValidationError) Field() string
- func (e AuthRequestValidationError) Key() bool
- func (e AuthRequestValidationError) Reason() string
- type AuthroleClusterPolicyRequest
- func (req *AuthroleClusterPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
- func (*AuthroleClusterPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleClusterPolicyRequest) GetClusterName() string
- func (x *AuthroleClusterPolicyRequest) GetDestUser() string
- func (x *AuthroleClusterPolicyRequest) GetSecret() *ClusterMeta
- func (*AuthroleClusterPolicyRequest) ProtoMessage()
- func (x *AuthroleClusterPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleClusterPolicyRequest) Reset()
- func (x *AuthroleClusterPolicyRequest) String() string
- func (m *AuthroleClusterPolicyRequest) Validate() error
- func (m *AuthroleClusterPolicyRequest) ValidateAll() error
- type AuthroleClusterPolicyRequestMultiError
- type AuthroleClusterPolicyRequestValidationError
- func (e AuthroleClusterPolicyRequestValidationError) Cause() error
- func (e AuthroleClusterPolicyRequestValidationError) Error() string
- func (e AuthroleClusterPolicyRequestValidationError) ErrorName() string
- func (e AuthroleClusterPolicyRequestValidationError) Field() string
- func (e AuthroleClusterPolicyRequestValidationError) Key() bool
- func (e AuthroleClusterPolicyRequestValidationError) Reason() string
- type AuthroleGitPolicyRequest
- func (req *AuthroleGitPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
- func (*AuthroleGitPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleGitPolicyRequest) GetClusterName() string
- func (x *AuthroleGitPolicyRequest) GetDestUser() string
- func (x *AuthroleGitPolicyRequest) GetSecret() *GitMeta
- func (*AuthroleGitPolicyRequest) ProtoMessage()
- func (x *AuthroleGitPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleGitPolicyRequest) Reset()
- func (x *AuthroleGitPolicyRequest) String() string
- func (m *AuthroleGitPolicyRequest) Validate() error
- func (m *AuthroleGitPolicyRequest) ValidateAll() error
- type AuthroleGitPolicyRequestMultiError
- type AuthroleGitPolicyRequestValidationError
- func (e AuthroleGitPolicyRequestValidationError) Cause() error
- func (e AuthroleGitPolicyRequestValidationError) Error() string
- func (e AuthroleGitPolicyRequestValidationError) ErrorName() string
- func (e AuthroleGitPolicyRequestValidationError) Field() string
- func (e AuthroleGitPolicyRequestValidationError) Key() bool
- func (e AuthroleGitPolicyRequestValidationError) Reason() string
- type AuthroleRepoPolicyRequest
- func (req *AuthroleRepoPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
- func (*AuthroleRepoPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleRepoPolicyRequest) GetClusterName() string
- func (x *AuthroleRepoPolicyRequest) GetDestUser() string
- func (x *AuthroleRepoPolicyRequest) GetSecret() *RepoMeta
- func (*AuthroleRepoPolicyRequest) ProtoMessage()
- func (x *AuthroleRepoPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleRepoPolicyRequest) Reset()
- func (x *AuthroleRepoPolicyRequest) String() string
- func (m *AuthroleRepoPolicyRequest) Validate() error
- func (m *AuthroleRepoPolicyRequest) ValidateAll() error
- type AuthroleRepoPolicyRequestMultiError
- type AuthroleRepoPolicyRequestValidationError
- func (e AuthroleRepoPolicyRequestValidationError) Cause() error
- func (e AuthroleRepoPolicyRequestValidationError) Error() string
- func (e AuthroleRepoPolicyRequestValidationError) ErrorName() string
- func (e AuthroleRepoPolicyRequestValidationError) Field() string
- func (e AuthroleRepoPolicyRequestValidationError) Key() bool
- func (e AuthroleRepoPolicyRequestValidationError) Reason() string
- type AuthroleRequest
- func (x *AuthroleRequest) ConvertRequest() (*SecretRequest, error)
- func (*AuthroleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleRequest) GetClusterName() string
- func (x *AuthroleRequest) GetDestUser() string
- func (x *AuthroleRequest) GetKubernetes() *KubernetesAuthRoleMeta
- func (m *AuthroleRequest) GetRole() isAuthroleRequest_Role
- func (*AuthroleRequest) ProtoMessage()
- func (x *AuthroleRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleRequest) Reset()
- func (x *AuthroleRequest) String() string
- func (m *AuthroleRequest) Validate() error
- func (m *AuthroleRequest) ValidateAll() error
- type AuthroleRequestMultiError
- type AuthroleRequestValidationError
- func (e AuthroleRequestValidationError) Cause() error
- func (e AuthroleRequestValidationError) Error() string
- func (e AuthroleRequestValidationError) ErrorName() string
- func (e AuthroleRequestValidationError) Field() string
- func (e AuthroleRequestValidationError) Key() bool
- func (e AuthroleRequestValidationError) Reason() string
- type AuthroleRequest_Kubernetes
- type AuthroleTenantGitPolicyRequest
- func (req *AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
- func (*AuthroleTenantGitPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleTenantGitPolicyRequest) GetClusterName() string
- func (x *AuthroleTenantGitPolicyRequest) GetDestUser() string
- func (x *AuthroleTenantGitPolicyRequest) GetSecret() *TenantGitMeta
- func (*AuthroleTenantGitPolicyRequest) ProtoMessage()
- func (x *AuthroleTenantGitPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleTenantGitPolicyRequest) Reset()
- func (x *AuthroleTenantGitPolicyRequest) String() string
- func (m *AuthroleTenantGitPolicyRequest) Validate() error
- func (m *AuthroleTenantGitPolicyRequest) ValidateAll() error
- type AuthroleTenantGitPolicyRequestMultiError
- type AuthroleTenantGitPolicyRequestValidationError
- func (e AuthroleTenantGitPolicyRequestValidationError) Cause() error
- func (e AuthroleTenantGitPolicyRequestValidationError) Error() string
- func (e AuthroleTenantGitPolicyRequestValidationError) ErrorName() string
- func (e AuthroleTenantGitPolicyRequestValidationError) Field() string
- func (e AuthroleTenantGitPolicyRequestValidationError) Key() bool
- func (e AuthroleTenantGitPolicyRequestValidationError) Reason() string
- type AuthroleTenantRepoPolicyRequest
- func (req *AuthroleTenantRepoPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
- func (*AuthroleTenantRepoPolicyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AuthroleTenantRepoPolicyRequest) GetClusterName() string
- func (x *AuthroleTenantRepoPolicyRequest) GetDestUser() string
- func (x *AuthroleTenantRepoPolicyRequest) GetSecret() *TenantRepoMeta
- func (*AuthroleTenantRepoPolicyRequest) ProtoMessage()
- func (x *AuthroleTenantRepoPolicyRequest) ProtoReflect() protoreflect.Message
- func (x *AuthroleTenantRepoPolicyRequest) Reset()
- func (x *AuthroleTenantRepoPolicyRequest) String() string
- func (m *AuthroleTenantRepoPolicyRequest) Validate() error
- func (m *AuthroleTenantRepoPolicyRequest) ValidateAll() error
- type AuthroleTenantRepoPolicyRequestMultiError
- type AuthroleTenantRepoPolicyRequestValidationError
- func (e AuthroleTenantRepoPolicyRequestValidationError) Cause() error
- func (e AuthroleTenantRepoPolicyRequestValidationError) Error() string
- func (e AuthroleTenantRepoPolicyRequestValidationError) ErrorName() string
- func (e AuthroleTenantRepoPolicyRequestValidationError) Field() string
- func (e AuthroleTenantRepoPolicyRequestValidationError) Key() bool
- func (e AuthroleTenantRepoPolicyRequestValidationError) Reason() string
- type ClusterAccount
- func (*ClusterAccount) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterAccount) GetKubeconfig() string
- func (*ClusterAccount) ProtoMessage()
- func (x *ClusterAccount) ProtoReflect() protoreflect.Message
- func (x *ClusterAccount) Reset()
- func (x *ClusterAccount) String() string
- func (m *ClusterAccount) Validate() error
- func (m *ClusterAccount) ValidateAll() error
- type ClusterAccountMultiError
- type ClusterAccountValidationError
- func (e ClusterAccountValidationError) Cause() error
- func (e ClusterAccountValidationError) Error() string
- func (e ClusterAccountValidationError) ErrorName() string
- func (e ClusterAccountValidationError) Field() string
- func (e ClusterAccountValidationError) Key() bool
- func (e ClusterAccountValidationError) Reason() string
- type ClusterMeta
- func (*ClusterMeta) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMeta) GetId() string
- func (x *ClusterMeta) GetNames() (*SecretMeta, error)
- func (x *ClusterMeta) GetPermission() string
- func (x *ClusterMeta) GetType() string
- func (x *ClusterMeta) GetUsername() string
- func (*ClusterMeta) ProtoMessage()
- func (x *ClusterMeta) ProtoReflect() protoreflect.Message
- func (x *ClusterMeta) Reset()
- func (x *ClusterMeta) String() string
- func (m *ClusterMeta) Validate() error
- func (m *ClusterMeta) ValidateAll() error
- type ClusterMetaMultiError
- type ClusterMetaValidationError
- func (e ClusterMetaValidationError) Cause() error
- func (e ClusterMetaValidationError) Error() string
- func (e ClusterMetaValidationError) ErrorName() string
- func (e ClusterMetaValidationError) Field() string
- func (e ClusterMetaValidationError) Key() bool
- func (e ClusterMetaValidationError) Reason() string
- type ClusterRequest
- func (x *ClusterRequest) ConvertRequest() (*SecretRequest, error)
- func (*ClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterRequest) GetAccount() *ClusterAccount
- func (x *ClusterRequest) GetMeta() *ClusterMeta
- func (*ClusterRequest) ProtoMessage()
- func (x *ClusterRequest) ProtoReflect() protoreflect.Message
- func (x *ClusterRequest) Reset()
- func (x *ClusterRequest) String() string
- func (m *ClusterRequest) Validate() error
- func (m *ClusterRequest) ValidateAll() error
- type ClusterRequestMultiError
- type ClusterRequestValidationError
- func (e ClusterRequestValidationError) Cause() error
- func (e ClusterRequestValidationError) Error() string
- func (e ClusterRequestValidationError) ErrorName() string
- func (e ClusterRequestValidationError) Field() string
- func (e ClusterRequestValidationError) Key() bool
- func (e ClusterRequestValidationError) Reason() string
- type CreateAuthReply
- func (*CreateAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthReply) GetMsg() string
- func (*CreateAuthReply) ProtoMessage()
- func (x *CreateAuthReply) ProtoReflect() protoreflect.Message
- func (x *CreateAuthReply) Reset()
- func (x *CreateAuthReply) String() string
- func (m *CreateAuthReply) Validate() error
- func (m *CreateAuthReply) ValidateAll() error
- type CreateAuthReplyMultiError
- type CreateAuthReplyValidationError
- func (e CreateAuthReplyValidationError) Cause() error
- func (e CreateAuthReplyValidationError) Error() string
- func (e CreateAuthReplyValidationError) ErrorName() string
- func (e CreateAuthReplyValidationError) Field() string
- func (e CreateAuthReplyValidationError) Key() bool
- func (e CreateAuthReplyValidationError) Reason() string
- type CreateAuthroleReply
- func (*CreateAuthroleReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAuthroleReply) GetMsg() string
- func (*CreateAuthroleReply) ProtoMessage()
- func (x *CreateAuthroleReply) ProtoReflect() protoreflect.Message
- func (x *CreateAuthroleReply) Reset()
- func (x *CreateAuthroleReply) String() string
- func (m *CreateAuthroleReply) Validate() error
- func (m *CreateAuthroleReply) ValidateAll() error
- type CreateAuthroleReplyMultiError
- type CreateAuthroleReplyValidationError
- func (e CreateAuthroleReplyValidationError) Cause() error
- func (e CreateAuthroleReplyValidationError) Error() string
- func (e CreateAuthroleReplyValidationError) ErrorName() string
- func (e CreateAuthroleReplyValidationError) Field() string
- func (e CreateAuthroleReplyValidationError) Key() bool
- func (e CreateAuthroleReplyValidationError) Reason() string
- type CreateClusterReply
- func (*CreateClusterReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterReply) GetSecret() *SecretInfo
- func (*CreateClusterReply) ProtoMessage()
- func (x *CreateClusterReply) ProtoReflect() protoreflect.Message
- func (x *CreateClusterReply) Reset()
- func (x *CreateClusterReply) String() string
- func (m *CreateClusterReply) Validate() error
- func (m *CreateClusterReply) ValidateAll() error
- type CreateClusterReplyMultiError
- type CreateClusterReplyValidationError
- func (e CreateClusterReplyValidationError) Cause() error
- func (e CreateClusterReplyValidationError) Error() string
- func (e CreateClusterReplyValidationError) ErrorName() string
- func (e CreateClusterReplyValidationError) Field() string
- func (e CreateClusterReplyValidationError) Key() bool
- func (e CreateClusterReplyValidationError) Reason() string
- type CreateGitReply
- func (*CreateGitReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGitReply) GetSecret() *SecretInfo
- func (*CreateGitReply) ProtoMessage()
- func (x *CreateGitReply) ProtoReflect() protoreflect.Message
- func (x *CreateGitReply) Reset()
- func (x *CreateGitReply) String() string
- func (m *CreateGitReply) Validate() error
- func (m *CreateGitReply) ValidateAll() error
- type CreateGitReplyMultiError
- type CreateGitReplyValidationError
- func (e CreateGitReplyValidationError) Cause() error
- func (e CreateGitReplyValidationError) Error() string
- func (e CreateGitReplyValidationError) ErrorName() string
- func (e CreateGitReplyValidationError) Field() string
- func (e CreateGitReplyValidationError) Key() bool
- func (e CreateGitReplyValidationError) Reason() string
- type CreatePkiReply
- func (*CreatePkiReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePkiReply) GetSecret() *SecretInfo
- func (*CreatePkiReply) ProtoMessage()
- func (x *CreatePkiReply) ProtoReflect() protoreflect.Message
- func (x *CreatePkiReply) Reset()
- func (x *CreatePkiReply) String() string
- func (m *CreatePkiReply) Validate() error
- func (m *CreatePkiReply) ValidateAll() error
- type CreatePkiReplyMultiError
- type CreatePkiReplyValidationError
- func (e CreatePkiReplyValidationError) Cause() error
- func (e CreatePkiReplyValidationError) Error() string
- func (e CreatePkiReplyValidationError) ErrorName() string
- func (e CreatePkiReplyValidationError) Field() string
- func (e CreatePkiReplyValidationError) Key() bool
- func (e CreatePkiReplyValidationError) Reason() string
- type CreateRepoReply
- func (*CreateRepoReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRepoReply) GetSecret() *SecretInfo
- func (*CreateRepoReply) ProtoMessage()
- func (x *CreateRepoReply) ProtoReflect() protoreflect.Message
- func (x *CreateRepoReply) Reset()
- func (x *CreateRepoReply) String() string
- func (m *CreateRepoReply) Validate() error
- func (m *CreateRepoReply) ValidateAll() error
- type CreateRepoReplyMultiError
- type CreateRepoReplyValidationError
- func (e CreateRepoReplyValidationError) Cause() error
- func (e CreateRepoReplyValidationError) Error() string
- func (e CreateRepoReplyValidationError) ErrorName() string
- func (e CreateRepoReplyValidationError) Field() string
- func (e CreateRepoReplyValidationError) Key() bool
- func (e CreateRepoReplyValidationError) Reason() string
- type CreateTenantGitReply
- func (*CreateTenantGitReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantGitReply) GetSecret() *SecretInfo
- func (*CreateTenantGitReply) ProtoMessage()
- func (x *CreateTenantGitReply) ProtoReflect() protoreflect.Message
- func (x *CreateTenantGitReply) Reset()
- func (x *CreateTenantGitReply) String() string
- func (m *CreateTenantGitReply) Validate() error
- func (m *CreateTenantGitReply) ValidateAll() error
- type CreateTenantGitReplyMultiError
- type CreateTenantGitReplyValidationError
- func (e CreateTenantGitReplyValidationError) Cause() error
- func (e CreateTenantGitReplyValidationError) Error() string
- func (e CreateTenantGitReplyValidationError) ErrorName() string
- func (e CreateTenantGitReplyValidationError) Field() string
- func (e CreateTenantGitReplyValidationError) Key() bool
- func (e CreateTenantGitReplyValidationError) Reason() string
- type CreateTenantRepoReply
- func (*CreateTenantRepoReply) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTenantRepoReply) GetSecret() *SecretInfo
- func (*CreateTenantRepoReply) ProtoMessage()
- func (x *CreateTenantRepoReply) ProtoReflect() protoreflect.Message
- func (x *CreateTenantRepoReply) Reset()
- func (x *CreateTenantRepoReply) String() string
- func (m *CreateTenantRepoReply) Validate() error
- func (m *CreateTenantRepoReply) ValidateAll() error
- type CreateTenantRepoReplyMultiError
- type CreateTenantRepoReplyValidationError
- func (e CreateTenantRepoReplyValidationError) Cause() error
- func (e CreateTenantRepoReplyValidationError) Error() string
- func (e CreateTenantRepoReplyValidationError) ErrorName() string
- func (e CreateTenantRepoReplyValidationError) Field() string
- func (e CreateTenantRepoReplyValidationError) Key() bool
- func (e CreateTenantRepoReplyValidationError) Reason() string
- type DeleteAuthReply
- func (*DeleteAuthReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAuthReply) GetMsg() string
- func (*DeleteAuthReply) ProtoMessage()
- func (x *DeleteAuthReply) ProtoReflect() protoreflect.Message
- func (x *DeleteAuthReply) Reset()
- func (x *DeleteAuthReply) String() string
- func (m *DeleteAuthReply) Validate() error
- func (m *DeleteAuthReply) ValidateAll() error
- type DeleteAuthReplyMultiError
- type DeleteAuthReplyValidationError
- func (e DeleteAuthReplyValidationError) Cause() error
- func (e DeleteAuthReplyValidationError) Error() string
- func (e DeleteAuthReplyValidationError) ErrorName() string
- func (e DeleteAuthReplyValidationError) Field() string
- func (e DeleteAuthReplyValidationError) Key() bool
- func (e DeleteAuthReplyValidationError) Reason() string
- type DeleteAuthroleReply
- func (*DeleteAuthroleReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteAuthroleReply) GetMsg() string
- func (*DeleteAuthroleReply) ProtoMessage()
- func (x *DeleteAuthroleReply) ProtoReflect() protoreflect.Message
- func (x *DeleteAuthroleReply) Reset()
- func (x *DeleteAuthroleReply) String() string
- func (m *DeleteAuthroleReply) Validate() error
- func (m *DeleteAuthroleReply) ValidateAll() error
- type DeleteAuthroleReplyMultiError
- type DeleteAuthroleReplyValidationError
- func (e DeleteAuthroleReplyValidationError) Cause() error
- func (e DeleteAuthroleReplyValidationError) Error() string
- func (e DeleteAuthroleReplyValidationError) ErrorName() string
- func (e DeleteAuthroleReplyValidationError) Field() string
- func (e DeleteAuthroleReplyValidationError) Key() bool
- func (e DeleteAuthroleReplyValidationError) Reason() string
- type DeleteClusterReply
- func (*DeleteClusterReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterReply) GetMsg() string
- func (*DeleteClusterReply) ProtoMessage()
- func (x *DeleteClusterReply) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterReply) Reset()
- func (x *DeleteClusterReply) String() string
- func (m *DeleteClusterReply) Validate() error
- func (m *DeleteClusterReply) ValidateAll() error
- type DeleteClusterReplyMultiError
- type DeleteClusterReplyValidationError
- func (e DeleteClusterReplyValidationError) Cause() error
- func (e DeleteClusterReplyValidationError) Error() string
- func (e DeleteClusterReplyValidationError) ErrorName() string
- func (e DeleteClusterReplyValidationError) Field() string
- func (e DeleteClusterReplyValidationError) Key() bool
- func (e DeleteClusterReplyValidationError) Reason() string
- type DeleteGitReply
- func (*DeleteGitReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGitReply) GetMsg() string
- func (*DeleteGitReply) ProtoMessage()
- func (x *DeleteGitReply) ProtoReflect() protoreflect.Message
- func (x *DeleteGitReply) Reset()
- func (x *DeleteGitReply) String() string
- func (m *DeleteGitReply) Validate() error
- func (m *DeleteGitReply) ValidateAll() error
- type DeleteGitReplyMultiError
- type DeleteGitReplyValidationError
- func (e DeleteGitReplyValidationError) Cause() error
- func (e DeleteGitReplyValidationError) Error() string
- func (e DeleteGitReplyValidationError) ErrorName() string
- func (e DeleteGitReplyValidationError) Field() string
- func (e DeleteGitReplyValidationError) Key() bool
- func (e DeleteGitReplyValidationError) Reason() string
- type DeletePkiReply
- func (*DeletePkiReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePkiReply) GetMsg() string
- func (*DeletePkiReply) ProtoMessage()
- func (x *DeletePkiReply) ProtoReflect() protoreflect.Message
- func (x *DeletePkiReply) Reset()
- func (x *DeletePkiReply) String() string
- func (m *DeletePkiReply) Validate() error
- func (m *DeletePkiReply) ValidateAll() error
- type DeletePkiReplyMultiError
- type DeletePkiReplyValidationError
- func (e DeletePkiReplyValidationError) Cause() error
- func (e DeletePkiReplyValidationError) Error() string
- func (e DeletePkiReplyValidationError) ErrorName() string
- func (e DeletePkiReplyValidationError) Field() string
- func (e DeletePkiReplyValidationError) Key() bool
- func (e DeletePkiReplyValidationError) Reason() string
- type DeleteRepoReply
- func (*DeleteRepoReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteRepoReply) GetMsg() string
- func (*DeleteRepoReply) ProtoMessage()
- func (x *DeleteRepoReply) ProtoReflect() protoreflect.Message
- func (x *DeleteRepoReply) Reset()
- func (x *DeleteRepoReply) String() string
- func (m *DeleteRepoReply) Validate() error
- func (m *DeleteRepoReply) ValidateAll() error
- type DeleteRepoReplyMultiError
- type DeleteRepoReplyValidationError
- func (e DeleteRepoReplyValidationError) Cause() error
- func (e DeleteRepoReplyValidationError) Error() string
- func (e DeleteRepoReplyValidationError) ErrorName() string
- func (e DeleteRepoReplyValidationError) Field() string
- func (e DeleteRepoReplyValidationError) Key() bool
- func (e DeleteRepoReplyValidationError) Reason() string
- type DeleteTenantGitReply
- func (*DeleteTenantGitReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTenantGitReply) GetMsg() string
- func (*DeleteTenantGitReply) ProtoMessage()
- func (x *DeleteTenantGitReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantGitReply) Reset()
- func (x *DeleteTenantGitReply) String() string
- func (m *DeleteTenantGitReply) Validate() error
- func (m *DeleteTenantGitReply) ValidateAll() error
- type DeleteTenantGitReplyMultiError
- type DeleteTenantGitReplyValidationError
- func (e DeleteTenantGitReplyValidationError) Cause() error
- func (e DeleteTenantGitReplyValidationError) Error() string
- func (e DeleteTenantGitReplyValidationError) ErrorName() string
- func (e DeleteTenantGitReplyValidationError) Field() string
- func (e DeleteTenantGitReplyValidationError) Key() bool
- func (e DeleteTenantGitReplyValidationError) Reason() string
- type DeleteTenantRepoReply
- func (*DeleteTenantRepoReply) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteTenantRepoReply) GetMsg() string
- func (*DeleteTenantRepoReply) ProtoMessage()
- func (x *DeleteTenantRepoReply) ProtoReflect() protoreflect.Message
- func (x *DeleteTenantRepoReply) Reset()
- func (x *DeleteTenantRepoReply) String() string
- func (m *DeleteTenantRepoReply) Validate() error
- func (m *DeleteTenantRepoReply) ValidateAll() error
- type DeleteTenantRepoReplyMultiError
- type DeleteTenantRepoReplyValidationError
- func (e DeleteTenantRepoReplyValidationError) Cause() error
- func (e DeleteTenantRepoReplyValidationError) Error() string
- func (e DeleteTenantRepoReplyValidationError) ErrorName() string
- func (e DeleteTenantRepoReplyValidationError) Field() string
- func (e DeleteTenantRepoReplyValidationError) Key() bool
- func (e DeleteTenantRepoReplyValidationError) Reason() string
- type ErrorReason
- func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
- func (x ErrorReason) Enum() *ErrorReason
- func (ErrorReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x ErrorReason) Number() protoreflect.EnumNumber
- func (x ErrorReason) String() string
- func (ErrorReason) Type() protoreflect.EnumType
- type GitKVs
- func (*GitKVs) Descriptor() ([]byte, []int)deprecated
- func (x *GitKVs) GetAccessToken() string
- func (x *GitKVs) GetAdditionals() map[string]string
- func (x *GitKVs) GetDeployKey() string
- func (*GitKVs) ProtoMessage()
- func (x *GitKVs) ProtoReflect() protoreflect.Message
- func (x *GitKVs) Reset()
- func (x *GitKVs) String() string
- func (m *GitKVs) Validate() error
- func (m *GitKVs) ValidateAll() error
- type GitKVsMultiError
- type GitKVsValidationError
- type GitMeta
- func (*GitMeta) Descriptor() ([]byte, []int)deprecated
- func (x *GitMeta) GetId() string
- func (x *GitMeta) GetNames() (*SecretMeta, error)
- func (x *GitMeta) GetPermission() string
- func (x *GitMeta) GetProviderType() string
- func (x *GitMeta) GetUsername() string
- func (*GitMeta) ProtoMessage()
- func (x *GitMeta) ProtoReflect() protoreflect.Message
- func (x *GitMeta) Reset()
- func (x *GitMeta) String() string
- func (m *GitMeta) Validate() error
- func (m *GitMeta) ValidateAll() error
- type GitMetaMultiError
- type GitMetaValidationError
- type GitRequest
- func (x *GitRequest) ConvertRequest() (*SecretRequest, error)
- func (*GitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GitRequest) GetKvs() *GitKVs
- func (x *GitRequest) GetMeta() *GitMeta
- func (*GitRequest) ProtoMessage()
- func (x *GitRequest) ProtoReflect() protoreflect.Message
- func (x *GitRequest) Reset()
- func (x *GitRequest) String() string
- func (m *GitRequest) Validate() error
- func (m *GitRequest) ValidateAll() error
- type GitRequestMultiError
- type GitRequestValidationError
- type GrantAuthrolePolicyReply
- func (*GrantAuthrolePolicyReply) Descriptor() ([]byte, []int)deprecated
- func (x *GrantAuthrolePolicyReply) GetMsg() string
- func (*GrantAuthrolePolicyReply) ProtoMessage()
- func (x *GrantAuthrolePolicyReply) ProtoReflect() protoreflect.Message
- func (x *GrantAuthrolePolicyReply) Reset()
- func (x *GrantAuthrolePolicyReply) String() string
- func (m *GrantAuthrolePolicyReply) Validate() error
- func (m *GrantAuthrolePolicyReply) ValidateAll() error
- type GrantAuthrolePolicyReplyMultiError
- type GrantAuthrolePolicyReplyValidationError
- func (e GrantAuthrolePolicyReplyValidationError) Cause() error
- func (e GrantAuthrolePolicyReplyValidationError) Error() string
- func (e GrantAuthrolePolicyReplyValidationError) ErrorName() string
- func (e GrantAuthrolePolicyReplyValidationError) Field() string
- func (e GrantAuthrolePolicyReplyValidationError) Key() bool
- func (e GrantAuthrolePolicyReplyValidationError) Reason() string
- type GrantTarget
- type HealthHTTPClient
- type HealthHTTPClientImpl
- type HealthHTTPServer
- type HealthReply
- type HealthRequest
- type Kubernetes
- func (*Kubernetes) Descriptor() ([]byte, []int)deprecated
- func (x *Kubernetes) GetCabundle() string
- func (x *Kubernetes) GetToken() string
- func (x *Kubernetes) GetUrl() string
- func (*Kubernetes) ProtoMessage()
- func (x *Kubernetes) ProtoReflect() protoreflect.Message
- func (x *Kubernetes) Reset()
- func (x *Kubernetes) String() string
- func (m *Kubernetes) Validate() error
- func (m *Kubernetes) ValidateAll() error
- type KubernetesAuthRoleMeta
- func (*KubernetesAuthRoleMeta) Descriptor() ([]byte, []int)deprecated
- func (x *KubernetesAuthRoleMeta) GetNamespaces() []string
- func (x *KubernetesAuthRoleMeta) GetServiceAccounts() []string
- func (*KubernetesAuthRoleMeta) ProtoMessage()
- func (x *KubernetesAuthRoleMeta) ProtoReflect() protoreflect.Message
- func (x *KubernetesAuthRoleMeta) Reset()
- func (x *KubernetesAuthRoleMeta) String() string
- func (m *KubernetesAuthRoleMeta) Validate() error
- func (m *KubernetesAuthRoleMeta) ValidateAll() error
- type KubernetesAuthRoleMetaMultiError
- type KubernetesAuthRoleMetaValidationError
- func (e KubernetesAuthRoleMetaValidationError) Cause() error
- func (e KubernetesAuthRoleMetaValidationError) Error() string
- func (e KubernetesAuthRoleMetaValidationError) ErrorName() string
- func (e KubernetesAuthRoleMetaValidationError) Field() string
- func (e KubernetesAuthRoleMetaValidationError) Key() bool
- func (e KubernetesAuthRoleMetaValidationError) Reason() string
- type KubernetesMultiError
- type KubernetesValidationError
- type PkiRequest
- func (*PkiRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PkiRequest) GetCacert() string
- func (x *PkiRequest) GetCert() string
- func (x *PkiRequest) GetDomain() string
- func (x *PkiRequest) GetKey() string
- func (*PkiRequest) ProtoMessage()
- func (x *PkiRequest) ProtoReflect() protoreflect.Message
- func (x *PkiRequest) Reset()
- func (x *PkiRequest) String() string
- func (m *PkiRequest) Validate() error
- func (m *PkiRequest) ValidateAll() error
- type PkiRequestMultiError
- type PkiRequestValidationError
- type RepoAccount
- func (*RepoAccount) Descriptor() ([]byte, []int)deprecated
- func (x *RepoAccount) GetAccount() *Account
- func (x *RepoAccount) GetAdditionals() map[string]string
- func (x *RepoAccount) GetAuthType() string
- func (x *RepoAccount) GetToken() *Token
- func (*RepoAccount) ProtoMessage()
- func (x *RepoAccount) ProtoReflect() protoreflect.Message
- func (x *RepoAccount) Reset()
- func (x *RepoAccount) String() string
- func (m *RepoAccount) Validate() error
- func (m *RepoAccount) ValidateAll() error
- type RepoAccountMultiError
- type RepoAccountValidationError
- func (e RepoAccountValidationError) Cause() error
- func (e RepoAccountValidationError) Error() string
- func (e RepoAccountValidationError) ErrorName() string
- func (e RepoAccountValidationError) Field() string
- func (e RepoAccountValidationError) Key() bool
- func (e RepoAccountValidationError) Reason() string
- type RepoMeta
- func (*RepoMeta) Descriptor() ([]byte, []int)deprecated
- func (x *RepoMeta) GetNames() (*SecretMeta, error)
- func (x *RepoMeta) GetProduct() string
- func (x *RepoMeta) GetProject() string
- func (x *RepoMeta) GetProviderId() string
- func (*RepoMeta) ProtoMessage()
- func (x *RepoMeta) ProtoReflect() protoreflect.Message
- func (x *RepoMeta) Reset()
- func (x *RepoMeta) String() string
- func (m *RepoMeta) Validate() error
- func (m *RepoMeta) ValidateAll() error
- type RepoMetaMultiError
- type RepoMetaValidationError
- type RepoRequest
- func (x *RepoRequest) ConvertRequest() (*SecretRequest, error)
- func (*RepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RepoRequest) GetAccount() *RepoAccount
- func (x *RepoRequest) GetMeta() *RepoMeta
- func (*RepoRequest) ProtoMessage()
- func (x *RepoRequest) ProtoReflect() protoreflect.Message
- func (x *RepoRequest) Reset()
- func (x *RepoRequest) String() string
- func (m *RepoRequest) Validate() error
- func (m *RepoRequest) ValidateAll() error
- type RepoRequestMultiError
- type RepoRequestValidationError
- func (e RepoRequestValidationError) Cause() error
- func (e RepoRequestValidationError) Error() string
- func (e RepoRequestValidationError) ErrorName() string
- func (e RepoRequestValidationError) Field() string
- func (e RepoRequestValidationError) Key() bool
- func (e RepoRequestValidationError) Reason() string
- type RevokeAuthrolePolicyReply
- func (*RevokeAuthrolePolicyReply) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeAuthrolePolicyReply) GetMsg() string
- func (*RevokeAuthrolePolicyReply) ProtoMessage()
- func (x *RevokeAuthrolePolicyReply) ProtoReflect() protoreflect.Message
- func (x *RevokeAuthrolePolicyReply) Reset()
- func (x *RevokeAuthrolePolicyReply) String() string
- func (m *RevokeAuthrolePolicyReply) Validate() error
- func (m *RevokeAuthrolePolicyReply) ValidateAll() error
- type RevokeAuthrolePolicyReplyMultiError
- type RevokeAuthrolePolicyReplyValidationError
- func (e RevokeAuthrolePolicyReplyValidationError) Cause() error
- func (e RevokeAuthrolePolicyReplyValidationError) Error() string
- func (e RevokeAuthrolePolicyReplyValidationError) ErrorName() string
- func (e RevokeAuthrolePolicyReplyValidationError) Field() string
- func (e RevokeAuthrolePolicyReplyValidationError) Key() bool
- func (e RevokeAuthrolePolicyReplyValidationError) Reason() string
- type SecRequest
- type SecretHTTPClient
- type SecretHTTPClientImpl
- func (c *SecretHTTPClientImpl) CreateCluster(ctx context.Context, in *ClusterRequest, opts ...http.CallOption) (*CreateClusterReply, error)
- func (c *SecretHTTPClientImpl) CreateGit(ctx context.Context, in *GitRequest, opts ...http.CallOption) (*CreateGitReply, error)
- func (c *SecretHTTPClientImpl) CreatePki(ctx context.Context, in *PkiRequest, opts ...http.CallOption) (*CreatePkiReply, error)
- func (c *SecretHTTPClientImpl) CreateRepoAccount(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*CreateRepoReply, error)
- func (c *SecretHTTPClientImpl) CreateTenantRepo(ctx context.Context, in *TenantRepoRequest, opts ...http.CallOption) (*CreateTenantRepoReply, error)
- func (c *SecretHTTPClientImpl) CreteTenantGit(ctx context.Context, in *TenantGitRequest, opts ...http.CallOption) (*CreateTenantGitReply, error)
- func (c *SecretHTTPClientImpl) DeleteCluster(ctx context.Context, in *ClusterRequest, opts ...http.CallOption) (*DeleteClusterReply, error)
- func (c *SecretHTTPClientImpl) DeleteGit(ctx context.Context, in *GitRequest, opts ...http.CallOption) (*DeleteGitReply, error)
- func (c *SecretHTTPClientImpl) DeletePki(ctx context.Context, in *PkiRequest, opts ...http.CallOption) (*DeletePkiReply, error)
- func (c *SecretHTTPClientImpl) DeleteRepoAccountProduct(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)
- func (c *SecretHTTPClientImpl) DeleteRepoAccountProject(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)
- func (c *SecretHTTPClientImpl) DeleteTenantGit(ctx context.Context, in *TenantGitRequest, opts ...http.CallOption) (*DeleteTenantGitReply, error)
- func (c *SecretHTTPClientImpl) DeleteTenantRepo(ctx context.Context, in *TenantRepoRequest, opts ...http.CallOption) (*DeleteTenantRepoReply, error)
- type SecretHTTPServer
- type SecretInfo
- func (*SecretInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SecretInfo) GetName() string
- func (x *SecretInfo) GetPath() string
- func (x *SecretInfo) GetVersion() int32
- func (*SecretInfo) ProtoMessage()
- func (x *SecretInfo) ProtoReflect() protoreflect.Message
- func (x *SecretInfo) Reset()
- func (x *SecretInfo) String() string
- func (m *SecretInfo) Validate() error
- func (m *SecretInfo) ValidateAll() error
- type SecretInfoMultiError
- type SecretInfoValidationError
- type SecretMeta
- type SecretRequest
- type SecretType
- type TenantGitMeta
- func (*TenantGitMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TenantGitMeta) GetId() string
- func (x *TenantGitMeta) GetNames() (*SecretMeta, error)
- func (x *TenantGitMeta) GetPermission() string
- func (*TenantGitMeta) ProtoMessage()
- func (x *TenantGitMeta) ProtoReflect() protoreflect.Message
- func (x *TenantGitMeta) Reset()
- func (x *TenantGitMeta) String() string
- func (m *TenantGitMeta) Validate() error
- func (m *TenantGitMeta) ValidateAll() error
- type TenantGitMetaMultiError
- type TenantGitMetaValidationError
- func (e TenantGitMetaValidationError) Cause() error
- func (e TenantGitMetaValidationError) Error() string
- func (e TenantGitMetaValidationError) ErrorName() string
- func (e TenantGitMetaValidationError) Field() string
- func (e TenantGitMetaValidationError) Key() bool
- func (e TenantGitMetaValidationError) Reason() string
- type TenantGitRequest
- func (x *TenantGitRequest) ConvertRequest() (*SecretRequest, error)
- func (*TenantGitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantGitRequest) GetKvs() *GitKVs
- func (x *TenantGitRequest) GetMeta() *TenantGitMeta
- func (*TenantGitRequest) ProtoMessage()
- func (x *TenantGitRequest) ProtoReflect() protoreflect.Message
- func (x *TenantGitRequest) Reset()
- func (x *TenantGitRequest) String() string
- func (m *TenantGitRequest) Validate() error
- func (m *TenantGitRequest) ValidateAll() error
- type TenantGitRequestMultiError
- type TenantGitRequestValidationError
- func (e TenantGitRequestValidationError) Cause() error
- func (e TenantGitRequestValidationError) Error() string
- func (e TenantGitRequestValidationError) ErrorName() string
- func (e TenantGitRequestValidationError) Field() string
- func (e TenantGitRequestValidationError) Key() bool
- func (e TenantGitRequestValidationError) Reason() string
- type TenantRepoMeta
- func (*TenantRepoMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TenantRepoMeta) GetId() string
- func (x *TenantRepoMeta) GetNames() (*SecretMeta, error)
- func (x *TenantRepoMeta) GetPermission() string
- func (*TenantRepoMeta) ProtoMessage()
- func (x *TenantRepoMeta) ProtoReflect() protoreflect.Message
- func (x *TenantRepoMeta) Reset()
- func (x *TenantRepoMeta) String() string
- func (m *TenantRepoMeta) Validate() error
- func (m *TenantRepoMeta) ValidateAll() error
- type TenantRepoMetaMultiError
- type TenantRepoMetaValidationError
- func (e TenantRepoMetaValidationError) Cause() error
- func (e TenantRepoMetaValidationError) Error() string
- func (e TenantRepoMetaValidationError) ErrorName() string
- func (e TenantRepoMetaValidationError) Field() string
- func (e TenantRepoMetaValidationError) Key() bool
- func (e TenantRepoMetaValidationError) Reason() string
- type TenantRepoRequest
- func (x *TenantRepoRequest) ConvertRequest() (*SecretRequest, error)
- func (*TenantRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantRepoRequest) GetAccount() *RepoAccount
- func (x *TenantRepoRequest) GetMeta() *TenantRepoMeta
- func (*TenantRepoRequest) ProtoMessage()
- func (x *TenantRepoRequest) ProtoReflect() protoreflect.Message
- func (x *TenantRepoRequest) Reset()
- func (x *TenantRepoRequest) String() string
- func (m *TenantRepoRequest) Validate() error
- func (m *TenantRepoRequest) ValidateAll() error
- type TenantRepoRequestMultiError
- type TenantRepoRequestValidationError
- func (e TenantRepoRequestValidationError) Cause() error
- func (e TenantRepoRequestValidationError) Error() string
- func (e TenantRepoRequestValidationError) ErrorName() string
- func (e TenantRepoRequestValidationError) Field() string
- func (e TenantRepoRequestValidationError) Key() bool
- func (e TenantRepoRequestValidationError) Reason() string
- type Token
- type TokenMultiError
- type TokenValidationError
- type VaultTemplate
Constants ¶
const ( GitSecretName = "git" RepoSecretName = "repo" ClusterSecretName = "cluster" TenantSecretName = "tenant" )
const ( AuthTypeKey = "authType" AuthTypeToken = "token" AuthTypePassword = "password" )
const OperationAuthCreateAuth = "/api.vaultproxy.v1.Auth/CreateAuth"
const OperationAuthCreateAuthrole = "/api.vaultproxy.v1.Auth/CreateAuthrole"
const OperationAuthDeleteAuth = "/api.vaultproxy.v1.Auth/DeleteAuth"
const OperationAuthDeleteAuthrole = "/api.vaultproxy.v1.Auth/DeleteAuthrole"
const OperationAuthGrantGrantAuthroleClusterPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleClusterPolicy"
const OperationAuthGrantGrantAuthroleGitPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleGitPolicy"
const OperationAuthGrantGrantAuthroleRepoPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleRepoPolicy"
const OperationAuthGrantGrantAuthroleTenantGitPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleTenantGitPolicy"
const OperationAuthGrantGrantAuthroleTenantRepoPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleTenantRepoPolicy"
const OperationAuthGrantRevokeAuthroleClusterPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleClusterPolicy"
const OperationAuthGrantRevokeAuthroleGitPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleGitPolicy"
const OperationAuthGrantRevokeAuthroleRepoPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleRepoPolicy"
const OperationAuthGrantRevokeAuthroleTenantGitPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleTenantGitPolicy"
const OperationAuthGrantRevokeAuthroleTenantRepoPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleTenantRepoPolicy"
const OperationHealthHealth = "/api.vaultproxy.v1.Health/Health"
const OperationSecretCreateCluster = "/api.vaultproxy.v1.Secret/CreateCluster"
const OperationSecretCreateGit = "/api.vaultproxy.v1.Secret/CreateGit"
const OperationSecretCreatePki = "/api.vaultproxy.v1.Secret/CreatePki"
const OperationSecretCreateRepoAccount = "/api.vaultproxy.v1.Secret/CreateRepoAccount"
const OperationSecretCreateTenantRepo = "/api.vaultproxy.v1.Secret/CreateTenantRepo"
const OperationSecretCreteTenantGit = "/api.vaultproxy.v1.Secret/CreteTenantGit"
const OperationSecretDeleteCluster = "/api.vaultproxy.v1.Secret/DeleteCluster"
const OperationSecretDeleteGit = "/api.vaultproxy.v1.Secret/DeleteGit"
const OperationSecretDeletePki = "/api.vaultproxy.v1.Secret/DeletePki"
const OperationSecretDeleteRepoAccountProduct = "/api.vaultproxy.v1.Secret/DeleteRepoAccountProduct"
const OperationSecretDeleteRepoAccountProject = "/api.vaultproxy.v1.Secret/DeleteRepoAccountProject"
const OperationSecretDeleteTenantGit = "/api.vaultproxy.v1.Secret/DeleteTenantGit"
const OperationSecretDeleteTenantRepo = "/api.vaultproxy.v1.Secret/DeleteTenantRepo"
Variables ¶
var ( SecretPolicy = ` path "%s" { capabilities = ["read"] }` GitPolicy = ` path "git/data/%[1]s" { capabilities = ["read"] } path "git/metadata/%[1]s" { capabilities = ["read"] }` ClusterPolicy = ` path "cluster/data/%s" { capabilities = ["read"] } path "auth/%s/role/*" { capabilities = ["read"] }` )
var ( GitPathTemplate = VaultTemplate{ // contains filtered or unexported fields } GitPolicyPathTemplate = VaultTemplate{ // contains filtered or unexported fields } RepoPathTemplate = VaultTemplate{ // contains filtered or unexported fields } RepoPolicyPathTemplate = VaultTemplate{ // contains filtered or unexported fields } ClusterPathTemplate = VaultTemplate{ // contains filtered or unexported fields } ClusterPolicyPathTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantGitPathTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantGitPolicyPathTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantRepoPathTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantRepoPolicyPathTemplate = VaultTemplate{ // contains filtered or unexported fields } RolePathTemplate = VaultTemplate{ // contains filtered or unexported fields } )
var ( ErrorReason_name = map[int32]string{ 0: "AUTH_FAILED", 1: "ACTION_NOT_ALLOW", 2: "RESOURCE_NOT_FOUND", 3: "INPUT_ARG_ERROR", 4: "INTERNAL_SERVICE_ERROR", } ErrorReason_value = map[string]int32{ "AUTH_FAILED": 0, "ACTION_NOT_ALLOW": 1, "RESOURCE_NOT_FOUND": 2, "INPUT_ARG_ERROR": 3, "INTERNAL_SERVICE_ERROR": 4, } )
Enum value maps for ErrorReason.
var File_api_vaultproxy_v1_health_proto protoreflect.FileDescriptor
var File_api_vaultproxy_v1_vaultproxy_proto protoreflect.FileDescriptor
Functions ¶
func ConvertAuthGrantRequest ¶
func ConvertAuthGrantRequest(cluster, user string, sec *SecretMeta) (*GrantTarget, *SecretRequest, error)
func ErrorActionNotAllow ¶
func ErrorAuthFailed ¶
func ErrorInputArgError ¶
func ErrorResourceNotFound ¶
func GetPath ¶
func GetPath(vars interface{}, vaultTmpl VaultTemplate) (string, error)
func IsActionNotAllow ¶
func IsAuthFailed ¶
func IsInputArgError ¶
func IsInternalServiceError ¶
func IsResourceNotFound ¶
func RegisterAuthGrantHTTPServer ¶
func RegisterAuthGrantHTTPServer(s *http.Server, srv AuthGrantHTTPServer)
func RegisterAuthHTTPServer ¶
func RegisterAuthHTTPServer(s *http.Server, srv AuthHTTPServer)
func RegisterHealthHTTPServer ¶
func RegisterHealthHTTPServer(s *http.Server, srv HealthHTTPServer)
func RegisterSecretHTTPServer ¶
func RegisterSecretHTTPServer(s *http.Server, srv SecretHTTPServer)
Types ¶
type Account ¶ added in v0.4.0
type Account struct { Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // contains filtered or unexported fields }
func (*Account) Descriptor
deprecated
added in
v0.4.0
func (*Account) GetPassword ¶ added in v0.4.0
func (*Account) GetUsername ¶ added in v0.4.0
func (*Account) ProtoMessage ¶ added in v0.4.0
func (*Account) ProtoMessage()
func (*Account) ProtoReflect ¶ added in v0.4.0
func (x *Account) ProtoReflect() protoreflect.Message
func (*Account) Validate ¶ added in v0.4.0
Validate checks the field values on Account with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Account) ValidateAll ¶ added in v0.4.0
ValidateAll checks the field values on Account with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccountMultiError, or nil if none found.
type AccountMultiError ¶ added in v0.4.0
type AccountMultiError []error
AccountMultiError is an error wrapping multiple validation errors returned by Account.ValidateAll() if the designated constraints aren't met.
func (AccountMultiError) AllErrors ¶ added in v0.4.0
func (m AccountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccountMultiError) Error ¶ added in v0.4.0
func (m AccountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccountValidationError ¶ added in v0.4.0
type AccountValidationError struct {
// contains filtered or unexported fields
}
AccountValidationError is the validation error returned by Account.Validate if the designated constraints aren't met.
func (AccountValidationError) Cause ¶ added in v0.4.0
func (e AccountValidationError) Cause() error
Cause function returns cause value.
func (AccountValidationError) Error ¶ added in v0.4.0
func (e AccountValidationError) Error() string
Error satisfies the builtin error interface
func (AccountValidationError) ErrorName ¶ added in v0.4.0
func (e AccountValidationError) ErrorName() string
ErrorName returns error name.
func (AccountValidationError) Field ¶ added in v0.4.0
func (e AccountValidationError) Field() string
Field function returns field value.
func (AccountValidationError) Key ¶ added in v0.4.0
func (e AccountValidationError) Key() bool
Key function returns key value.
func (AccountValidationError) Reason ¶ added in v0.4.0
func (e AccountValidationError) Reason() string
Reason function returns reason value.
type AuthGrantHTTPClient ¶
type AuthGrantHTTPClient interface { GrantAuthroleClusterPolicy(ctx context.Context, req *AuthroleClusterPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error) GrantAuthroleGitPolicy(ctx context.Context, req *AuthroleGitPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error) GrantAuthroleRepoPolicy(ctx context.Context, req *AuthroleRepoPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error) GrantAuthroleTenantGitPolicy(ctx context.Context, req *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error) GrantAuthroleTenantRepoPolicy(ctx context.Context, req *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error) RevokeAuthroleClusterPolicy(ctx context.Context, req *AuthroleClusterPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error) RevokeAuthroleGitPolicy(ctx context.Context, req *AuthroleGitPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error) RevokeAuthroleRepoPolicy(ctx context.Context, req *AuthroleRepoPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error) RevokeAuthroleTenantGitPolicy(ctx context.Context, req *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error) RevokeAuthroleTenantRepoPolicy(ctx context.Context, req *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error) }
func NewAuthGrantHTTPClient ¶
func NewAuthGrantHTTPClient(client *http.Client) AuthGrantHTTPClient
type AuthGrantHTTPClientImpl ¶
type AuthGrantHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthGrantHTTPClientImpl) GrantAuthroleClusterPolicy ¶
func (c *AuthGrantHTTPClientImpl) GrantAuthroleClusterPolicy(ctx context.Context, in *AuthroleClusterPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) GrantAuthroleGitPolicy ¶
func (c *AuthGrantHTTPClientImpl) GrantAuthroleGitPolicy(ctx context.Context, in *AuthroleGitPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) GrantAuthroleRepoPolicy ¶
func (c *AuthGrantHTTPClientImpl) GrantAuthroleRepoPolicy(ctx context.Context, in *AuthroleRepoPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) GrantAuthroleTenantGitPolicy ¶
func (c *AuthGrantHTTPClientImpl) GrantAuthroleTenantGitPolicy(ctx context.Context, in *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) GrantAuthroleTenantRepoPolicy ¶
func (c *AuthGrantHTTPClientImpl) GrantAuthroleTenantRepoPolicy(ctx context.Context, in *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (*GrantAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) RevokeAuthroleClusterPolicy ¶
func (c *AuthGrantHTTPClientImpl) RevokeAuthroleClusterPolicy(ctx context.Context, in *AuthroleClusterPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) RevokeAuthroleGitPolicy ¶
func (c *AuthGrantHTTPClientImpl) RevokeAuthroleGitPolicy(ctx context.Context, in *AuthroleGitPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) RevokeAuthroleRepoPolicy ¶
func (c *AuthGrantHTTPClientImpl) RevokeAuthroleRepoPolicy(ctx context.Context, in *AuthroleRepoPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) RevokeAuthroleTenantGitPolicy ¶
func (c *AuthGrantHTTPClientImpl) RevokeAuthroleTenantGitPolicy(ctx context.Context, in *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
func (*AuthGrantHTTPClientImpl) RevokeAuthroleTenantRepoPolicy ¶
func (c *AuthGrantHTTPClientImpl) RevokeAuthroleTenantRepoPolicy(ctx context.Context, in *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (*RevokeAuthrolePolicyReply, error)
type AuthGrantHTTPServer ¶
type AuthGrantHTTPServer interface { GrantAuthroleClusterPolicy(context.Context, *AuthroleClusterPolicyRequest) (*GrantAuthrolePolicyReply, error) GrantAuthroleGitPolicy(context.Context, *AuthroleGitPolicyRequest) (*GrantAuthrolePolicyReply, error) GrantAuthroleRepoPolicy(context.Context, *AuthroleRepoPolicyRequest) (*GrantAuthrolePolicyReply, error) GrantAuthroleTenantGitPolicy(context.Context, *AuthroleTenantGitPolicyRequest) (*GrantAuthrolePolicyReply, error) GrantAuthroleTenantRepoPolicy(context.Context, *AuthroleTenantRepoPolicyRequest) (*GrantAuthrolePolicyReply, error) RevokeAuthroleClusterPolicy(context.Context, *AuthroleClusterPolicyRequest) (*RevokeAuthrolePolicyReply, error) RevokeAuthroleGitPolicy(context.Context, *AuthroleGitPolicyRequest) (*RevokeAuthrolePolicyReply, error) RevokeAuthroleRepoPolicy(context.Context, *AuthroleRepoPolicyRequest) (*RevokeAuthrolePolicyReply, error) RevokeAuthroleTenantGitPolicy(context.Context, *AuthroleTenantGitPolicyRequest) (*RevokeAuthrolePolicyReply, error) RevokeAuthroleTenantRepoPolicy(context.Context, *AuthroleTenantRepoPolicyRequest) (*RevokeAuthrolePolicyReply, error) }
type AuthGrantRequest ¶
type AuthGrantRequest interface {
ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
}
type AuthHTTPClient ¶
type AuthHTTPClient interface { CreateAuth(ctx context.Context, req *AuthRequest, opts ...http.CallOption) (rsp *CreateAuthReply, err error) CreateAuthrole(ctx context.Context, req *AuthroleRequest, opts ...http.CallOption) (rsp *CreateAuthroleReply, err error) DeleteAuth(ctx context.Context, req *AuthRequest, opts ...http.CallOption) (rsp *DeleteAuthReply, err error) DeleteAuthrole(ctx context.Context, req *AuthroleRequest, opts ...http.CallOption) (rsp *DeleteAuthroleReply, err error) }
func NewAuthHTTPClient ¶
func NewAuthHTTPClient(client *http.Client) AuthHTTPClient
type AuthHTTPClientImpl ¶
type AuthHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AuthHTTPClientImpl) CreateAuth ¶
func (c *AuthHTTPClientImpl) CreateAuth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*CreateAuthReply, error)
func (*AuthHTTPClientImpl) CreateAuthrole ¶
func (c *AuthHTTPClientImpl) CreateAuthrole(ctx context.Context, in *AuthroleRequest, opts ...http.CallOption) (*CreateAuthroleReply, error)
func (*AuthHTTPClientImpl) DeleteAuth ¶
func (c *AuthHTTPClientImpl) DeleteAuth(ctx context.Context, in *AuthRequest, opts ...http.CallOption) (*DeleteAuthReply, error)
func (*AuthHTTPClientImpl) DeleteAuthrole ¶
func (c *AuthHTTPClientImpl) DeleteAuthrole(ctx context.Context, in *AuthroleRequest, opts ...http.CallOption) (*DeleteAuthroleReply, error)
type AuthHTTPServer ¶
type AuthHTTPServer interface { CreateAuth(context.Context, *AuthRequest) (*CreateAuthReply, error) CreateAuthrole(context.Context, *AuthroleRequest) (*CreateAuthroleReply, error) DeleteAuth(context.Context, *AuthRequest) (*DeleteAuthReply, error) DeleteAuthrole(context.Context, *AuthroleRequest) (*DeleteAuthroleReply, error) }
type AuthRequest ¶
type AuthRequest struct { // Vault auth path ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` // Vault auth type AuthType string `protobuf:"bytes,2,opt,name=auth_type,proto3" json:"auth_type,omitempty"` // Vault auth setting when type is k8s Kubernetes *Kubernetes `protobuf:"bytes,3,opt,name=kubernetes,proto3" json:"kubernetes,omitempty"` // contains filtered or unexported fields }
func (*AuthRequest) ConvertRequest ¶
func (x *AuthRequest) ConvertRequest() (*SecretRequest, error)
func (*AuthRequest) Descriptor
deprecated
func (*AuthRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthRequest.ProtoReflect.Descriptor instead.
func (*AuthRequest) GetAuthType ¶
func (x *AuthRequest) GetAuthType() string
func (*AuthRequest) GetClusterName ¶
func (x *AuthRequest) GetClusterName() string
func (*AuthRequest) GetKubernetes ¶
func (x *AuthRequest) GetKubernetes() *Kubernetes
func (*AuthRequest) ProtoMessage ¶
func (*AuthRequest) ProtoMessage()
func (*AuthRequest) ProtoReflect ¶
func (x *AuthRequest) ProtoReflect() protoreflect.Message
func (*AuthRequest) Reset ¶
func (x *AuthRequest) Reset()
func (*AuthRequest) String ¶
func (x *AuthRequest) String() string
func (*AuthRequest) Validate ¶ added in v0.3.0
func (m *AuthRequest) Validate() error
Validate checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthRequest) ValidateAll() error
ValidateAll checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthRequestMultiError, or nil if none found.
type AuthRequestMultiError ¶ added in v0.3.0
type AuthRequestMultiError []error
AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.
func (AuthRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthRequestMultiError) Error ¶ added in v0.3.0
func (m AuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthRequestValidationError ¶ added in v0.3.0
type AuthRequestValidationError struct {
// contains filtered or unexported fields
}
AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.
func (AuthRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthRequestValidationError) Error ¶ added in v0.3.0
func (e AuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthRequestValidationError) Field ¶ added in v0.3.0
func (e AuthRequestValidationError) Field() string
Field function returns field value.
func (AuthRequestValidationError) Key ¶ added in v0.3.0
func (e AuthRequestValidationError) Key() bool
Key function returns key value.
func (AuthRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleClusterPolicyRequest ¶
type AuthroleClusterPolicyRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` Secret *ClusterMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AuthroleClusterPolicyRequest) ConvertToAuthPolicyReqeuest ¶
func (req *AuthroleClusterPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
func (*AuthroleClusterPolicyRequest) Descriptor
deprecated
func (*AuthroleClusterPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleClusterPolicyRequest.ProtoReflect.Descriptor instead.
func (*AuthroleClusterPolicyRequest) GetClusterName ¶
func (x *AuthroleClusterPolicyRequest) GetClusterName() string
func (*AuthroleClusterPolicyRequest) GetDestUser ¶
func (x *AuthroleClusterPolicyRequest) GetDestUser() string
func (*AuthroleClusterPolicyRequest) GetSecret ¶ added in v0.3.0
func (x *AuthroleClusterPolicyRequest) GetSecret() *ClusterMeta
func (*AuthroleClusterPolicyRequest) ProtoMessage ¶
func (*AuthroleClusterPolicyRequest) ProtoMessage()
func (*AuthroleClusterPolicyRequest) ProtoReflect ¶
func (x *AuthroleClusterPolicyRequest) ProtoReflect() protoreflect.Message
func (*AuthroleClusterPolicyRequest) Reset ¶
func (x *AuthroleClusterPolicyRequest) Reset()
func (*AuthroleClusterPolicyRequest) String ¶
func (x *AuthroleClusterPolicyRequest) String() string
func (*AuthroleClusterPolicyRequest) Validate ¶ added in v0.3.0
func (m *AuthroleClusterPolicyRequest) Validate() error
Validate checks the field values on AuthroleClusterPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleClusterPolicyRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleClusterPolicyRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleClusterPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleClusterPolicyRequestMultiError, or nil if none found.
type AuthroleClusterPolicyRequestMultiError ¶ added in v0.3.0
type AuthroleClusterPolicyRequestMultiError []error
AuthroleClusterPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleClusterPolicyRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleClusterPolicyRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleClusterPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleClusterPolicyRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleClusterPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleClusterPolicyRequestValidationError ¶ added in v0.3.0
type AuthroleClusterPolicyRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleClusterPolicyRequestValidationError is the validation error returned by AuthroleClusterPolicyRequest.Validate if the designated constraints aren't met.
func (AuthroleClusterPolicyRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleClusterPolicyRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleClusterPolicyRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleClusterPolicyRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleClusterPolicyRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleClusterPolicyRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleClusterPolicyRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleGitPolicyRequest ¶
type AuthroleGitPolicyRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` Secret *GitMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AuthroleGitPolicyRequest) ConvertToAuthPolicyReqeuest ¶
func (req *AuthroleGitPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
func (*AuthroleGitPolicyRequest) Descriptor
deprecated
func (*AuthroleGitPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleGitPolicyRequest.ProtoReflect.Descriptor instead.
func (*AuthroleGitPolicyRequest) GetClusterName ¶
func (x *AuthroleGitPolicyRequest) GetClusterName() string
func (*AuthroleGitPolicyRequest) GetDestUser ¶
func (x *AuthroleGitPolicyRequest) GetDestUser() string
func (*AuthroleGitPolicyRequest) GetSecret ¶ added in v0.3.0
func (x *AuthroleGitPolicyRequest) GetSecret() *GitMeta
func (*AuthroleGitPolicyRequest) ProtoMessage ¶
func (*AuthroleGitPolicyRequest) ProtoMessage()
func (*AuthroleGitPolicyRequest) ProtoReflect ¶
func (x *AuthroleGitPolicyRequest) ProtoReflect() protoreflect.Message
func (*AuthroleGitPolicyRequest) Reset ¶
func (x *AuthroleGitPolicyRequest) Reset()
func (*AuthroleGitPolicyRequest) String ¶
func (x *AuthroleGitPolicyRequest) String() string
func (*AuthroleGitPolicyRequest) Validate ¶ added in v0.3.0
func (m *AuthroleGitPolicyRequest) Validate() error
Validate checks the field values on AuthroleGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleGitPolicyRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleGitPolicyRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleGitPolicyRequestMultiError, or nil if none found.
type AuthroleGitPolicyRequestMultiError ¶ added in v0.3.0
type AuthroleGitPolicyRequestMultiError []error
AuthroleGitPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleGitPolicyRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleGitPolicyRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleGitPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleGitPolicyRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleGitPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleGitPolicyRequestValidationError ¶ added in v0.3.0
type AuthroleGitPolicyRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleGitPolicyRequestValidationError is the validation error returned by AuthroleGitPolicyRequest.Validate if the designated constraints aren't met.
func (AuthroleGitPolicyRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleGitPolicyRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleGitPolicyRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleGitPolicyRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleGitPolicyRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleGitPolicyRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleGitPolicyRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleRepoPolicyRequest ¶
type AuthroleRepoPolicyRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` Secret *RepoMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AuthroleRepoPolicyRequest) ConvertToAuthPolicyReqeuest ¶
func (req *AuthroleRepoPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
func (*AuthroleRepoPolicyRequest) Descriptor
deprecated
func (*AuthroleRepoPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleRepoPolicyRequest.ProtoReflect.Descriptor instead.
func (*AuthroleRepoPolicyRequest) GetClusterName ¶
func (x *AuthroleRepoPolicyRequest) GetClusterName() string
func (*AuthroleRepoPolicyRequest) GetDestUser ¶
func (x *AuthroleRepoPolicyRequest) GetDestUser() string
func (*AuthroleRepoPolicyRequest) GetSecret ¶ added in v0.3.0
func (x *AuthroleRepoPolicyRequest) GetSecret() *RepoMeta
func (*AuthroleRepoPolicyRequest) ProtoMessage ¶
func (*AuthroleRepoPolicyRequest) ProtoMessage()
func (*AuthroleRepoPolicyRequest) ProtoReflect ¶
func (x *AuthroleRepoPolicyRequest) ProtoReflect() protoreflect.Message
func (*AuthroleRepoPolicyRequest) Reset ¶
func (x *AuthroleRepoPolicyRequest) Reset()
func (*AuthroleRepoPolicyRequest) String ¶
func (x *AuthroleRepoPolicyRequest) String() string
func (*AuthroleRepoPolicyRequest) Validate ¶ added in v0.3.0
func (m *AuthroleRepoPolicyRequest) Validate() error
Validate checks the field values on AuthroleRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleRepoPolicyRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleRepoPolicyRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleRepoPolicyRequestMultiError, or nil if none found.
type AuthroleRepoPolicyRequestMultiError ¶ added in v0.3.0
type AuthroleRepoPolicyRequestMultiError []error
AuthroleRepoPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleRepoPolicyRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleRepoPolicyRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleRepoPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleRepoPolicyRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleRepoPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleRepoPolicyRequestValidationError ¶ added in v0.3.0
type AuthroleRepoPolicyRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleRepoPolicyRequestValidationError is the validation error returned by AuthroleRepoPolicyRequest.Validate if the designated constraints aren't met.
func (AuthroleRepoPolicyRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleRepoPolicyRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleRepoPolicyRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleRepoPolicyRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleRepoPolicyRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleRepoPolicyRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleRepoPolicyRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleRequest ¶
type AuthroleRequest struct { // Vault path of kubernetes auth ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` // Vault role name in kubernetes auth DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` // Types that are assignable to Role: // // *AuthroleRequest_Kubernetes Role isAuthroleRequest_Role `protobuf_oneof:"role"` // contains filtered or unexported fields }
func (*AuthroleRequest) ConvertRequest ¶
func (x *AuthroleRequest) ConvertRequest() (*SecretRequest, error)
func (*AuthroleRequest) Descriptor
deprecated
func (*AuthroleRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleRequest.ProtoReflect.Descriptor instead.
func (*AuthroleRequest) GetClusterName ¶
func (x *AuthroleRequest) GetClusterName() string
func (*AuthroleRequest) GetDestUser ¶
func (x *AuthroleRequest) GetDestUser() string
func (*AuthroleRequest) GetKubernetes ¶ added in v0.3.6
func (x *AuthroleRequest) GetKubernetes() *KubernetesAuthRoleMeta
func (*AuthroleRequest) GetRole ¶
func (m *AuthroleRequest) GetRole() isAuthroleRequest_Role
func (*AuthroleRequest) ProtoMessage ¶
func (*AuthroleRequest) ProtoMessage()
func (*AuthroleRequest) ProtoReflect ¶
func (x *AuthroleRequest) ProtoReflect() protoreflect.Message
func (*AuthroleRequest) Reset ¶
func (x *AuthroleRequest) Reset()
func (*AuthroleRequest) String ¶
func (x *AuthroleRequest) String() string
func (*AuthroleRequest) Validate ¶ added in v0.3.0
func (m *AuthroleRequest) Validate() error
Validate checks the field values on AuthroleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleRequestMultiError, or nil if none found.
type AuthroleRequestMultiError ¶ added in v0.3.0
type AuthroleRequestMultiError []error
AuthroleRequestMultiError is an error wrapping multiple validation errors returned by AuthroleRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleRequestValidationError ¶ added in v0.3.0
type AuthroleRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleRequestValidationError is the validation error returned by AuthroleRequest.Validate if the designated constraints aren't met.
func (AuthroleRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleRequestValidationError) Field() string
Field function returns field value.
func (AuthroleRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleRequest_Kubernetes ¶ added in v0.3.6
type AuthroleRequest_Kubernetes struct {
Kubernetes *KubernetesAuthRoleMeta `protobuf:"bytes,3,opt,name=kubernetes,proto3,oneof"`
}
type AuthroleTenantGitPolicyRequest ¶
type AuthroleTenantGitPolicyRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` Secret *TenantGitMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest ¶
func (req *AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
func (*AuthroleTenantGitPolicyRequest) Descriptor
deprecated
func (*AuthroleTenantGitPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleTenantGitPolicyRequest.ProtoReflect.Descriptor instead.
func (*AuthroleTenantGitPolicyRequest) GetClusterName ¶
func (x *AuthroleTenantGitPolicyRequest) GetClusterName() string
func (*AuthroleTenantGitPolicyRequest) GetDestUser ¶
func (x *AuthroleTenantGitPolicyRequest) GetDestUser() string
func (*AuthroleTenantGitPolicyRequest) GetSecret ¶ added in v0.3.0
func (x *AuthroleTenantGitPolicyRequest) GetSecret() *TenantGitMeta
func (*AuthroleTenantGitPolicyRequest) ProtoMessage ¶
func (*AuthroleTenantGitPolicyRequest) ProtoMessage()
func (*AuthroleTenantGitPolicyRequest) ProtoReflect ¶
func (x *AuthroleTenantGitPolicyRequest) ProtoReflect() protoreflect.Message
func (*AuthroleTenantGitPolicyRequest) Reset ¶
func (x *AuthroleTenantGitPolicyRequest) Reset()
func (*AuthroleTenantGitPolicyRequest) String ¶
func (x *AuthroleTenantGitPolicyRequest) String() string
func (*AuthroleTenantGitPolicyRequest) Validate ¶ added in v0.3.0
func (m *AuthroleTenantGitPolicyRequest) Validate() error
Validate checks the field values on AuthroleTenantGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleTenantGitPolicyRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleTenantGitPolicyRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleTenantGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleTenantGitPolicyRequestMultiError, or nil if none found.
type AuthroleTenantGitPolicyRequestMultiError ¶ added in v0.3.0
type AuthroleTenantGitPolicyRequestMultiError []error
AuthroleTenantGitPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleTenantGitPolicyRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleTenantGitPolicyRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleTenantGitPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleTenantGitPolicyRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleTenantGitPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleTenantGitPolicyRequestValidationError ¶ added in v0.3.0
type AuthroleTenantGitPolicyRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleTenantGitPolicyRequestValidationError is the validation error returned by AuthroleTenantGitPolicyRequest.Validate if the designated constraints aren't met.
func (AuthroleTenantGitPolicyRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleTenantGitPolicyRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleTenantGitPolicyRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleTenantGitPolicyRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleTenantGitPolicyRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleTenantGitPolicyRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleTenantGitPolicyRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleTenantRepoPolicyRequest ¶
type AuthroleTenantRepoPolicyRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"` DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"` Secret *TenantRepoMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*AuthroleTenantRepoPolicyRequest) ConvertToAuthPolicyReqeuest ¶
func (req *AuthroleTenantRepoPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)
func (*AuthroleTenantRepoPolicyRequest) Descriptor
deprecated
func (*AuthroleTenantRepoPolicyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AuthroleTenantRepoPolicyRequest.ProtoReflect.Descriptor instead.
func (*AuthroleTenantRepoPolicyRequest) GetClusterName ¶
func (x *AuthroleTenantRepoPolicyRequest) GetClusterName() string
func (*AuthroleTenantRepoPolicyRequest) GetDestUser ¶
func (x *AuthroleTenantRepoPolicyRequest) GetDestUser() string
func (*AuthroleTenantRepoPolicyRequest) GetSecret ¶ added in v0.3.0
func (x *AuthroleTenantRepoPolicyRequest) GetSecret() *TenantRepoMeta
func (*AuthroleTenantRepoPolicyRequest) ProtoMessage ¶
func (*AuthroleTenantRepoPolicyRequest) ProtoMessage()
func (*AuthroleTenantRepoPolicyRequest) ProtoReflect ¶
func (x *AuthroleTenantRepoPolicyRequest) ProtoReflect() protoreflect.Message
func (*AuthroleTenantRepoPolicyRequest) Reset ¶
func (x *AuthroleTenantRepoPolicyRequest) Reset()
func (*AuthroleTenantRepoPolicyRequest) String ¶
func (x *AuthroleTenantRepoPolicyRequest) String() string
func (*AuthroleTenantRepoPolicyRequest) Validate ¶ added in v0.3.0
func (m *AuthroleTenantRepoPolicyRequest) Validate() error
Validate checks the field values on AuthroleTenantRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AuthroleTenantRepoPolicyRequest) ValidateAll ¶ added in v0.3.0
func (m *AuthroleTenantRepoPolicyRequest) ValidateAll() error
ValidateAll checks the field values on AuthroleTenantRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleTenantRepoPolicyRequestMultiError, or nil if none found.
type AuthroleTenantRepoPolicyRequestMultiError ¶ added in v0.3.0
type AuthroleTenantRepoPolicyRequestMultiError []error
AuthroleTenantRepoPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleTenantRepoPolicyRequest.ValidateAll() if the designated constraints aren't met.
func (AuthroleTenantRepoPolicyRequestMultiError) AllErrors ¶ added in v0.3.0
func (m AuthroleTenantRepoPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleTenantRepoPolicyRequestMultiError) Error ¶ added in v0.3.0
func (m AuthroleTenantRepoPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleTenantRepoPolicyRequestValidationError ¶ added in v0.3.0
type AuthroleTenantRepoPolicyRequestValidationError struct {
// contains filtered or unexported fields
}
AuthroleTenantRepoPolicyRequestValidationError is the validation error returned by AuthroleTenantRepoPolicyRequest.Validate if the designated constraints aren't met.
func (AuthroleTenantRepoPolicyRequestValidationError) Cause ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleTenantRepoPolicyRequestValidationError) Error ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleTenantRepoPolicyRequestValidationError) ErrorName ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleTenantRepoPolicyRequestValidationError) Field ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleTenantRepoPolicyRequestValidationError) Key ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleTenantRepoPolicyRequestValidationError) Reason ¶ added in v0.3.0
func (e AuthroleTenantRepoPolicyRequestValidationError) Reason() string
Reason function returns reason value.
type ClusterAccount ¶
type ClusterAccount struct { // Kubeconfig file to access cluster Kubeconfig string `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` // contains filtered or unexported fields }
CLUSTER DEFINE
func (*ClusterAccount) Descriptor
deprecated
func (*ClusterAccount) Descriptor() ([]byte, []int)
Deprecated: Use ClusterAccount.ProtoReflect.Descriptor instead.
func (*ClusterAccount) GetKubeconfig ¶
func (x *ClusterAccount) GetKubeconfig() string
func (*ClusterAccount) ProtoMessage ¶
func (*ClusterAccount) ProtoMessage()
func (*ClusterAccount) ProtoReflect ¶
func (x *ClusterAccount) ProtoReflect() protoreflect.Message
func (*ClusterAccount) Reset ¶
func (x *ClusterAccount) Reset()
func (*ClusterAccount) String ¶
func (x *ClusterAccount) String() string
func (*ClusterAccount) Validate ¶ added in v0.3.0
func (m *ClusterAccount) Validate() error
Validate checks the field values on ClusterAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterAccount) ValidateAll ¶ added in v0.3.0
func (m *ClusterAccount) ValidateAll() error
ValidateAll checks the field values on ClusterAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterAccountMultiError, or nil if none found.
type ClusterAccountMultiError ¶ added in v0.3.0
type ClusterAccountMultiError []error
ClusterAccountMultiError is an error wrapping multiple validation errors returned by ClusterAccount.ValidateAll() if the designated constraints aren't met.
func (ClusterAccountMultiError) AllErrors ¶ added in v0.3.0
func (m ClusterAccountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterAccountMultiError) Error ¶ added in v0.3.0
func (m ClusterAccountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterAccountValidationError ¶ added in v0.3.0
type ClusterAccountValidationError struct {
// contains filtered or unexported fields
}
ClusterAccountValidationError is the validation error returned by ClusterAccount.Validate if the designated constraints aren't met.
func (ClusterAccountValidationError) Cause ¶ added in v0.3.0
func (e ClusterAccountValidationError) Cause() error
Cause function returns cause value.
func (ClusterAccountValidationError) Error ¶ added in v0.3.0
func (e ClusterAccountValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterAccountValidationError) ErrorName ¶ added in v0.3.0
func (e ClusterAccountValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterAccountValidationError) Field ¶ added in v0.3.0
func (e ClusterAccountValidationError) Field() string
Field function returns field value.
func (ClusterAccountValidationError) Key ¶ added in v0.3.0
func (e ClusterAccountValidationError) Key() bool
Key function returns key value.
func (ClusterAccountValidationError) Reason ¶ added in v0.3.0
func (e ClusterAccountValidationError) Reason() string
Reason function returns reason value.
type ClusterMeta ¶
type ClusterMeta struct { // Type of cluster, such as k8s, aws, virtual machine, only support "kubernetes" Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*ClusterMeta) Descriptor
deprecated
func (*ClusterMeta) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMeta.ProtoReflect.Descriptor instead.
func (*ClusterMeta) GetId ¶
func (x *ClusterMeta) GetId() string
func (*ClusterMeta) GetNames ¶ added in v0.3.0
func (x *ClusterMeta) GetNames() (*SecretMeta, error)
func (*ClusterMeta) GetPermission ¶ added in v0.3.0
func (x *ClusterMeta) GetPermission() string
func (*ClusterMeta) GetType ¶
func (x *ClusterMeta) GetType() string
func (*ClusterMeta) GetUsername ¶ added in v0.3.0
func (x *ClusterMeta) GetUsername() string
func (*ClusterMeta) ProtoMessage ¶
func (*ClusterMeta) ProtoMessage()
func (*ClusterMeta) ProtoReflect ¶
func (x *ClusterMeta) ProtoReflect() protoreflect.Message
func (*ClusterMeta) Reset ¶
func (x *ClusterMeta) Reset()
func (*ClusterMeta) String ¶
func (x *ClusterMeta) String() string
func (*ClusterMeta) Validate ¶ added in v0.3.0
func (m *ClusterMeta) Validate() error
Validate checks the field values on ClusterMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterMeta) ValidateAll ¶ added in v0.3.0
func (m *ClusterMeta) ValidateAll() error
ValidateAll checks the field values on ClusterMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterMetaMultiError, or nil if none found.
type ClusterMetaMultiError ¶ added in v0.3.0
type ClusterMetaMultiError []error
ClusterMetaMultiError is an error wrapping multiple validation errors returned by ClusterMeta.ValidateAll() if the designated constraints aren't met.
func (ClusterMetaMultiError) AllErrors ¶ added in v0.3.0
func (m ClusterMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMetaMultiError) Error ¶ added in v0.3.0
func (m ClusterMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterMetaValidationError ¶ added in v0.3.0
type ClusterMetaValidationError struct {
// contains filtered or unexported fields
}
ClusterMetaValidationError is the validation error returned by ClusterMeta.Validate if the designated constraints aren't met.
func (ClusterMetaValidationError) Cause ¶ added in v0.3.0
func (e ClusterMetaValidationError) Cause() error
Cause function returns cause value.
func (ClusterMetaValidationError) Error ¶ added in v0.3.0
func (e ClusterMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterMetaValidationError) ErrorName ¶ added in v0.3.0
func (e ClusterMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterMetaValidationError) Field ¶ added in v0.3.0
func (e ClusterMetaValidationError) Field() string
Field function returns field value.
func (ClusterMetaValidationError) Key ¶ added in v0.3.0
func (e ClusterMetaValidationError) Key() bool
Key function returns key value.
func (ClusterMetaValidationError) Reason ¶ added in v0.3.0
func (e ClusterMetaValidationError) Reason() string
Reason function returns reason value.
type ClusterRequest ¶
type ClusterRequest struct { Meta *ClusterMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // Cluster access info, such as kubeconfig when clsuter type is kubernetes Account *ClusterAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*ClusterRequest) ConvertRequest ¶
func (x *ClusterRequest) ConvertRequest() (*SecretRequest, error)
func (*ClusterRequest) Descriptor
deprecated
func (*ClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use ClusterRequest.ProtoReflect.Descriptor instead.
func (*ClusterRequest) GetAccount ¶
func (x *ClusterRequest) GetAccount() *ClusterAccount
func (*ClusterRequest) GetMeta ¶ added in v0.3.0
func (x *ClusterRequest) GetMeta() *ClusterMeta
func (*ClusterRequest) ProtoMessage ¶
func (*ClusterRequest) ProtoMessage()
func (*ClusterRequest) ProtoReflect ¶
func (x *ClusterRequest) ProtoReflect() protoreflect.Message
func (*ClusterRequest) Reset ¶
func (x *ClusterRequest) Reset()
func (*ClusterRequest) String ¶
func (x *ClusterRequest) String() string
func (*ClusterRequest) Validate ¶ added in v0.3.0
func (m *ClusterRequest) Validate() error
Validate checks the field values on ClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ClusterRequest) ValidateAll ¶ added in v0.3.0
func (m *ClusterRequest) ValidateAll() error
ValidateAll checks the field values on ClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterRequestMultiError, or nil if none found.
type ClusterRequestMultiError ¶ added in v0.3.0
type ClusterRequestMultiError []error
ClusterRequestMultiError is an error wrapping multiple validation errors returned by ClusterRequest.ValidateAll() if the designated constraints aren't met.
func (ClusterRequestMultiError) AllErrors ¶ added in v0.3.0
func (m ClusterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterRequestMultiError) Error ¶ added in v0.3.0
func (m ClusterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterRequestValidationError ¶ added in v0.3.0
type ClusterRequestValidationError struct {
// contains filtered or unexported fields
}
ClusterRequestValidationError is the validation error returned by ClusterRequest.Validate if the designated constraints aren't met.
func (ClusterRequestValidationError) Cause ¶ added in v0.3.0
func (e ClusterRequestValidationError) Cause() error
Cause function returns cause value.
func (ClusterRequestValidationError) Error ¶ added in v0.3.0
func (e ClusterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterRequestValidationError) ErrorName ¶ added in v0.3.0
func (e ClusterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterRequestValidationError) Field ¶ added in v0.3.0
func (e ClusterRequestValidationError) Field() string
Field function returns field value.
func (ClusterRequestValidationError) Key ¶ added in v0.3.0
func (e ClusterRequestValidationError) Key() bool
Key function returns key value.
func (ClusterRequestValidationError) Reason ¶ added in v0.3.0
func (e ClusterRequestValidationError) Reason() string
Reason function returns reason value.
type CreateAuthReply ¶
type CreateAuthReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthReply) Descriptor
deprecated
func (*CreateAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthReply.ProtoReflect.Descriptor instead.
func (*CreateAuthReply) GetMsg ¶
func (x *CreateAuthReply) GetMsg() string
func (*CreateAuthReply) ProtoMessage ¶
func (*CreateAuthReply) ProtoMessage()
func (*CreateAuthReply) ProtoReflect ¶
func (x *CreateAuthReply) ProtoReflect() protoreflect.Message
func (*CreateAuthReply) Reset ¶
func (x *CreateAuthReply) Reset()
func (*CreateAuthReply) String ¶
func (x *CreateAuthReply) String() string
func (*CreateAuthReply) Validate ¶ added in v0.3.0
func (m *CreateAuthReply) Validate() error
Validate checks the field values on CreateAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateAuthReply) ValidateAll ¶ added in v0.3.0
func (m *CreateAuthReply) ValidateAll() error
ValidateAll checks the field values on CreateAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAuthReplyMultiError, or nil if none found.
type CreateAuthReplyMultiError ¶ added in v0.3.0
type CreateAuthReplyMultiError []error
CreateAuthReplyMultiError is an error wrapping multiple validation errors returned by CreateAuthReply.ValidateAll() if the designated constraints aren't met.
func (CreateAuthReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAuthReplyMultiError) Error ¶ added in v0.3.0
func (m CreateAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAuthReplyValidationError ¶ added in v0.3.0
type CreateAuthReplyValidationError struct {
// contains filtered or unexported fields
}
CreateAuthReplyValidationError is the validation error returned by CreateAuthReply.Validate if the designated constraints aren't met.
func (CreateAuthReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAuthReplyValidationError) Error ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAuthReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAuthReplyValidationError) Field ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) Field() string
Field function returns field value.
func (CreateAuthReplyValidationError) Key ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) Key() bool
Key function returns key value.
func (CreateAuthReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateAuthReplyValidationError) Reason() string
Reason function returns reason value.
type CreateAuthroleReply ¶
type CreateAuthroleReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*CreateAuthroleReply) Descriptor
deprecated
func (*CreateAuthroleReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthroleReply.ProtoReflect.Descriptor instead.
func (*CreateAuthroleReply) GetMsg ¶
func (x *CreateAuthroleReply) GetMsg() string
func (*CreateAuthroleReply) ProtoMessage ¶
func (*CreateAuthroleReply) ProtoMessage()
func (*CreateAuthroleReply) ProtoReflect ¶
func (x *CreateAuthroleReply) ProtoReflect() protoreflect.Message
func (*CreateAuthroleReply) Reset ¶
func (x *CreateAuthroleReply) Reset()
func (*CreateAuthroleReply) String ¶
func (x *CreateAuthroleReply) String() string
func (*CreateAuthroleReply) Validate ¶ added in v0.3.0
func (m *CreateAuthroleReply) Validate() error
Validate checks the field values on CreateAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateAuthroleReply) ValidateAll ¶ added in v0.3.0
func (m *CreateAuthroleReply) ValidateAll() error
ValidateAll checks the field values on CreateAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAuthroleReplyMultiError, or nil if none found.
type CreateAuthroleReplyMultiError ¶ added in v0.3.0
type CreateAuthroleReplyMultiError []error
CreateAuthroleReplyMultiError is an error wrapping multiple validation errors returned by CreateAuthroleReply.ValidateAll() if the designated constraints aren't met.
func (CreateAuthroleReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateAuthroleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAuthroleReplyMultiError) Error ¶ added in v0.3.0
func (m CreateAuthroleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAuthroleReplyValidationError ¶ added in v0.3.0
type CreateAuthroleReplyValidationError struct {
// contains filtered or unexported fields
}
CreateAuthroleReplyValidationError is the validation error returned by CreateAuthroleReply.Validate if the designated constraints aren't met.
func (CreateAuthroleReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAuthroleReplyValidationError) Error ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAuthroleReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAuthroleReplyValidationError) Field ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) Field() string
Field function returns field value.
func (CreateAuthroleReplyValidationError) Key ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) Key() bool
Key function returns key value.
func (CreateAuthroleReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateAuthroleReplyValidationError) Reason() string
Reason function returns reason value.
type CreateClusterReply ¶
type CreateClusterReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateClusterReply) Descriptor
deprecated
func (*CreateClusterReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterReply.ProtoReflect.Descriptor instead.
func (*CreateClusterReply) GetSecret ¶ added in v0.3.0
func (x *CreateClusterReply) GetSecret() *SecretInfo
func (*CreateClusterReply) ProtoMessage ¶
func (*CreateClusterReply) ProtoMessage()
func (*CreateClusterReply) ProtoReflect ¶
func (x *CreateClusterReply) ProtoReflect() protoreflect.Message
func (*CreateClusterReply) Reset ¶
func (x *CreateClusterReply) Reset()
func (*CreateClusterReply) String ¶
func (x *CreateClusterReply) String() string
func (*CreateClusterReply) Validate ¶ added in v0.3.0
func (m *CreateClusterReply) Validate() error
Validate checks the field values on CreateClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateClusterReply) ValidateAll ¶ added in v0.3.0
func (m *CreateClusterReply) ValidateAll() error
ValidateAll checks the field values on CreateClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateClusterReplyMultiError, or nil if none found.
type CreateClusterReplyMultiError ¶ added in v0.3.0
type CreateClusterReplyMultiError []error
CreateClusterReplyMultiError is an error wrapping multiple validation errors returned by CreateClusterReply.ValidateAll() if the designated constraints aren't met.
func (CreateClusterReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateClusterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateClusterReplyMultiError) Error ¶ added in v0.3.0
func (m CreateClusterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateClusterReplyValidationError ¶ added in v0.3.0
type CreateClusterReplyValidationError struct {
// contains filtered or unexported fields
}
CreateClusterReplyValidationError is the validation error returned by CreateClusterReply.Validate if the designated constraints aren't met.
func (CreateClusterReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateClusterReplyValidationError) Error ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateClusterReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateClusterReplyValidationError) Field ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) Field() string
Field function returns field value.
func (CreateClusterReplyValidationError) Key ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) Key() bool
Key function returns key value.
func (CreateClusterReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateClusterReplyValidationError) Reason() string
Reason function returns reason value.
type CreateGitReply ¶
type CreateGitReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateGitReply) Descriptor
deprecated
func (*CreateGitReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateGitReply.ProtoReflect.Descriptor instead.
func (*CreateGitReply) GetSecret ¶ added in v0.3.0
func (x *CreateGitReply) GetSecret() *SecretInfo
func (*CreateGitReply) ProtoMessage ¶
func (*CreateGitReply) ProtoMessage()
func (*CreateGitReply) ProtoReflect ¶
func (x *CreateGitReply) ProtoReflect() protoreflect.Message
func (*CreateGitReply) Reset ¶
func (x *CreateGitReply) Reset()
func (*CreateGitReply) String ¶
func (x *CreateGitReply) String() string
func (*CreateGitReply) Validate ¶ added in v0.3.0
func (m *CreateGitReply) Validate() error
Validate checks the field values on CreateGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateGitReply) ValidateAll ¶ added in v0.3.0
func (m *CreateGitReply) ValidateAll() error
ValidateAll checks the field values on CreateGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGitReplyMultiError, or nil if none found.
type CreateGitReplyMultiError ¶ added in v0.3.0
type CreateGitReplyMultiError []error
CreateGitReplyMultiError is an error wrapping multiple validation errors returned by CreateGitReply.ValidateAll() if the designated constraints aren't met.
func (CreateGitReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGitReplyMultiError) Error ¶ added in v0.3.0
func (m CreateGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGitReplyValidationError ¶ added in v0.3.0
type CreateGitReplyValidationError struct {
// contains filtered or unexported fields
}
CreateGitReplyValidationError is the validation error returned by CreateGitReply.Validate if the designated constraints aren't met.
func (CreateGitReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateGitReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateGitReplyValidationError) Error ¶ added in v0.3.0
func (e CreateGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGitReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGitReplyValidationError) Field ¶ added in v0.3.0
func (e CreateGitReplyValidationError) Field() string
Field function returns field value.
func (CreateGitReplyValidationError) Key ¶ added in v0.3.0
func (e CreateGitReplyValidationError) Key() bool
Key function returns key value.
func (CreateGitReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateGitReplyValidationError) Reason() string
Reason function returns reason value.
type CreatePkiReply ¶
type CreatePkiReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreatePkiReply) Descriptor
deprecated
func (*CreatePkiReply) Descriptor() ([]byte, []int)
Deprecated: Use CreatePkiReply.ProtoReflect.Descriptor instead.
func (*CreatePkiReply) GetSecret ¶ added in v0.3.0
func (x *CreatePkiReply) GetSecret() *SecretInfo
func (*CreatePkiReply) ProtoMessage ¶
func (*CreatePkiReply) ProtoMessage()
func (*CreatePkiReply) ProtoReflect ¶
func (x *CreatePkiReply) ProtoReflect() protoreflect.Message
func (*CreatePkiReply) Reset ¶
func (x *CreatePkiReply) Reset()
func (*CreatePkiReply) String ¶
func (x *CreatePkiReply) String() string
func (*CreatePkiReply) Validate ¶ added in v0.3.0
func (m *CreatePkiReply) Validate() error
Validate checks the field values on CreatePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreatePkiReply) ValidateAll ¶ added in v0.3.0
func (m *CreatePkiReply) ValidateAll() error
ValidateAll checks the field values on CreatePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePkiReplyMultiError, or nil if none found.
type CreatePkiReplyMultiError ¶ added in v0.3.0
type CreatePkiReplyMultiError []error
CreatePkiReplyMultiError is an error wrapping multiple validation errors returned by CreatePkiReply.ValidateAll() if the designated constraints aren't met.
func (CreatePkiReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreatePkiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePkiReplyMultiError) Error ¶ added in v0.3.0
func (m CreatePkiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePkiReplyValidationError ¶ added in v0.3.0
type CreatePkiReplyValidationError struct {
// contains filtered or unexported fields
}
CreatePkiReplyValidationError is the validation error returned by CreatePkiReply.Validate if the designated constraints aren't met.
func (CreatePkiReplyValidationError) Cause ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) Cause() error
Cause function returns cause value.
func (CreatePkiReplyValidationError) Error ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePkiReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePkiReplyValidationError) Field ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) Field() string
Field function returns field value.
func (CreatePkiReplyValidationError) Key ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) Key() bool
Key function returns key value.
func (CreatePkiReplyValidationError) Reason ¶ added in v0.3.0
func (e CreatePkiReplyValidationError) Reason() string
Reason function returns reason value.
type CreateRepoReply ¶
type CreateRepoReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateRepoReply) Descriptor
deprecated
func (*CreateRepoReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateRepoReply.ProtoReflect.Descriptor instead.
func (*CreateRepoReply) GetSecret ¶ added in v0.3.0
func (x *CreateRepoReply) GetSecret() *SecretInfo
func (*CreateRepoReply) ProtoMessage ¶
func (*CreateRepoReply) ProtoMessage()
func (*CreateRepoReply) ProtoReflect ¶
func (x *CreateRepoReply) ProtoReflect() protoreflect.Message
func (*CreateRepoReply) Reset ¶
func (x *CreateRepoReply) Reset()
func (*CreateRepoReply) String ¶
func (x *CreateRepoReply) String() string
func (*CreateRepoReply) Validate ¶ added in v0.3.0
func (m *CreateRepoReply) Validate() error
Validate checks the field values on CreateRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRepoReply) ValidateAll ¶ added in v0.3.0
func (m *CreateRepoReply) ValidateAll() error
ValidateAll checks the field values on CreateRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRepoReplyMultiError, or nil if none found.
type CreateRepoReplyMultiError ¶ added in v0.3.0
type CreateRepoReplyMultiError []error
CreateRepoReplyMultiError is an error wrapping multiple validation errors returned by CreateRepoReply.ValidateAll() if the designated constraints aren't met.
func (CreateRepoReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRepoReplyMultiError) Error ¶ added in v0.3.0
func (m CreateRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRepoReplyValidationError ¶ added in v0.3.0
type CreateRepoReplyValidationError struct {
// contains filtered or unexported fields
}
CreateRepoReplyValidationError is the validation error returned by CreateRepoReply.Validate if the designated constraints aren't met.
func (CreateRepoReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateRepoReplyValidationError) Error ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRepoReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRepoReplyValidationError) Field ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) Field() string
Field function returns field value.
func (CreateRepoReplyValidationError) Key ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) Key() bool
Key function returns key value.
func (CreateRepoReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateRepoReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTenantGitReply ¶
type CreateTenantGitReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantGitReply) Descriptor
deprecated
func (*CreateTenantGitReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantGitReply.ProtoReflect.Descriptor instead.
func (*CreateTenantGitReply) GetSecret ¶ added in v0.3.0
func (x *CreateTenantGitReply) GetSecret() *SecretInfo
func (*CreateTenantGitReply) ProtoMessage ¶
func (*CreateTenantGitReply) ProtoMessage()
func (*CreateTenantGitReply) ProtoReflect ¶
func (x *CreateTenantGitReply) ProtoReflect() protoreflect.Message
func (*CreateTenantGitReply) Reset ¶
func (x *CreateTenantGitReply) Reset()
func (*CreateTenantGitReply) String ¶
func (x *CreateTenantGitReply) String() string
func (*CreateTenantGitReply) Validate ¶ added in v0.3.0
func (m *CreateTenantGitReply) Validate() error
Validate checks the field values on CreateTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTenantGitReply) ValidateAll ¶ added in v0.3.0
func (m *CreateTenantGitReply) ValidateAll() error
ValidateAll checks the field values on CreateTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantGitReplyMultiError, or nil if none found.
type CreateTenantGitReplyMultiError ¶ added in v0.3.0
type CreateTenantGitReplyMultiError []error
CreateTenantGitReplyMultiError is an error wrapping multiple validation errors returned by CreateTenantGitReply.ValidateAll() if the designated constraints aren't met.
func (CreateTenantGitReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateTenantGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantGitReplyMultiError) Error ¶ added in v0.3.0
func (m CreateTenantGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantGitReplyValidationError ¶ added in v0.3.0
type CreateTenantGitReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTenantGitReplyValidationError is the validation error returned by CreateTenantGitReply.Validate if the designated constraints aren't met.
func (CreateTenantGitReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantGitReplyValidationError) Error ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantGitReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantGitReplyValidationError) Field ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) Field() string
Field function returns field value.
func (CreateTenantGitReplyValidationError) Key ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) Key() bool
Key function returns key value.
func (CreateTenantGitReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateTenantGitReplyValidationError) Reason() string
Reason function returns reason value.
type CreateTenantRepoReply ¶
type CreateTenantRepoReply struct { Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"` // contains filtered or unexported fields }
func (*CreateTenantRepoReply) Descriptor
deprecated
func (*CreateTenantRepoReply) Descriptor() ([]byte, []int)
Deprecated: Use CreateTenantRepoReply.ProtoReflect.Descriptor instead.
func (*CreateTenantRepoReply) GetSecret ¶ added in v0.3.0
func (x *CreateTenantRepoReply) GetSecret() *SecretInfo
func (*CreateTenantRepoReply) ProtoMessage ¶
func (*CreateTenantRepoReply) ProtoMessage()
func (*CreateTenantRepoReply) ProtoReflect ¶
func (x *CreateTenantRepoReply) ProtoReflect() protoreflect.Message
func (*CreateTenantRepoReply) Reset ¶
func (x *CreateTenantRepoReply) Reset()
func (*CreateTenantRepoReply) String ¶
func (x *CreateTenantRepoReply) String() string
func (*CreateTenantRepoReply) Validate ¶ added in v0.3.0
func (m *CreateTenantRepoReply) Validate() error
Validate checks the field values on CreateTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTenantRepoReply) ValidateAll ¶ added in v0.3.0
func (m *CreateTenantRepoReply) ValidateAll() error
ValidateAll checks the field values on CreateTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantRepoReplyMultiError, or nil if none found.
type CreateTenantRepoReplyMultiError ¶ added in v0.3.0
type CreateTenantRepoReplyMultiError []error
CreateTenantRepoReplyMultiError is an error wrapping multiple validation errors returned by CreateTenantRepoReply.ValidateAll() if the designated constraints aren't met.
func (CreateTenantRepoReplyMultiError) AllErrors ¶ added in v0.3.0
func (m CreateTenantRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantRepoReplyMultiError) Error ¶ added in v0.3.0
func (m CreateTenantRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantRepoReplyValidationError ¶ added in v0.3.0
type CreateTenantRepoReplyValidationError struct {
// contains filtered or unexported fields
}
CreateTenantRepoReplyValidationError is the validation error returned by CreateTenantRepoReply.Validate if the designated constraints aren't met.
func (CreateTenantRepoReplyValidationError) Cause ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantRepoReplyValidationError) Error ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantRepoReplyValidationError) ErrorName ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantRepoReplyValidationError) Field ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) Field() string
Field function returns field value.
func (CreateTenantRepoReplyValidationError) Key ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) Key() bool
Key function returns key value.
func (CreateTenantRepoReplyValidationError) Reason ¶ added in v0.3.0
func (e CreateTenantRepoReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteAuthReply ¶
type DeleteAuthReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteAuthReply) Descriptor
deprecated
func (*DeleteAuthReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthReply.ProtoReflect.Descriptor instead.
func (*DeleteAuthReply) GetMsg ¶
func (x *DeleteAuthReply) GetMsg() string
func (*DeleteAuthReply) ProtoMessage ¶
func (*DeleteAuthReply) ProtoMessage()
func (*DeleteAuthReply) ProtoReflect ¶
func (x *DeleteAuthReply) ProtoReflect() protoreflect.Message
func (*DeleteAuthReply) Reset ¶
func (x *DeleteAuthReply) Reset()
func (*DeleteAuthReply) String ¶
func (x *DeleteAuthReply) String() string
func (*DeleteAuthReply) Validate ¶ added in v0.3.0
func (m *DeleteAuthReply) Validate() error
Validate checks the field values on DeleteAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteAuthReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteAuthReply) ValidateAll() error
ValidateAll checks the field values on DeleteAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAuthReplyMultiError, or nil if none found.
type DeleteAuthReplyMultiError ¶ added in v0.3.0
type DeleteAuthReplyMultiError []error
DeleteAuthReplyMultiError is an error wrapping multiple validation errors returned by DeleteAuthReply.ValidateAll() if the designated constraints aren't met.
func (DeleteAuthReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAuthReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAuthReplyValidationError ¶ added in v0.3.0
type DeleteAuthReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteAuthReplyValidationError is the validation error returned by DeleteAuthReply.Validate if the designated constraints aren't met.
func (DeleteAuthReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAuthReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAuthReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAuthReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) Field() string
Field function returns field value.
func (DeleteAuthReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAuthReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteAuthReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteAuthroleReply ¶
type DeleteAuthroleReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteAuthroleReply) Descriptor
deprecated
func (*DeleteAuthroleReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthroleReply.ProtoReflect.Descriptor instead.
func (*DeleteAuthroleReply) GetMsg ¶
func (x *DeleteAuthroleReply) GetMsg() string
func (*DeleteAuthroleReply) ProtoMessage ¶
func (*DeleteAuthroleReply) ProtoMessage()
func (*DeleteAuthroleReply) ProtoReflect ¶
func (x *DeleteAuthroleReply) ProtoReflect() protoreflect.Message
func (*DeleteAuthroleReply) Reset ¶
func (x *DeleteAuthroleReply) Reset()
func (*DeleteAuthroleReply) String ¶
func (x *DeleteAuthroleReply) String() string
func (*DeleteAuthroleReply) Validate ¶ added in v0.3.0
func (m *DeleteAuthroleReply) Validate() error
Validate checks the field values on DeleteAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteAuthroleReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteAuthroleReply) ValidateAll() error
ValidateAll checks the field values on DeleteAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAuthroleReplyMultiError, or nil if none found.
type DeleteAuthroleReplyMultiError ¶ added in v0.3.0
type DeleteAuthroleReplyMultiError []error
DeleteAuthroleReplyMultiError is an error wrapping multiple validation errors returned by DeleteAuthroleReply.ValidateAll() if the designated constraints aren't met.
func (DeleteAuthroleReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteAuthroleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAuthroleReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteAuthroleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAuthroleReplyValidationError ¶ added in v0.3.0
type DeleteAuthroleReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteAuthroleReplyValidationError is the validation error returned by DeleteAuthroleReply.Validate if the designated constraints aren't met.
func (DeleteAuthroleReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAuthroleReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAuthroleReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAuthroleReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) Field() string
Field function returns field value.
func (DeleteAuthroleReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAuthroleReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteAuthroleReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteClusterReply ¶
type DeleteClusterReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteClusterReply) Descriptor
deprecated
func (*DeleteClusterReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterReply.ProtoReflect.Descriptor instead.
func (*DeleteClusterReply) GetMsg ¶
func (x *DeleteClusterReply) GetMsg() string
func (*DeleteClusterReply) ProtoMessage ¶
func (*DeleteClusterReply) ProtoMessage()
func (*DeleteClusterReply) ProtoReflect ¶
func (x *DeleteClusterReply) ProtoReflect() protoreflect.Message
func (*DeleteClusterReply) Reset ¶
func (x *DeleteClusterReply) Reset()
func (*DeleteClusterReply) String ¶
func (x *DeleteClusterReply) String() string
func (*DeleteClusterReply) Validate ¶ added in v0.3.0
func (m *DeleteClusterReply) Validate() error
Validate checks the field values on DeleteClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteClusterReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteClusterReply) ValidateAll() error
ValidateAll checks the field values on DeleteClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteClusterReplyMultiError, or nil if none found.
type DeleteClusterReplyMultiError ¶ added in v0.3.0
type DeleteClusterReplyMultiError []error
DeleteClusterReplyMultiError is an error wrapping multiple validation errors returned by DeleteClusterReply.ValidateAll() if the designated constraints aren't met.
func (DeleteClusterReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteClusterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteClusterReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteClusterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteClusterReplyValidationError ¶ added in v0.3.0
type DeleteClusterReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteClusterReplyValidationError is the validation error returned by DeleteClusterReply.Validate if the designated constraints aren't met.
func (DeleteClusterReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteClusterReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteClusterReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteClusterReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) Field() string
Field function returns field value.
func (DeleteClusterReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) Key() bool
Key function returns key value.
func (DeleteClusterReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteClusterReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteGitReply ¶
type DeleteGitReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteGitReply) Descriptor
deprecated
func (*DeleteGitReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGitReply.ProtoReflect.Descriptor instead.
func (*DeleteGitReply) GetMsg ¶
func (x *DeleteGitReply) GetMsg() string
func (*DeleteGitReply) ProtoMessage ¶
func (*DeleteGitReply) ProtoMessage()
func (*DeleteGitReply) ProtoReflect ¶
func (x *DeleteGitReply) ProtoReflect() protoreflect.Message
func (*DeleteGitReply) Reset ¶
func (x *DeleteGitReply) Reset()
func (*DeleteGitReply) String ¶
func (x *DeleteGitReply) String() string
func (*DeleteGitReply) Validate ¶ added in v0.3.0
func (m *DeleteGitReply) Validate() error
Validate checks the field values on DeleteGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteGitReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteGitReply) ValidateAll() error
ValidateAll checks the field values on DeleteGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteGitReplyMultiError, or nil if none found.
type DeleteGitReplyMultiError ¶ added in v0.3.0
type DeleteGitReplyMultiError []error
DeleteGitReplyMultiError is an error wrapping multiple validation errors returned by DeleteGitReply.ValidateAll() if the designated constraints aren't met.
func (DeleteGitReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGitReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGitReplyValidationError ¶ added in v0.3.0
type DeleteGitReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteGitReplyValidationError is the validation error returned by DeleteGitReply.Validate if the designated constraints aren't met.
func (DeleteGitReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteGitReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGitReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGitReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) Field() string
Field function returns field value.
func (DeleteGitReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) Key() bool
Key function returns key value.
func (DeleteGitReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteGitReplyValidationError) Reason() string
Reason function returns reason value.
type DeletePkiReply ¶
type DeletePkiReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeletePkiReply) Descriptor
deprecated
func (*DeletePkiReply) Descriptor() ([]byte, []int)
Deprecated: Use DeletePkiReply.ProtoReflect.Descriptor instead.
func (*DeletePkiReply) GetMsg ¶
func (x *DeletePkiReply) GetMsg() string
func (*DeletePkiReply) ProtoMessage ¶
func (*DeletePkiReply) ProtoMessage()
func (*DeletePkiReply) ProtoReflect ¶
func (x *DeletePkiReply) ProtoReflect() protoreflect.Message
func (*DeletePkiReply) Reset ¶
func (x *DeletePkiReply) Reset()
func (*DeletePkiReply) String ¶
func (x *DeletePkiReply) String() string
func (*DeletePkiReply) Validate ¶ added in v0.3.0
func (m *DeletePkiReply) Validate() error
Validate checks the field values on DeletePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletePkiReply) ValidateAll ¶ added in v0.3.0
func (m *DeletePkiReply) ValidateAll() error
ValidateAll checks the field values on DeletePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePkiReplyMultiError, or nil if none found.
type DeletePkiReplyMultiError ¶ added in v0.3.0
type DeletePkiReplyMultiError []error
DeletePkiReplyMultiError is an error wrapping multiple validation errors returned by DeletePkiReply.ValidateAll() if the designated constraints aren't met.
func (DeletePkiReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeletePkiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePkiReplyMultiError) Error ¶ added in v0.3.0
func (m DeletePkiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePkiReplyValidationError ¶ added in v0.3.0
type DeletePkiReplyValidationError struct {
// contains filtered or unexported fields
}
DeletePkiReplyValidationError is the validation error returned by DeletePkiReply.Validate if the designated constraints aren't met.
func (DeletePkiReplyValidationError) Cause ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) Cause() error
Cause function returns cause value.
func (DeletePkiReplyValidationError) Error ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePkiReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePkiReplyValidationError) Field ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) Field() string
Field function returns field value.
func (DeletePkiReplyValidationError) Key ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) Key() bool
Key function returns key value.
func (DeletePkiReplyValidationError) Reason ¶ added in v0.3.0
func (e DeletePkiReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteRepoReply ¶
type DeleteRepoReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteRepoReply) Descriptor
deprecated
func (*DeleteRepoReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteRepoReply.ProtoReflect.Descriptor instead.
func (*DeleteRepoReply) GetMsg ¶
func (x *DeleteRepoReply) GetMsg() string
func (*DeleteRepoReply) ProtoMessage ¶
func (*DeleteRepoReply) ProtoMessage()
func (*DeleteRepoReply) ProtoReflect ¶
func (x *DeleteRepoReply) ProtoReflect() protoreflect.Message
func (*DeleteRepoReply) Reset ¶
func (x *DeleteRepoReply) Reset()
func (*DeleteRepoReply) String ¶
func (x *DeleteRepoReply) String() string
func (*DeleteRepoReply) Validate ¶ added in v0.3.0
func (m *DeleteRepoReply) Validate() error
Validate checks the field values on DeleteRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteRepoReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteRepoReply) ValidateAll() error
ValidateAll checks the field values on DeleteRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRepoReplyMultiError, or nil if none found.
type DeleteRepoReplyMultiError ¶ added in v0.3.0
type DeleteRepoReplyMultiError []error
DeleteRepoReplyMultiError is an error wrapping multiple validation errors returned by DeleteRepoReply.ValidateAll() if the designated constraints aren't met.
func (DeleteRepoReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRepoReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRepoReplyValidationError ¶ added in v0.3.0
type DeleteRepoReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteRepoReplyValidationError is the validation error returned by DeleteRepoReply.Validate if the designated constraints aren't met.
func (DeleteRepoReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteRepoReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRepoReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRepoReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) Field() string
Field function returns field value.
func (DeleteRepoReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) Key() bool
Key function returns key value.
func (DeleteRepoReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteRepoReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTenantGitReply ¶
type DeleteTenantGitReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteTenantGitReply) Descriptor
deprecated
func (*DeleteTenantGitReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantGitReply.ProtoReflect.Descriptor instead.
func (*DeleteTenantGitReply) GetMsg ¶
func (x *DeleteTenantGitReply) GetMsg() string
func (*DeleteTenantGitReply) ProtoMessage ¶
func (*DeleteTenantGitReply) ProtoMessage()
func (*DeleteTenantGitReply) ProtoReflect ¶
func (x *DeleteTenantGitReply) ProtoReflect() protoreflect.Message
func (*DeleteTenantGitReply) Reset ¶
func (x *DeleteTenantGitReply) Reset()
func (*DeleteTenantGitReply) String ¶
func (x *DeleteTenantGitReply) String() string
func (*DeleteTenantGitReply) Validate ¶ added in v0.3.0
func (m *DeleteTenantGitReply) Validate() error
Validate checks the field values on DeleteTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTenantGitReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteTenantGitReply) ValidateAll() error
ValidateAll checks the field values on DeleteTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantGitReplyMultiError, or nil if none found.
type DeleteTenantGitReplyMultiError ¶ added in v0.3.0
type DeleteTenantGitReplyMultiError []error
DeleteTenantGitReplyMultiError is an error wrapping multiple validation errors returned by DeleteTenantGitReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTenantGitReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteTenantGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantGitReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteTenantGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantGitReplyValidationError ¶ added in v0.3.0
type DeleteTenantGitReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTenantGitReplyValidationError is the validation error returned by DeleteTenantGitReply.Validate if the designated constraints aren't met.
func (DeleteTenantGitReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantGitReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantGitReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantGitReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) Field() string
Field function returns field value.
func (DeleteTenantGitReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTenantGitReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteTenantGitReplyValidationError) Reason() string
Reason function returns reason value.
type DeleteTenantRepoReply ¶
type DeleteTenantRepoReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*DeleteTenantRepoReply) Descriptor
deprecated
func (*DeleteTenantRepoReply) Descriptor() ([]byte, []int)
Deprecated: Use DeleteTenantRepoReply.ProtoReflect.Descriptor instead.
func (*DeleteTenantRepoReply) GetMsg ¶
func (x *DeleteTenantRepoReply) GetMsg() string
func (*DeleteTenantRepoReply) ProtoMessage ¶
func (*DeleteTenantRepoReply) ProtoMessage()
func (*DeleteTenantRepoReply) ProtoReflect ¶
func (x *DeleteTenantRepoReply) ProtoReflect() protoreflect.Message
func (*DeleteTenantRepoReply) Reset ¶
func (x *DeleteTenantRepoReply) Reset()
func (*DeleteTenantRepoReply) String ¶
func (x *DeleteTenantRepoReply) String() string
func (*DeleteTenantRepoReply) Validate ¶ added in v0.3.0
func (m *DeleteTenantRepoReply) Validate() error
Validate checks the field values on DeleteTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeleteTenantRepoReply) ValidateAll ¶ added in v0.3.0
func (m *DeleteTenantRepoReply) ValidateAll() error
ValidateAll checks the field values on DeleteTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantRepoReplyMultiError, or nil if none found.
type DeleteTenantRepoReplyMultiError ¶ added in v0.3.0
type DeleteTenantRepoReplyMultiError []error
DeleteTenantRepoReplyMultiError is an error wrapping multiple validation errors returned by DeleteTenantRepoReply.ValidateAll() if the designated constraints aren't met.
func (DeleteTenantRepoReplyMultiError) AllErrors ¶ added in v0.3.0
func (m DeleteTenantRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantRepoReplyMultiError) Error ¶ added in v0.3.0
func (m DeleteTenantRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantRepoReplyValidationError ¶ added in v0.3.0
type DeleteTenantRepoReplyValidationError struct {
// contains filtered or unexported fields
}
DeleteTenantRepoReplyValidationError is the validation error returned by DeleteTenantRepoReply.Validate if the designated constraints aren't met.
func (DeleteTenantRepoReplyValidationError) Cause ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantRepoReplyValidationError) Error ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantRepoReplyValidationError) ErrorName ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantRepoReplyValidationError) Field ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) Field() string
Field function returns field value.
func (DeleteTenantRepoReplyValidationError) Key ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTenantRepoReplyValidationError) Reason ¶ added in v0.3.0
func (e DeleteTenantRepoReplyValidationError) Reason() string
Reason function returns reason value.
type ErrorReason ¶
type ErrorReason int32
const ( ErrorReason_AUTH_FAILED ErrorReason = 0 ErrorReason_ACTION_NOT_ALLOW ErrorReason = 1 ErrorReason_RESOURCE_NOT_FOUND ErrorReason = 2 ErrorReason_INPUT_ARG_ERROR ErrorReason = 3 ErrorReason_INTERNAL_SERVICE_ERROR ErrorReason = 4 )
func (ErrorReason) Descriptor ¶
func (ErrorReason) Descriptor() protoreflect.EnumDescriptor
func (ErrorReason) Enum ¶
func (x ErrorReason) Enum() *ErrorReason
func (ErrorReason) EnumDescriptor
deprecated
func (ErrorReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorReason.Descriptor instead.
func (ErrorReason) Number ¶
func (x ErrorReason) Number() protoreflect.EnumNumber
func (ErrorReason) String ¶
func (x ErrorReason) String() string
func (ErrorReason) Type ¶
func (ErrorReason) Type() protoreflect.EnumType
type GitKVs ¶ added in v0.3.0
type GitKVs struct { // Deploykey of the unit DeployKey string `protobuf:"bytes,1,opt,name=deploy_key,proto3" json:"deploy_key,omitempty"` // AccessToken of this unit AccessToken string `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty"` // External kvs store in vault, deploy key and access token wiil over write it if key name is same Additionals map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
GIT DEFINE
func (*GitKVs) Descriptor
deprecated
added in
v0.3.0
func (*GitKVs) GetAccessToken ¶ added in v0.3.0
func (*GitKVs) GetAdditionals ¶ added in v0.3.0
func (*GitKVs) GetDeployKey ¶ added in v0.3.0
func (*GitKVs) ProtoMessage ¶ added in v0.3.0
func (*GitKVs) ProtoMessage()
func (*GitKVs) ProtoReflect ¶ added in v0.3.0
func (x *GitKVs) ProtoReflect() protoreflect.Message
func (*GitKVs) Validate ¶ added in v0.3.0
Validate checks the field values on GitKVs with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GitKVs) ValidateAll ¶ added in v0.3.0
ValidateAll checks the field values on GitKVs with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GitKVsMultiError, or nil if none found.
type GitKVsMultiError ¶ added in v0.3.0
type GitKVsMultiError []error
GitKVsMultiError is an error wrapping multiple validation errors returned by GitKVs.ValidateAll() if the designated constraints aren't met.
func (GitKVsMultiError) AllErrors ¶ added in v0.3.0
func (m GitKVsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitKVsMultiError) Error ¶ added in v0.3.0
func (m GitKVsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitKVsValidationError ¶ added in v0.3.0
type GitKVsValidationError struct {
// contains filtered or unexported fields
}
GitKVsValidationError is the validation error returned by GitKVs.Validate if the designated constraints aren't met.
func (GitKVsValidationError) Cause ¶ added in v0.3.0
func (e GitKVsValidationError) Cause() error
Cause function returns cause value.
func (GitKVsValidationError) Error ¶ added in v0.3.0
func (e GitKVsValidationError) Error() string
Error satisfies the builtin error interface
func (GitKVsValidationError) ErrorName ¶ added in v0.3.0
func (e GitKVsValidationError) ErrorName() string
ErrorName returns error name.
func (GitKVsValidationError) Field ¶ added in v0.3.0
func (e GitKVsValidationError) Field() string
Field function returns field value.
func (GitKVsValidationError) Key ¶ added in v0.3.0
func (e GitKVsValidationError) Key() bool
Key function returns key value.
func (GitKVsValidationError) Reason ¶ added in v0.3.0
func (e GitKVsValidationError) Reason() string
Reason function returns reason value.
type GitMeta ¶ added in v0.3.0
type GitMeta struct { // Git Provider Type, gitlab or github ProviderType string `protobuf:"bytes,1,opt,name=provider_type,proto3" json:"provider_type,omitempty"` // Git repo ID or product ID in nautes Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*GitMeta) Descriptor
deprecated
added in
v0.3.0
func (*GitMeta) GetNames ¶ added in v0.3.0
func (x *GitMeta) GetNames() (*SecretMeta, error)
func (*GitMeta) GetPermission ¶ added in v0.3.0
func (*GitMeta) GetProviderType ¶ added in v0.3.0
func (*GitMeta) GetUsername ¶ added in v0.3.0
func (*GitMeta) ProtoMessage ¶ added in v0.3.0
func (*GitMeta) ProtoMessage()
func (*GitMeta) ProtoReflect ¶ added in v0.3.0
func (x *GitMeta) ProtoReflect() protoreflect.Message
func (*GitMeta) Validate ¶ added in v0.3.0
Validate checks the field values on GitMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GitMeta) ValidateAll ¶ added in v0.3.0
ValidateAll checks the field values on GitMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GitMetaMultiError, or nil if none found.
type GitMetaMultiError ¶ added in v0.3.0
type GitMetaMultiError []error
GitMetaMultiError is an error wrapping multiple validation errors returned by GitMeta.ValidateAll() if the designated constraints aren't met.
func (GitMetaMultiError) AllErrors ¶ added in v0.3.0
func (m GitMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitMetaMultiError) Error ¶ added in v0.3.0
func (m GitMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitMetaValidationError ¶ added in v0.3.0
type GitMetaValidationError struct {
// contains filtered or unexported fields
}
GitMetaValidationError is the validation error returned by GitMeta.Validate if the designated constraints aren't met.
func (GitMetaValidationError) Cause ¶ added in v0.3.0
func (e GitMetaValidationError) Cause() error
Cause function returns cause value.
func (GitMetaValidationError) Error ¶ added in v0.3.0
func (e GitMetaValidationError) Error() string
Error satisfies the builtin error interface
func (GitMetaValidationError) ErrorName ¶ added in v0.3.0
func (e GitMetaValidationError) ErrorName() string
ErrorName returns error name.
func (GitMetaValidationError) Field ¶ added in v0.3.0
func (e GitMetaValidationError) Field() string
Field function returns field value.
func (GitMetaValidationError) Key ¶ added in v0.3.0
func (e GitMetaValidationError) Key() bool
Key function returns key value.
func (GitMetaValidationError) Reason ¶ added in v0.3.0
func (e GitMetaValidationError) Reason() string
Reason function returns reason value.
type GitRequest ¶
type GitRequest struct { Meta *GitMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // The key vaules will store in vault Kvs *GitKVs `protobuf:"bytes,2,opt,name=kvs,proto3" json:"kvs,omitempty"` // contains filtered or unexported fields }
func (*GitRequest) ConvertRequest ¶
func (x *GitRequest) ConvertRequest() (*SecretRequest, error)
func (*GitRequest) Descriptor
deprecated
func (*GitRequest) Descriptor() ([]byte, []int)
Deprecated: Use GitRequest.ProtoReflect.Descriptor instead.
func (*GitRequest) GetKvs ¶ added in v0.3.0
func (x *GitRequest) GetKvs() *GitKVs
func (*GitRequest) GetMeta ¶ added in v0.3.0
func (x *GitRequest) GetMeta() *GitMeta
func (*GitRequest) ProtoMessage ¶
func (*GitRequest) ProtoMessage()
func (*GitRequest) ProtoReflect ¶
func (x *GitRequest) ProtoReflect() protoreflect.Message
func (*GitRequest) Reset ¶
func (x *GitRequest) Reset()
func (*GitRequest) String ¶
func (x *GitRequest) String() string
func (*GitRequest) Validate ¶ added in v0.3.0
func (m *GitRequest) Validate() error
Validate checks the field values on GitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GitRequest) ValidateAll ¶ added in v0.3.0
func (m *GitRequest) ValidateAll() error
ValidateAll checks the field values on GitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GitRequestMultiError, or nil if none found.
type GitRequestMultiError ¶ added in v0.3.0
type GitRequestMultiError []error
GitRequestMultiError is an error wrapping multiple validation errors returned by GitRequest.ValidateAll() if the designated constraints aren't met.
func (GitRequestMultiError) AllErrors ¶ added in v0.3.0
func (m GitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitRequestMultiError) Error ¶ added in v0.3.0
func (m GitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitRequestValidationError ¶ added in v0.3.0
type GitRequestValidationError struct {
// contains filtered or unexported fields
}
GitRequestValidationError is the validation error returned by GitRequest.Validate if the designated constraints aren't met.
func (GitRequestValidationError) Cause ¶ added in v0.3.0
func (e GitRequestValidationError) Cause() error
Cause function returns cause value.
func (GitRequestValidationError) Error ¶ added in v0.3.0
func (e GitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitRequestValidationError) ErrorName ¶ added in v0.3.0
func (e GitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitRequestValidationError) Field ¶ added in v0.3.0
func (e GitRequestValidationError) Field() string
Field function returns field value.
func (GitRequestValidationError) Key ¶ added in v0.3.0
func (e GitRequestValidationError) Key() bool
Key function returns key value.
func (GitRequestValidationError) Reason ¶ added in v0.3.0
func (e GitRequestValidationError) Reason() string
Reason function returns reason value.
type GrantAuthrolePolicyReply ¶
type GrantAuthrolePolicyReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*GrantAuthrolePolicyReply) Descriptor
deprecated
func (*GrantAuthrolePolicyReply) Descriptor() ([]byte, []int)
Deprecated: Use GrantAuthrolePolicyReply.ProtoReflect.Descriptor instead.
func (*GrantAuthrolePolicyReply) GetMsg ¶
func (x *GrantAuthrolePolicyReply) GetMsg() string
func (*GrantAuthrolePolicyReply) ProtoMessage ¶
func (*GrantAuthrolePolicyReply) ProtoMessage()
func (*GrantAuthrolePolicyReply) ProtoReflect ¶
func (x *GrantAuthrolePolicyReply) ProtoReflect() protoreflect.Message
func (*GrantAuthrolePolicyReply) Reset ¶
func (x *GrantAuthrolePolicyReply) Reset()
func (*GrantAuthrolePolicyReply) String ¶
func (x *GrantAuthrolePolicyReply) String() string
func (*GrantAuthrolePolicyReply) Validate ¶ added in v0.3.0
func (m *GrantAuthrolePolicyReply) Validate() error
Validate checks the field values on GrantAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GrantAuthrolePolicyReply) ValidateAll ¶ added in v0.3.0
func (m *GrantAuthrolePolicyReply) ValidateAll() error
ValidateAll checks the field values on GrantAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantAuthrolePolicyReplyMultiError, or nil if none found.
type GrantAuthrolePolicyReplyMultiError ¶ added in v0.3.0
type GrantAuthrolePolicyReplyMultiError []error
GrantAuthrolePolicyReplyMultiError is an error wrapping multiple validation errors returned by GrantAuthrolePolicyReply.ValidateAll() if the designated constraints aren't met.
func (GrantAuthrolePolicyReplyMultiError) AllErrors ¶ added in v0.3.0
func (m GrantAuthrolePolicyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantAuthrolePolicyReplyMultiError) Error ¶ added in v0.3.0
func (m GrantAuthrolePolicyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantAuthrolePolicyReplyValidationError ¶ added in v0.3.0
type GrantAuthrolePolicyReplyValidationError struct {
// contains filtered or unexported fields
}
GrantAuthrolePolicyReplyValidationError is the validation error returned by GrantAuthrolePolicyReply.Validate if the designated constraints aren't met.
func (GrantAuthrolePolicyReplyValidationError) Cause ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) Cause() error
Cause function returns cause value.
func (GrantAuthrolePolicyReplyValidationError) Error ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GrantAuthrolePolicyReplyValidationError) ErrorName ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GrantAuthrolePolicyReplyValidationError) Field ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) Field() string
Field function returns field value.
func (GrantAuthrolePolicyReplyValidationError) Key ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) Key() bool
Key function returns key value.
func (GrantAuthrolePolicyReplyValidationError) Reason ¶ added in v0.3.0
func (e GrantAuthrolePolicyReplyValidationError) Reason() string
Reason function returns reason value.
type GrantTarget ¶
type HealthHTTPClient ¶
type HealthHTTPClient interface {
Health(ctx context.Context, req *HealthRequest, opts ...http.CallOption) (rsp *HealthReply, err error)
}
func NewHealthHTTPClient ¶
func NewHealthHTTPClient(client *http.Client) HealthHTTPClient
type HealthHTTPClientImpl ¶
type HealthHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*HealthHTTPClientImpl) Health ¶
func (c *HealthHTTPClientImpl) Health(ctx context.Context, in *HealthRequest, opts ...http.CallOption) (*HealthReply, error)
type HealthHTTPServer ¶
type HealthHTTPServer interface {
Health(context.Context, *HealthRequest) (*HealthReply, error)
}
type HealthReply ¶
type HealthReply struct { StandBy bool `protobuf:"varint,1,opt,name=standBy,proto3" json:"standBy,omitempty"` Vault bool `protobuf:"varint,2,opt,name=vault,proto3" json:"vault,omitempty"` // contains filtered or unexported fields }
func (*HealthReply) Descriptor
deprecated
func (*HealthReply) Descriptor() ([]byte, []int)
Deprecated: Use HealthReply.ProtoReflect.Descriptor instead.
func (*HealthReply) GetStandBy ¶
func (x *HealthReply) GetStandBy() bool
func (*HealthReply) GetVault ¶
func (x *HealthReply) GetVault() bool
func (*HealthReply) ProtoMessage ¶
func (*HealthReply) ProtoMessage()
func (*HealthReply) ProtoReflect ¶
func (x *HealthReply) ProtoReflect() protoreflect.Message
func (*HealthReply) Reset ¶
func (x *HealthReply) Reset()
func (*HealthReply) String ¶
func (x *HealthReply) String() string
type HealthRequest ¶
type HealthRequest struct {
// contains filtered or unexported fields
}
func (*HealthRequest) Descriptor
deprecated
func (*HealthRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.
func (*HealthRequest) ProtoMessage ¶
func (*HealthRequest) ProtoMessage()
func (*HealthRequest) ProtoReflect ¶
func (x *HealthRequest) ProtoReflect() protoreflect.Message
func (*HealthRequest) Reset ¶
func (x *HealthRequest) Reset()
func (*HealthRequest) String ¶
func (x *HealthRequest) String() string
type Kubernetes ¶
type Kubernetes struct { // Kubernetes URL Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Kubernetes cabundle when url is https Cabundle string `protobuf:"bytes,2,opt,name=cabundle,proto3" json:"cabundle,omitempty"` // The k8s service account token witch has "system:auth-delegator" role Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Kubernetes) Descriptor
deprecated
func (*Kubernetes) Descriptor() ([]byte, []int)
Deprecated: Use Kubernetes.ProtoReflect.Descriptor instead.
func (*Kubernetes) GetCabundle ¶
func (x *Kubernetes) GetCabundle() string
func (*Kubernetes) GetToken ¶ added in v0.3.0
func (x *Kubernetes) GetToken() string
func (*Kubernetes) GetUrl ¶
func (x *Kubernetes) GetUrl() string
func (*Kubernetes) ProtoMessage ¶
func (*Kubernetes) ProtoMessage()
func (*Kubernetes) ProtoReflect ¶
func (x *Kubernetes) ProtoReflect() protoreflect.Message
func (*Kubernetes) Reset ¶
func (x *Kubernetes) Reset()
func (*Kubernetes) String ¶
func (x *Kubernetes) String() string
func (*Kubernetes) Validate ¶ added in v0.3.0
func (m *Kubernetes) Validate() error
Validate checks the field values on Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Kubernetes) ValidateAll ¶ added in v0.3.0
func (m *Kubernetes) ValidateAll() error
ValidateAll checks the field values on Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesMultiError, or nil if none found.
type KubernetesAuthRoleMeta ¶
type KubernetesAuthRoleMeta struct { Namespaces []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"` ServiceAccounts []string `protobuf:"bytes,2,rep,name=service_accounts,proto3" json:"service_accounts,omitempty"` // contains filtered or unexported fields }
func (*KubernetesAuthRoleMeta) Descriptor
deprecated
func (*KubernetesAuthRoleMeta) Descriptor() ([]byte, []int)
Deprecated: Use KubernetesAuthRoleMeta.ProtoReflect.Descriptor instead.
func (*KubernetesAuthRoleMeta) GetNamespaces ¶
func (x *KubernetesAuthRoleMeta) GetNamespaces() []string
func (*KubernetesAuthRoleMeta) GetServiceAccounts ¶ added in v0.3.0
func (x *KubernetesAuthRoleMeta) GetServiceAccounts() []string
func (*KubernetesAuthRoleMeta) ProtoMessage ¶
func (*KubernetesAuthRoleMeta) ProtoMessage()
func (*KubernetesAuthRoleMeta) ProtoReflect ¶
func (x *KubernetesAuthRoleMeta) ProtoReflect() protoreflect.Message
func (*KubernetesAuthRoleMeta) Reset ¶
func (x *KubernetesAuthRoleMeta) Reset()
func (*KubernetesAuthRoleMeta) String ¶
func (x *KubernetesAuthRoleMeta) String() string
func (*KubernetesAuthRoleMeta) Validate ¶ added in v0.3.0
func (m *KubernetesAuthRoleMeta) Validate() error
Validate checks the field values on KubernetesAuthRoleMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*KubernetesAuthRoleMeta) ValidateAll ¶ added in v0.3.0
func (m *KubernetesAuthRoleMeta) ValidateAll() error
ValidateAll checks the field values on KubernetesAuthRoleMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesAuthRoleMetaMultiError, or nil if none found.
type KubernetesAuthRoleMetaMultiError ¶ added in v0.3.0
type KubernetesAuthRoleMetaMultiError []error
KubernetesAuthRoleMetaMultiError is an error wrapping multiple validation errors returned by KubernetesAuthRoleMeta.ValidateAll() if the designated constraints aren't met.
func (KubernetesAuthRoleMetaMultiError) AllErrors ¶ added in v0.3.0
func (m KubernetesAuthRoleMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubernetesAuthRoleMetaMultiError) Error ¶ added in v0.3.0
func (m KubernetesAuthRoleMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubernetesAuthRoleMetaValidationError ¶ added in v0.3.0
type KubernetesAuthRoleMetaValidationError struct {
// contains filtered or unexported fields
}
KubernetesAuthRoleMetaValidationError is the validation error returned by KubernetesAuthRoleMeta.Validate if the designated constraints aren't met.
func (KubernetesAuthRoleMetaValidationError) Cause ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) Cause() error
Cause function returns cause value.
func (KubernetesAuthRoleMetaValidationError) Error ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) Error() string
Error satisfies the builtin error interface
func (KubernetesAuthRoleMetaValidationError) ErrorName ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) ErrorName() string
ErrorName returns error name.
func (KubernetesAuthRoleMetaValidationError) Field ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) Field() string
Field function returns field value.
func (KubernetesAuthRoleMetaValidationError) Key ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) Key() bool
Key function returns key value.
func (KubernetesAuthRoleMetaValidationError) Reason ¶ added in v0.3.0
func (e KubernetesAuthRoleMetaValidationError) Reason() string
Reason function returns reason value.
type KubernetesMultiError ¶ added in v0.3.0
type KubernetesMultiError []error
KubernetesMultiError is an error wrapping multiple validation errors returned by Kubernetes.ValidateAll() if the designated constraints aren't met.
func (KubernetesMultiError) AllErrors ¶ added in v0.3.0
func (m KubernetesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubernetesMultiError) Error ¶ added in v0.3.0
func (m KubernetesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubernetesValidationError ¶ added in v0.3.0
type KubernetesValidationError struct {
// contains filtered or unexported fields
}
KubernetesValidationError is the validation error returned by Kubernetes.Validate if the designated constraints aren't met.
func (KubernetesValidationError) Cause ¶ added in v0.3.0
func (e KubernetesValidationError) Cause() error
Cause function returns cause value.
func (KubernetesValidationError) Error ¶ added in v0.3.0
func (e KubernetesValidationError) Error() string
Error satisfies the builtin error interface
func (KubernetesValidationError) ErrorName ¶ added in v0.3.0
func (e KubernetesValidationError) ErrorName() string
ErrorName returns error name.
func (KubernetesValidationError) Field ¶ added in v0.3.0
func (e KubernetesValidationError) Field() string
Field function returns field value.
func (KubernetesValidationError) Key ¶ added in v0.3.0
func (e KubernetesValidationError) Key() bool
Key function returns key value.
func (KubernetesValidationError) Reason ¶ added in v0.3.0
func (e KubernetesValidationError) Reason() string
Reason function returns reason value.
type PkiRequest ¶
type PkiRequest struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` Cacert string `protobuf:"bytes,2,opt,name=cacert,proto3" json:"cacert,omitempty"` Cert string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"` Key string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
PKI DEFINE
func (*PkiRequest) Descriptor
deprecated
func (*PkiRequest) Descriptor() ([]byte, []int)
Deprecated: Use PkiRequest.ProtoReflect.Descriptor instead.
func (*PkiRequest) GetCacert ¶
func (x *PkiRequest) GetCacert() string
func (*PkiRequest) GetCert ¶
func (x *PkiRequest) GetCert() string
func (*PkiRequest) GetDomain ¶
func (x *PkiRequest) GetDomain() string
func (*PkiRequest) GetKey ¶
func (x *PkiRequest) GetKey() string
func (*PkiRequest) ProtoMessage ¶
func (*PkiRequest) ProtoMessage()
func (*PkiRequest) ProtoReflect ¶
func (x *PkiRequest) ProtoReflect() protoreflect.Message
func (*PkiRequest) Reset ¶
func (x *PkiRequest) Reset()
func (*PkiRequest) String ¶
func (x *PkiRequest) String() string
func (*PkiRequest) Validate ¶ added in v0.3.0
func (m *PkiRequest) Validate() error
Validate checks the field values on PkiRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PkiRequest) ValidateAll ¶ added in v0.3.0
func (m *PkiRequest) ValidateAll() error
ValidateAll checks the field values on PkiRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PkiRequestMultiError, or nil if none found.
type PkiRequestMultiError ¶ added in v0.3.0
type PkiRequestMultiError []error
PkiRequestMultiError is an error wrapping multiple validation errors returned by PkiRequest.ValidateAll() if the designated constraints aren't met.
func (PkiRequestMultiError) AllErrors ¶ added in v0.3.0
func (m PkiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PkiRequestMultiError) Error ¶ added in v0.3.0
func (m PkiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PkiRequestValidationError ¶ added in v0.3.0
type PkiRequestValidationError struct {
// contains filtered or unexported fields
}
PkiRequestValidationError is the validation error returned by PkiRequest.Validate if the designated constraints aren't met.
func (PkiRequestValidationError) Cause ¶ added in v0.3.0
func (e PkiRequestValidationError) Cause() error
Cause function returns cause value.
func (PkiRequestValidationError) Error ¶ added in v0.3.0
func (e PkiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PkiRequestValidationError) ErrorName ¶ added in v0.3.0
func (e PkiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PkiRequestValidationError) Field ¶ added in v0.3.0
func (e PkiRequestValidationError) Field() string
Field function returns field value.
func (PkiRequestValidationError) Key ¶ added in v0.3.0
func (e PkiRequestValidationError) Key() bool
Key function returns key value.
func (PkiRequestValidationError) Reason ¶ added in v0.3.0
func (e PkiRequestValidationError) Reason() string
Reason function returns reason value.
type RepoAccount ¶
type RepoAccount struct { AuthType string `protobuf:"bytes,1,opt,name=auth_type,proto3" json:"auth_type,omitempty"` Token *Token `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` Account *Account `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"` Additionals map[string]string `` /* 163-byte string literal not displayed */ // contains filtered or unexported fields }
REPO DEFINE
func (*RepoAccount) Descriptor
deprecated
func (*RepoAccount) Descriptor() ([]byte, []int)
Deprecated: Use RepoAccount.ProtoReflect.Descriptor instead.
func (*RepoAccount) GetAccount ¶ added in v0.4.0
func (x *RepoAccount) GetAccount() *Account
func (*RepoAccount) GetAdditionals ¶ added in v0.4.0
func (x *RepoAccount) GetAdditionals() map[string]string
func (*RepoAccount) GetAuthType ¶ added in v0.4.0
func (x *RepoAccount) GetAuthType() string
func (*RepoAccount) GetToken ¶ added in v0.4.0
func (x *RepoAccount) GetToken() *Token
func (*RepoAccount) ProtoMessage ¶
func (*RepoAccount) ProtoMessage()
func (*RepoAccount) ProtoReflect ¶
func (x *RepoAccount) ProtoReflect() protoreflect.Message
func (*RepoAccount) Reset ¶
func (x *RepoAccount) Reset()
func (*RepoAccount) String ¶
func (x *RepoAccount) String() string
func (*RepoAccount) Validate ¶ added in v0.3.0
func (m *RepoAccount) Validate() error
Validate checks the field values on RepoAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RepoAccount) ValidateAll ¶ added in v0.3.0
func (m *RepoAccount) ValidateAll() error
ValidateAll checks the field values on RepoAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepoAccountMultiError, or nil if none found.
type RepoAccountMultiError ¶ added in v0.3.0
type RepoAccountMultiError []error
RepoAccountMultiError is an error wrapping multiple validation errors returned by RepoAccount.ValidateAll() if the designated constraints aren't met.
func (RepoAccountMultiError) AllErrors ¶ added in v0.3.0
func (m RepoAccountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoAccountMultiError) Error ¶ added in v0.3.0
func (m RepoAccountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoAccountValidationError ¶ added in v0.3.0
type RepoAccountValidationError struct {
// contains filtered or unexported fields
}
RepoAccountValidationError is the validation error returned by RepoAccount.Validate if the designated constraints aren't met.
func (RepoAccountValidationError) Cause ¶ added in v0.3.0
func (e RepoAccountValidationError) Cause() error
Cause function returns cause value.
func (RepoAccountValidationError) Error ¶ added in v0.3.0
func (e RepoAccountValidationError) Error() string
Error satisfies the builtin error interface
func (RepoAccountValidationError) ErrorName ¶ added in v0.3.0
func (e RepoAccountValidationError) ErrorName() string
ErrorName returns error name.
func (RepoAccountValidationError) Field ¶ added in v0.3.0
func (e RepoAccountValidationError) Field() string
Field function returns field value.
func (RepoAccountValidationError) Key ¶ added in v0.3.0
func (e RepoAccountValidationError) Key() bool
Key function returns key value.
func (RepoAccountValidationError) Reason ¶ added in v0.3.0
func (e RepoAccountValidationError) Reason() string
Reason function returns reason value.
type RepoMeta ¶ added in v0.3.0
type RepoMeta struct { ProviderId string `protobuf:"bytes,1,opt,name=provider_id,proto3" json:"provider_id,omitempty"` // Witch kind of repo it is, such as pip, docker images. Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*RepoMeta) Descriptor
deprecated
added in
v0.3.0
func (*RepoMeta) GetNames ¶ added in v0.3.0
func (x *RepoMeta) GetNames() (*SecretMeta, error)
func (*RepoMeta) GetProduct ¶ added in v0.4.0
func (*RepoMeta) GetProject ¶ added in v0.4.0
func (*RepoMeta) GetProviderId ¶ added in v0.3.0
func (*RepoMeta) ProtoMessage ¶ added in v0.3.0
func (*RepoMeta) ProtoMessage()
func (*RepoMeta) ProtoReflect ¶ added in v0.3.0
func (x *RepoMeta) ProtoReflect() protoreflect.Message
func (*RepoMeta) Validate ¶ added in v0.3.0
Validate checks the field values on RepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RepoMeta) ValidateAll ¶ added in v0.3.0
ValidateAll checks the field values on RepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepoMetaMultiError, or nil if none found.
type RepoMetaMultiError ¶ added in v0.3.0
type RepoMetaMultiError []error
RepoMetaMultiError is an error wrapping multiple validation errors returned by RepoMeta.ValidateAll() if the designated constraints aren't met.
func (RepoMetaMultiError) AllErrors ¶ added in v0.3.0
func (m RepoMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoMetaMultiError) Error ¶ added in v0.3.0
func (m RepoMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoMetaValidationError ¶ added in v0.3.0
type RepoMetaValidationError struct {
// contains filtered or unexported fields
}
RepoMetaValidationError is the validation error returned by RepoMeta.Validate if the designated constraints aren't met.
func (RepoMetaValidationError) Cause ¶ added in v0.3.0
func (e RepoMetaValidationError) Cause() error
Cause function returns cause value.
func (RepoMetaValidationError) Error ¶ added in v0.3.0
func (e RepoMetaValidationError) Error() string
Error satisfies the builtin error interface
func (RepoMetaValidationError) ErrorName ¶ added in v0.3.0
func (e RepoMetaValidationError) ErrorName() string
ErrorName returns error name.
func (RepoMetaValidationError) Field ¶ added in v0.3.0
func (e RepoMetaValidationError) Field() string
Field function returns field value.
func (RepoMetaValidationError) Key ¶ added in v0.3.0
func (e RepoMetaValidationError) Key() bool
Key function returns key value.
func (RepoMetaValidationError) Reason ¶ added in v0.3.0
func (e RepoMetaValidationError) Reason() string
Reason function returns reason value.
type RepoRequest ¶
type RepoRequest struct { Meta *RepoMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Account *RepoAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*RepoRequest) ConvertRequest ¶
func (x *RepoRequest) ConvertRequest() (*SecretRequest, error)
func (*RepoRequest) Descriptor
deprecated
func (*RepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepoRequest.ProtoReflect.Descriptor instead.
func (*RepoRequest) GetAccount ¶
func (x *RepoRequest) GetAccount() *RepoAccount
func (*RepoRequest) GetMeta ¶ added in v0.3.0
func (x *RepoRequest) GetMeta() *RepoMeta
func (*RepoRequest) ProtoMessage ¶
func (*RepoRequest) ProtoMessage()
func (*RepoRequest) ProtoReflect ¶
func (x *RepoRequest) ProtoReflect() protoreflect.Message
func (*RepoRequest) Reset ¶
func (x *RepoRequest) Reset()
func (*RepoRequest) String ¶
func (x *RepoRequest) String() string
func (*RepoRequest) Validate ¶ added in v0.3.0
func (m *RepoRequest) Validate() error
Validate checks the field values on RepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RepoRequest) ValidateAll ¶ added in v0.3.0
func (m *RepoRequest) ValidateAll() error
ValidateAll checks the field values on RepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepoRequestMultiError, or nil if none found.
type RepoRequestMultiError ¶ added in v0.3.0
type RepoRequestMultiError []error
RepoRequestMultiError is an error wrapping multiple validation errors returned by RepoRequest.ValidateAll() if the designated constraints aren't met.
func (RepoRequestMultiError) AllErrors ¶ added in v0.3.0
func (m RepoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoRequestMultiError) Error ¶ added in v0.3.0
func (m RepoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoRequestValidationError ¶ added in v0.3.0
type RepoRequestValidationError struct {
// contains filtered or unexported fields
}
RepoRequestValidationError is the validation error returned by RepoRequest.Validate if the designated constraints aren't met.
func (RepoRequestValidationError) Cause ¶ added in v0.3.0
func (e RepoRequestValidationError) Cause() error
Cause function returns cause value.
func (RepoRequestValidationError) Error ¶ added in v0.3.0
func (e RepoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RepoRequestValidationError) ErrorName ¶ added in v0.3.0
func (e RepoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RepoRequestValidationError) Field ¶ added in v0.3.0
func (e RepoRequestValidationError) Field() string
Field function returns field value.
func (RepoRequestValidationError) Key ¶ added in v0.3.0
func (e RepoRequestValidationError) Key() bool
Key function returns key value.
func (RepoRequestValidationError) Reason ¶ added in v0.3.0
func (e RepoRequestValidationError) Reason() string
Reason function returns reason value.
type RevokeAuthrolePolicyReply ¶
type RevokeAuthrolePolicyReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*RevokeAuthrolePolicyReply) Descriptor
deprecated
func (*RevokeAuthrolePolicyReply) Descriptor() ([]byte, []int)
Deprecated: Use RevokeAuthrolePolicyReply.ProtoReflect.Descriptor instead.
func (*RevokeAuthrolePolicyReply) GetMsg ¶
func (x *RevokeAuthrolePolicyReply) GetMsg() string
func (*RevokeAuthrolePolicyReply) ProtoMessage ¶
func (*RevokeAuthrolePolicyReply) ProtoMessage()
func (*RevokeAuthrolePolicyReply) ProtoReflect ¶
func (x *RevokeAuthrolePolicyReply) ProtoReflect() protoreflect.Message
func (*RevokeAuthrolePolicyReply) Reset ¶
func (x *RevokeAuthrolePolicyReply) Reset()
func (*RevokeAuthrolePolicyReply) String ¶
func (x *RevokeAuthrolePolicyReply) String() string
func (*RevokeAuthrolePolicyReply) Validate ¶ added in v0.3.0
func (m *RevokeAuthrolePolicyReply) Validate() error
Validate checks the field values on RevokeAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RevokeAuthrolePolicyReply) ValidateAll ¶ added in v0.3.0
func (m *RevokeAuthrolePolicyReply) ValidateAll() error
ValidateAll checks the field values on RevokeAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevokeAuthrolePolicyReplyMultiError, or nil if none found.
type RevokeAuthrolePolicyReplyMultiError ¶ added in v0.3.0
type RevokeAuthrolePolicyReplyMultiError []error
RevokeAuthrolePolicyReplyMultiError is an error wrapping multiple validation errors returned by RevokeAuthrolePolicyReply.ValidateAll() if the designated constraints aren't met.
func (RevokeAuthrolePolicyReplyMultiError) AllErrors ¶ added in v0.3.0
func (m RevokeAuthrolePolicyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RevokeAuthrolePolicyReplyMultiError) Error ¶ added in v0.3.0
func (m RevokeAuthrolePolicyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RevokeAuthrolePolicyReplyValidationError ¶ added in v0.3.0
type RevokeAuthrolePolicyReplyValidationError struct {
// contains filtered or unexported fields
}
RevokeAuthrolePolicyReplyValidationError is the validation error returned by RevokeAuthrolePolicyReply.Validate if the designated constraints aren't met.
func (RevokeAuthrolePolicyReplyValidationError) Cause ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) Cause() error
Cause function returns cause value.
func (RevokeAuthrolePolicyReplyValidationError) Error ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RevokeAuthrolePolicyReplyValidationError) ErrorName ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RevokeAuthrolePolicyReplyValidationError) Field ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) Field() string
Field function returns field value.
func (RevokeAuthrolePolicyReplyValidationError) Key ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) Key() bool
Key function returns key value.
func (RevokeAuthrolePolicyReplyValidationError) Reason ¶ added in v0.3.0
func (e RevokeAuthrolePolicyReplyValidationError) Reason() string
Reason function returns reason value.
type SecRequest ¶
type SecRequest interface {
ConvertRequest() (*SecretRequest, error)
}
type SecretHTTPClient ¶
type SecretHTTPClient interface { CreateCluster(ctx context.Context, req *ClusterRequest, opts ...http.CallOption) (rsp *CreateClusterReply, err error) CreateGit(ctx context.Context, req *GitRequest, opts ...http.CallOption) (rsp *CreateGitReply, err error) CreatePki(ctx context.Context, req *PkiRequest, opts ...http.CallOption) (rsp *CreatePkiReply, err error) CreateRepoAccount(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *CreateRepoReply, err error) CreateTenantRepo(ctx context.Context, req *TenantRepoRequest, opts ...http.CallOption) (rsp *CreateTenantRepoReply, err error) CreteTenantGit(ctx context.Context, req *TenantGitRequest, opts ...http.CallOption) (rsp *CreateTenantGitReply, err error) DeleteCluster(ctx context.Context, req *ClusterRequest, opts ...http.CallOption) (rsp *DeleteClusterReply, err error) DeleteGit(ctx context.Context, req *GitRequest, opts ...http.CallOption) (rsp *DeleteGitReply, err error) DeletePki(ctx context.Context, req *PkiRequest, opts ...http.CallOption) (rsp *DeletePkiReply, err error) DeleteRepoAccountProduct(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *DeleteRepoReply, err error) DeleteRepoAccountProject(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *DeleteRepoReply, err error) DeleteTenantGit(ctx context.Context, req *TenantGitRequest, opts ...http.CallOption) (rsp *DeleteTenantGitReply, err error) DeleteTenantRepo(ctx context.Context, req *TenantRepoRequest, opts ...http.CallOption) (rsp *DeleteTenantRepoReply, err error) }
func NewSecretHTTPClient ¶
func NewSecretHTTPClient(client *http.Client) SecretHTTPClient
type SecretHTTPClientImpl ¶
type SecretHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*SecretHTTPClientImpl) CreateCluster ¶
func (c *SecretHTTPClientImpl) CreateCluster(ctx context.Context, in *ClusterRequest, opts ...http.CallOption) (*CreateClusterReply, error)
func (*SecretHTTPClientImpl) CreateGit ¶
func (c *SecretHTTPClientImpl) CreateGit(ctx context.Context, in *GitRequest, opts ...http.CallOption) (*CreateGitReply, error)
func (*SecretHTTPClientImpl) CreatePki ¶
func (c *SecretHTTPClientImpl) CreatePki(ctx context.Context, in *PkiRequest, opts ...http.CallOption) (*CreatePkiReply, error)
func (*SecretHTTPClientImpl) CreateRepoAccount ¶ added in v0.4.0
func (c *SecretHTTPClientImpl) CreateRepoAccount(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*CreateRepoReply, error)
func (*SecretHTTPClientImpl) CreateTenantRepo ¶
func (c *SecretHTTPClientImpl) CreateTenantRepo(ctx context.Context, in *TenantRepoRequest, opts ...http.CallOption) (*CreateTenantRepoReply, error)
func (*SecretHTTPClientImpl) CreteTenantGit ¶
func (c *SecretHTTPClientImpl) CreteTenantGit(ctx context.Context, in *TenantGitRequest, opts ...http.CallOption) (*CreateTenantGitReply, error)
func (*SecretHTTPClientImpl) DeleteCluster ¶
func (c *SecretHTTPClientImpl) DeleteCluster(ctx context.Context, in *ClusterRequest, opts ...http.CallOption) (*DeleteClusterReply, error)
func (*SecretHTTPClientImpl) DeleteGit ¶
func (c *SecretHTTPClientImpl) DeleteGit(ctx context.Context, in *GitRequest, opts ...http.CallOption) (*DeleteGitReply, error)
func (*SecretHTTPClientImpl) DeletePki ¶
func (c *SecretHTTPClientImpl) DeletePki(ctx context.Context, in *PkiRequest, opts ...http.CallOption) (*DeletePkiReply, error)
func (*SecretHTTPClientImpl) DeleteRepoAccountProduct ¶ added in v0.4.0
func (c *SecretHTTPClientImpl) DeleteRepoAccountProduct(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)
func (*SecretHTTPClientImpl) DeleteRepoAccountProject ¶ added in v0.4.0
func (c *SecretHTTPClientImpl) DeleteRepoAccountProject(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)
func (*SecretHTTPClientImpl) DeleteTenantGit ¶
func (c *SecretHTTPClientImpl) DeleteTenantGit(ctx context.Context, in *TenantGitRequest, opts ...http.CallOption) (*DeleteTenantGitReply, error)
func (*SecretHTTPClientImpl) DeleteTenantRepo ¶
func (c *SecretHTTPClientImpl) DeleteTenantRepo(ctx context.Context, in *TenantRepoRequest, opts ...http.CallOption) (*DeleteTenantRepoReply, error)
type SecretHTTPServer ¶
type SecretHTTPServer interface { CreateCluster(context.Context, *ClusterRequest) (*CreateClusterReply, error) CreateGit(context.Context, *GitRequest) (*CreateGitReply, error) CreatePki(context.Context, *PkiRequest) (*CreatePkiReply, error) CreateRepoAccount(context.Context, *RepoRequest) (*CreateRepoReply, error) // CreateTenantRepo//////////////////////////////////////////////////////////////// CreateTenantRepo(context.Context, *TenantRepoRequest) (*CreateTenantRepoReply, error) CreteTenantGit(context.Context, *TenantGitRequest) (*CreateTenantGitReply, error) DeleteCluster(context.Context, *ClusterRequest) (*DeleteClusterReply, error) DeleteGit(context.Context, *GitRequest) (*DeleteGitReply, error) DeletePki(context.Context, *PkiRequest) (*DeletePkiReply, error) DeleteRepoAccountProduct(context.Context, *RepoRequest) (*DeleteRepoReply, error) DeleteRepoAccountProject(context.Context, *RepoRequest) (*DeleteRepoReply, error) DeleteTenantGit(context.Context, *TenantGitRequest) (*DeleteTenantGitReply, error) DeleteTenantRepo(context.Context, *TenantRepoRequest) (*DeleteTenantRepoReply, error) }
type SecretInfo ¶ added in v0.3.0
type SecretInfo struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
func (*SecretInfo) Descriptor
deprecated
added in
v0.3.0
func (*SecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.
func (*SecretInfo) GetName ¶ added in v0.3.0
func (x *SecretInfo) GetName() string
func (*SecretInfo) GetPath ¶ added in v0.3.0
func (x *SecretInfo) GetPath() string
func (*SecretInfo) GetVersion ¶ added in v0.3.0
func (x *SecretInfo) GetVersion() int32
func (*SecretInfo) ProtoMessage ¶ added in v0.3.0
func (*SecretInfo) ProtoMessage()
func (*SecretInfo) ProtoReflect ¶ added in v0.3.0
func (x *SecretInfo) ProtoReflect() protoreflect.Message
func (*SecretInfo) Reset ¶ added in v0.3.0
func (x *SecretInfo) Reset()
func (*SecretInfo) String ¶ added in v0.3.0
func (x *SecretInfo) String() string
func (*SecretInfo) Validate ¶ added in v0.3.0
func (m *SecretInfo) Validate() error
Validate checks the field values on SecretInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SecretInfo) ValidateAll ¶ added in v0.3.0
func (m *SecretInfo) ValidateAll() error
ValidateAll checks the field values on SecretInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecretInfoMultiError, or nil if none found.
type SecretInfoMultiError ¶ added in v0.3.0
type SecretInfoMultiError []error
SecretInfoMultiError is an error wrapping multiple validation errors returned by SecretInfo.ValidateAll() if the designated constraints aren't met.
func (SecretInfoMultiError) AllErrors ¶ added in v0.3.0
func (m SecretInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecretInfoMultiError) Error ¶ added in v0.3.0
func (m SecretInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecretInfoValidationError ¶ added in v0.3.0
type SecretInfoValidationError struct {
// contains filtered or unexported fields
}
SecretInfoValidationError is the validation error returned by SecretInfo.Validate if the designated constraints aren't met.
func (SecretInfoValidationError) Cause ¶ added in v0.3.0
func (e SecretInfoValidationError) Cause() error
Cause function returns cause value.
func (SecretInfoValidationError) Error ¶ added in v0.3.0
func (e SecretInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SecretInfoValidationError) ErrorName ¶ added in v0.3.0
func (e SecretInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SecretInfoValidationError) Field ¶ added in v0.3.0
func (e SecretInfoValidationError) Field() string
Field function returns field value.
func (SecretInfoValidationError) Key ¶ added in v0.3.0
func (e SecretInfoValidationError) Key() bool
Key function returns key value.
func (SecretInfoValidationError) Reason ¶ added in v0.3.0
func (e SecretInfoValidationError) Reason() string
Reason function returns reason value.
type SecretMeta ¶ added in v0.3.0
type SecretMeta struct { SecretName string // secret name , use for vault api SecretPath string // secret path , use for vault api SecretType string // secret data type FullPath string // full path of secret use for create policy and authorize PolicyName string // vault policy name, use for authorize and policy create }
type SecretRequest ¶
type SecretRequest struct { SecretMeta SecretData map[string]interface{} PolicyData string }
Store the key info for authorize and vault request
type SecretType ¶
type SecretType int
const ( GIT SecretType = iota REPO CLUSTER TENANTGIT TENANTREPO )
func (SecretType) String ¶
func (s SecretType) String() string
type TenantGitMeta ¶ added in v0.3.0
type TenantGitMeta struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
TENANT DEFINE
func (*TenantGitMeta) Descriptor
deprecated
added in
v0.3.0
func (*TenantGitMeta) Descriptor() ([]byte, []int)
Deprecated: Use TenantGitMeta.ProtoReflect.Descriptor instead.
func (*TenantGitMeta) GetId ¶ added in v0.3.0
func (x *TenantGitMeta) GetId() string
func (*TenantGitMeta) GetNames ¶ added in v0.3.0
func (x *TenantGitMeta) GetNames() (*SecretMeta, error)
func (*TenantGitMeta) GetPermission ¶ added in v0.3.0
func (x *TenantGitMeta) GetPermission() string
func (*TenantGitMeta) ProtoMessage ¶ added in v0.3.0
func (*TenantGitMeta) ProtoMessage()
func (*TenantGitMeta) ProtoReflect ¶ added in v0.3.0
func (x *TenantGitMeta) ProtoReflect() protoreflect.Message
func (*TenantGitMeta) Reset ¶ added in v0.3.0
func (x *TenantGitMeta) Reset()
func (*TenantGitMeta) String ¶ added in v0.3.0
func (x *TenantGitMeta) String() string
func (*TenantGitMeta) Validate ¶ added in v0.3.0
func (m *TenantGitMeta) Validate() error
Validate checks the field values on TenantGitMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TenantGitMeta) ValidateAll ¶ added in v0.3.0
func (m *TenantGitMeta) ValidateAll() error
ValidateAll checks the field values on TenantGitMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantGitMetaMultiError, or nil if none found.
type TenantGitMetaMultiError ¶ added in v0.3.0
type TenantGitMetaMultiError []error
TenantGitMetaMultiError is an error wrapping multiple validation errors returned by TenantGitMeta.ValidateAll() if the designated constraints aren't met.
func (TenantGitMetaMultiError) AllErrors ¶ added in v0.3.0
func (m TenantGitMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantGitMetaMultiError) Error ¶ added in v0.3.0
func (m TenantGitMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantGitMetaValidationError ¶ added in v0.3.0
type TenantGitMetaValidationError struct {
// contains filtered or unexported fields
}
TenantGitMetaValidationError is the validation error returned by TenantGitMeta.Validate if the designated constraints aren't met.
func (TenantGitMetaValidationError) Cause ¶ added in v0.3.0
func (e TenantGitMetaValidationError) Cause() error
Cause function returns cause value.
func (TenantGitMetaValidationError) Error ¶ added in v0.3.0
func (e TenantGitMetaValidationError) Error() string
Error satisfies the builtin error interface
func (TenantGitMetaValidationError) ErrorName ¶ added in v0.3.0
func (e TenantGitMetaValidationError) ErrorName() string
ErrorName returns error name.
func (TenantGitMetaValidationError) Field ¶ added in v0.3.0
func (e TenantGitMetaValidationError) Field() string
Field function returns field value.
func (TenantGitMetaValidationError) Key ¶ added in v0.3.0
func (e TenantGitMetaValidationError) Key() bool
Key function returns key value.
func (TenantGitMetaValidationError) Reason ¶ added in v0.3.0
func (e TenantGitMetaValidationError) Reason() string
Reason function returns reason value.
type TenantGitRequest ¶
type TenantGitRequest struct { Meta *TenantGitMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` // The access info of root user in gitlab or github Kvs *GitKVs `protobuf:"bytes,2,opt,name=kvs,proto3" json:"kvs,omitempty"` // contains filtered or unexported fields }
func (*TenantGitRequest) ConvertRequest ¶
func (x *TenantGitRequest) ConvertRequest() (*SecretRequest, error)
func (*TenantGitRequest) Descriptor
deprecated
func (*TenantGitRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantGitRequest.ProtoReflect.Descriptor instead.
func (*TenantGitRequest) GetKvs ¶ added in v0.3.0
func (x *TenantGitRequest) GetKvs() *GitKVs
func (*TenantGitRequest) GetMeta ¶ added in v0.3.0
func (x *TenantGitRequest) GetMeta() *TenantGitMeta
func (*TenantGitRequest) ProtoMessage ¶
func (*TenantGitRequest) ProtoMessage()
func (*TenantGitRequest) ProtoReflect ¶
func (x *TenantGitRequest) ProtoReflect() protoreflect.Message
func (*TenantGitRequest) Reset ¶
func (x *TenantGitRequest) Reset()
func (*TenantGitRequest) String ¶
func (x *TenantGitRequest) String() string
func (*TenantGitRequest) Validate ¶ added in v0.3.0
func (m *TenantGitRequest) Validate() error
Validate checks the field values on TenantGitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TenantGitRequest) ValidateAll ¶ added in v0.3.0
func (m *TenantGitRequest) ValidateAll() error
ValidateAll checks the field values on TenantGitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantGitRequestMultiError, or nil if none found.
type TenantGitRequestMultiError ¶ added in v0.3.0
type TenantGitRequestMultiError []error
TenantGitRequestMultiError is an error wrapping multiple validation errors returned by TenantGitRequest.ValidateAll() if the designated constraints aren't met.
func (TenantGitRequestMultiError) AllErrors ¶ added in v0.3.0
func (m TenantGitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantGitRequestMultiError) Error ¶ added in v0.3.0
func (m TenantGitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantGitRequestValidationError ¶ added in v0.3.0
type TenantGitRequestValidationError struct {
// contains filtered or unexported fields
}
TenantGitRequestValidationError is the validation error returned by TenantGitRequest.Validate if the designated constraints aren't met.
func (TenantGitRequestValidationError) Cause ¶ added in v0.3.0
func (e TenantGitRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantGitRequestValidationError) Error ¶ added in v0.3.0
func (e TenantGitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantGitRequestValidationError) ErrorName ¶ added in v0.3.0
func (e TenantGitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantGitRequestValidationError) Field ¶ added in v0.3.0
func (e TenantGitRequestValidationError) Field() string
Field function returns field value.
func (TenantGitRequestValidationError) Key ¶ added in v0.3.0
func (e TenantGitRequestValidationError) Key() bool
Key function returns key value.
func (TenantGitRequestValidationError) Reason ¶ added in v0.3.0
func (e TenantGitRequestValidationError) Reason() string
Reason function returns reason value.
type TenantRepoMeta ¶ added in v0.3.0
type TenantRepoMeta struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*TenantRepoMeta) Descriptor
deprecated
added in
v0.3.0
func (*TenantRepoMeta) Descriptor() ([]byte, []int)
Deprecated: Use TenantRepoMeta.ProtoReflect.Descriptor instead.
func (*TenantRepoMeta) GetId ¶ added in v0.3.0
func (x *TenantRepoMeta) GetId() string
func (*TenantRepoMeta) GetNames ¶ added in v0.3.0
func (x *TenantRepoMeta) GetNames() (*SecretMeta, error)
func (*TenantRepoMeta) GetPermission ¶ added in v0.3.0
func (x *TenantRepoMeta) GetPermission() string
func (*TenantRepoMeta) ProtoMessage ¶ added in v0.3.0
func (*TenantRepoMeta) ProtoMessage()
func (*TenantRepoMeta) ProtoReflect ¶ added in v0.3.0
func (x *TenantRepoMeta) ProtoReflect() protoreflect.Message
func (*TenantRepoMeta) Reset ¶ added in v0.3.0
func (x *TenantRepoMeta) Reset()
func (*TenantRepoMeta) String ¶ added in v0.3.0
func (x *TenantRepoMeta) String() string
func (*TenantRepoMeta) Validate ¶ added in v0.3.0
func (m *TenantRepoMeta) Validate() error
Validate checks the field values on TenantRepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TenantRepoMeta) ValidateAll ¶ added in v0.3.0
func (m *TenantRepoMeta) ValidateAll() error
ValidateAll checks the field values on TenantRepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantRepoMetaMultiError, or nil if none found.
type TenantRepoMetaMultiError ¶ added in v0.3.0
type TenantRepoMetaMultiError []error
TenantRepoMetaMultiError is an error wrapping multiple validation errors returned by TenantRepoMeta.ValidateAll() if the designated constraints aren't met.
func (TenantRepoMetaMultiError) AllErrors ¶ added in v0.3.0
func (m TenantRepoMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantRepoMetaMultiError) Error ¶ added in v0.3.0
func (m TenantRepoMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantRepoMetaValidationError ¶ added in v0.3.0
type TenantRepoMetaValidationError struct {
// contains filtered or unexported fields
}
TenantRepoMetaValidationError is the validation error returned by TenantRepoMeta.Validate if the designated constraints aren't met.
func (TenantRepoMetaValidationError) Cause ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) Cause() error
Cause function returns cause value.
func (TenantRepoMetaValidationError) Error ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) Error() string
Error satisfies the builtin error interface
func (TenantRepoMetaValidationError) ErrorName ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) ErrorName() string
ErrorName returns error name.
func (TenantRepoMetaValidationError) Field ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) Field() string
Field function returns field value.
func (TenantRepoMetaValidationError) Key ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) Key() bool
Key function returns key value.
func (TenantRepoMetaValidationError) Reason ¶ added in v0.3.0
func (e TenantRepoMetaValidationError) Reason() string
Reason function returns reason value.
type TenantRepoRequest ¶
type TenantRepoRequest struct { Meta *TenantRepoMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Account *RepoAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"` // contains filtered or unexported fields }
func (*TenantRepoRequest) ConvertRequest ¶
func (x *TenantRepoRequest) ConvertRequest() (*SecretRequest, error)
func (*TenantRepoRequest) Descriptor
deprecated
func (*TenantRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantRepoRequest.ProtoReflect.Descriptor instead.
func (*TenantRepoRequest) GetAccount ¶
func (x *TenantRepoRequest) GetAccount() *RepoAccount
func (*TenantRepoRequest) GetMeta ¶ added in v0.3.0
func (x *TenantRepoRequest) GetMeta() *TenantRepoMeta
func (*TenantRepoRequest) ProtoMessage ¶
func (*TenantRepoRequest) ProtoMessage()
func (*TenantRepoRequest) ProtoReflect ¶
func (x *TenantRepoRequest) ProtoReflect() protoreflect.Message
func (*TenantRepoRequest) Reset ¶
func (x *TenantRepoRequest) Reset()
func (*TenantRepoRequest) String ¶
func (x *TenantRepoRequest) String() string
func (*TenantRepoRequest) Validate ¶ added in v0.3.0
func (m *TenantRepoRequest) Validate() error
Validate checks the field values on TenantRepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TenantRepoRequest) ValidateAll ¶ added in v0.3.0
func (m *TenantRepoRequest) ValidateAll() error
ValidateAll checks the field values on TenantRepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantRepoRequestMultiError, or nil if none found.
type TenantRepoRequestMultiError ¶ added in v0.3.0
type TenantRepoRequestMultiError []error
TenantRepoRequestMultiError is an error wrapping multiple validation errors returned by TenantRepoRequest.ValidateAll() if the designated constraints aren't met.
func (TenantRepoRequestMultiError) AllErrors ¶ added in v0.3.0
func (m TenantRepoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantRepoRequestMultiError) Error ¶ added in v0.3.0
func (m TenantRepoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantRepoRequestValidationError ¶ added in v0.3.0
type TenantRepoRequestValidationError struct {
// contains filtered or unexported fields
}
TenantRepoRequestValidationError is the validation error returned by TenantRepoRequest.Validate if the designated constraints aren't met.
func (TenantRepoRequestValidationError) Cause ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantRepoRequestValidationError) Error ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantRepoRequestValidationError) ErrorName ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantRepoRequestValidationError) Field ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) Field() string
Field function returns field value.
func (TenantRepoRequestValidationError) Key ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) Key() bool
Key function returns key value.
func (TenantRepoRequestValidationError) Reason ¶ added in v0.3.0
func (e TenantRepoRequestValidationError) Reason() string
Reason function returns reason value.
type Token ¶ added in v0.4.0
type Token struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*Token) Descriptor
deprecated
added in
v0.4.0
func (*Token) ProtoMessage ¶ added in v0.4.0
func (*Token) ProtoMessage()
func (*Token) ProtoReflect ¶ added in v0.4.0
func (x *Token) ProtoReflect() protoreflect.Message
func (*Token) Validate ¶ added in v0.4.0
Validate checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Token) ValidateAll ¶ added in v0.4.0
ValidateAll checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TokenMultiError, or nil if none found.
type TokenMultiError ¶ added in v0.4.0
type TokenMultiError []error
TokenMultiError is an error wrapping multiple validation errors returned by Token.ValidateAll() if the designated constraints aren't met.
func (TokenMultiError) AllErrors ¶ added in v0.4.0
func (m TokenMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenMultiError) Error ¶ added in v0.4.0
func (m TokenMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenValidationError ¶ added in v0.4.0
type TokenValidationError struct {
// contains filtered or unexported fields
}
TokenValidationError is the validation error returned by Token.Validate if the designated constraints aren't met.
func (TokenValidationError) Cause ¶ added in v0.4.0
func (e TokenValidationError) Cause() error
Cause function returns cause value.
func (TokenValidationError) Error ¶ added in v0.4.0
func (e TokenValidationError) Error() string
Error satisfies the builtin error interface
func (TokenValidationError) ErrorName ¶ added in v0.4.0
func (e TokenValidationError) ErrorName() string
ErrorName returns error name.
func (TokenValidationError) Field ¶ added in v0.4.0
func (e TokenValidationError) Field() string
Field function returns field value.
func (TokenValidationError) Key ¶ added in v0.4.0
func (e TokenValidationError) Key() bool
Key function returns key value.
func (TokenValidationError) Reason ¶ added in v0.4.0
func (e TokenValidationError) Reason() string
Reason function returns reason value.
type VaultTemplate ¶
type VaultTemplate struct {
// contains filtered or unexported fields
}