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{}, vault_tmpl 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 RegisterSecretHTTPServer(s *http.Server, srv SecretHTTPServer)
- 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) GetK8S() *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_K8S
- 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 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) GetPassword() string
- func (x *RepoAccount) GetUsername() string
- 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) GetId() string
- func (x *RepoMeta) GetNames() (*SecretMeta, error)
- func (x *RepoMeta) GetPermission() string
- func (x *RepoMeta) GetProviderId() string
- func (x *RepoMeta) GetType() string
- func (x *RepoMeta) GetUsername() 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) CreateRepo(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) DeleteRepo(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 VaultTemplate
Constants ¶
const ( GitSecretName = "git" RepoSecretName = "repo" ClusterSecretName = "cluster" TenantSecretName = "tenant" )
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 OperationSecretCreateCluster = "/api.vaultproxy.v1.Secret/CreateCluster"
const OperationSecretCreateGit = "/api.vaultproxy.v1.Secret/CreateGit"
const OperationSecretCreatePki = "/api.vaultproxy.v1.Secret/CreatePki"
const OperationSecretCreateRepo = "/api.vaultproxy.v1.Secret/CreateRepo"
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 OperationSecretDeleteRepo = "/api.vaultproxy.v1.Secret/DeleteRepo"
const OperationSecretDeleteTenantGit = "/api.vaultproxy.v1.Secret/DeleteTenantGit"
const OperationSecretDeleteTenantRepo = "/api.vaultproxy.v1.Secret/DeleteTenantRepo"
Variables ¶
var ( SecretPolicy string = "path \"%s\" {\n capabilities = [\"read\"]\n}" GitPolicy string = ` path "git/data/%[1]s" { capabilities = ["read"] } path "git/metadata/%[1]s" { capabilities = ["read"] }` ClusterPolicy string = ` path "cluster/data/%s" { capabilities = ["read"] } path "auth/%s/role/*" { capabilities = ["read"] }` )
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_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{}, vault_tmpl 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 RegisterSecretHTTPServer ¶
func RegisterSecretHTTPServer(s *http.Server, srv SecretHTTPServer)
Types ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthRequestMultiError) Error ¶
func (m AuthRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthRequestValidationError ¶
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 ¶
func (e AuthRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthRequestValidationError) Error ¶
func (e AuthRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthRequestValidationError) ErrorName ¶
func (e AuthRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthRequestValidationError) Field ¶
func (e AuthRequestValidationError) Field() string
Field function returns field value.
func (AuthRequestValidationError) Key ¶
func (e AuthRequestValidationError) Key() bool
Key function returns key value.
func (AuthRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleClusterPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleClusterPolicyRequestMultiError) Error ¶
func (m AuthroleClusterPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleClusterPolicyRequestValidationError ¶
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 ¶
func (e AuthroleClusterPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleClusterPolicyRequestValidationError) Error ¶
func (e AuthroleClusterPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleClusterPolicyRequestValidationError) ErrorName ¶
func (e AuthroleClusterPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleClusterPolicyRequestValidationError) Field ¶
func (e AuthroleClusterPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleClusterPolicyRequestValidationError) Key ¶
func (e AuthroleClusterPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleClusterPolicyRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleGitPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleGitPolicyRequestMultiError) Error ¶
func (m AuthroleGitPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleGitPolicyRequestValidationError ¶
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 ¶
func (e AuthroleGitPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleGitPolicyRequestValidationError) Error ¶
func (e AuthroleGitPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleGitPolicyRequestValidationError) ErrorName ¶
func (e AuthroleGitPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleGitPolicyRequestValidationError) Field ¶
func (e AuthroleGitPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleGitPolicyRequestValidationError) Key ¶
func (e AuthroleGitPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleGitPolicyRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleRepoPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleRepoPolicyRequestMultiError) Error ¶
func (m AuthroleRepoPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleRepoPolicyRequestValidationError ¶
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 ¶
func (e AuthroleRepoPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleRepoPolicyRequestValidationError) Error ¶
func (e AuthroleRepoPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleRepoPolicyRequestValidationError) ErrorName ¶
func (e AuthroleRepoPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleRepoPolicyRequestValidationError) Field ¶
func (e AuthroleRepoPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleRepoPolicyRequestValidationError) Key ¶
func (e AuthroleRepoPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleRepoPolicyRequestValidationError) Reason ¶
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_K8S 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) GetK8S ¶
func (x *AuthroleRequest) GetK8S() *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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleRequestMultiError) Error ¶
func (m AuthroleRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleRequestValidationError ¶
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 ¶
func (e AuthroleRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleRequestValidationError) Error ¶
func (e AuthroleRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleRequestValidationError) ErrorName ¶
func (e AuthroleRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleRequestValidationError) Field ¶
func (e AuthroleRequestValidationError) Field() string
Field function returns field value.
func (AuthroleRequestValidationError) Key ¶
func (e AuthroleRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleRequestValidationError) Reason ¶
func (e AuthroleRequestValidationError) Reason() string
Reason function returns reason value.
type AuthroleRequest_K8S ¶
type AuthroleRequest_K8S struct {
K8S *KubernetesAuthRoleMeta `protobuf:"bytes,3,opt,name=k8s,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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleTenantGitPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleTenantGitPolicyRequestMultiError) Error ¶
func (m AuthroleTenantGitPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleTenantGitPolicyRequestValidationError ¶
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 ¶
func (e AuthroleTenantGitPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleTenantGitPolicyRequestValidationError) Error ¶
func (e AuthroleTenantGitPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleTenantGitPolicyRequestValidationError) ErrorName ¶
func (e AuthroleTenantGitPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleTenantGitPolicyRequestValidationError) Field ¶
func (e AuthroleTenantGitPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleTenantGitPolicyRequestValidationError) Key ¶
func (e AuthroleTenantGitPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleTenantGitPolicyRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m AuthroleTenantRepoPolicyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AuthroleTenantRepoPolicyRequestMultiError) Error ¶
func (m AuthroleTenantRepoPolicyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AuthroleTenantRepoPolicyRequestValidationError ¶
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 ¶
func (e AuthroleTenantRepoPolicyRequestValidationError) Cause() error
Cause function returns cause value.
func (AuthroleTenantRepoPolicyRequestValidationError) Error ¶
func (e AuthroleTenantRepoPolicyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (AuthroleTenantRepoPolicyRequestValidationError) ErrorName ¶
func (e AuthroleTenantRepoPolicyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (AuthroleTenantRepoPolicyRequestValidationError) Field ¶
func (e AuthroleTenantRepoPolicyRequestValidationError) Field() string
Field function returns field value.
func (AuthroleTenantRepoPolicyRequestValidationError) Key ¶
func (e AuthroleTenantRepoPolicyRequestValidationError) Key() bool
Key function returns key value.
func (AuthroleTenantRepoPolicyRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m ClusterAccountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterAccountMultiError) Error ¶
func (m ClusterAccountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterAccountValidationError ¶
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 ¶
func (e ClusterAccountValidationError) Cause() error
Cause function returns cause value.
func (ClusterAccountValidationError) Error ¶
func (e ClusterAccountValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterAccountValidationError) ErrorName ¶
func (e ClusterAccountValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterAccountValidationError) Field ¶
func (e ClusterAccountValidationError) Field() string
Field function returns field value.
func (ClusterAccountValidationError) Key ¶
func (e ClusterAccountValidationError) Key() bool
Key function returns key value.
func (ClusterAccountValidationError) Reason ¶
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 ¶
func (x *ClusterMeta) GetNames() (*SecretMeta, error)
func (*ClusterMeta) GetPermission ¶
func (x *ClusterMeta) GetPermission() string
func (*ClusterMeta) GetType ¶
func (x *ClusterMeta) GetType() string
func (*ClusterMeta) GetUsername ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m ClusterMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterMetaMultiError) Error ¶
func (m ClusterMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterMetaValidationError ¶
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 ¶
func (e ClusterMetaValidationError) Cause() error
Cause function returns cause value.
func (ClusterMetaValidationError) Error ¶
func (e ClusterMetaValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterMetaValidationError) ErrorName ¶
func (e ClusterMetaValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterMetaValidationError) Field ¶
func (e ClusterMetaValidationError) Field() string
Field function returns field value.
func (ClusterMetaValidationError) Key ¶
func (e ClusterMetaValidationError) Key() bool
Key function returns key value.
func (ClusterMetaValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m ClusterRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ClusterRequestMultiError) Error ¶
func (m ClusterRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ClusterRequestValidationError ¶
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 ¶
func (e ClusterRequestValidationError) Cause() error
Cause function returns cause value.
func (ClusterRequestValidationError) Error ¶
func (e ClusterRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ClusterRequestValidationError) ErrorName ¶
func (e ClusterRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ClusterRequestValidationError) Field ¶
func (e ClusterRequestValidationError) Field() string
Field function returns field value.
func (ClusterRequestValidationError) Key ¶
func (e ClusterRequestValidationError) Key() bool
Key function returns key value.
func (ClusterRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAuthReplyMultiError) Error ¶
func (m CreateAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAuthReplyValidationError ¶
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 ¶
func (e CreateAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAuthReplyValidationError) Error ¶
func (e CreateAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAuthReplyValidationError) ErrorName ¶
func (e CreateAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAuthReplyValidationError) Field ¶
func (e CreateAuthReplyValidationError) Field() string
Field function returns field value.
func (CreateAuthReplyValidationError) Key ¶
func (e CreateAuthReplyValidationError) Key() bool
Key function returns key value.
func (CreateAuthReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateAuthroleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAuthroleReplyMultiError) Error ¶
func (m CreateAuthroleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAuthroleReplyValidationError ¶
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 ¶
func (e CreateAuthroleReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateAuthroleReplyValidationError) Error ¶
func (e CreateAuthroleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAuthroleReplyValidationError) ErrorName ¶
func (e CreateAuthroleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAuthroleReplyValidationError) Field ¶
func (e CreateAuthroleReplyValidationError) Field() string
Field function returns field value.
func (CreateAuthroleReplyValidationError) Key ¶
func (e CreateAuthroleReplyValidationError) Key() bool
Key function returns key value.
func (CreateAuthroleReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateClusterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateClusterReplyMultiError) Error ¶
func (m CreateClusterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateClusterReplyValidationError ¶
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 ¶
func (e CreateClusterReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateClusterReplyValidationError) Error ¶
func (e CreateClusterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateClusterReplyValidationError) ErrorName ¶
func (e CreateClusterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateClusterReplyValidationError) Field ¶
func (e CreateClusterReplyValidationError) Field() string
Field function returns field value.
func (CreateClusterReplyValidationError) Key ¶
func (e CreateClusterReplyValidationError) Key() bool
Key function returns key value.
func (CreateClusterReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateGitReplyMultiError) Error ¶
func (m CreateGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateGitReplyValidationError ¶
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 ¶
func (e CreateGitReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateGitReplyValidationError) Error ¶
func (e CreateGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateGitReplyValidationError) ErrorName ¶
func (e CreateGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateGitReplyValidationError) Field ¶
func (e CreateGitReplyValidationError) Field() string
Field function returns field value.
func (CreateGitReplyValidationError) Key ¶
func (e CreateGitReplyValidationError) Key() bool
Key function returns key value.
func (CreateGitReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreatePkiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreatePkiReplyMultiError) Error ¶
func (m CreatePkiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreatePkiReplyValidationError ¶
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 ¶
func (e CreatePkiReplyValidationError) Cause() error
Cause function returns cause value.
func (CreatePkiReplyValidationError) Error ¶
func (e CreatePkiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreatePkiReplyValidationError) ErrorName ¶
func (e CreatePkiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreatePkiReplyValidationError) Field ¶
func (e CreatePkiReplyValidationError) Field() string
Field function returns field value.
func (CreatePkiReplyValidationError) Key ¶
func (e CreatePkiReplyValidationError) Key() bool
Key function returns key value.
func (CreatePkiReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRepoReplyMultiError) Error ¶
func (m CreateRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRepoReplyValidationError ¶
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 ¶
func (e CreateRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateRepoReplyValidationError) Error ¶
func (e CreateRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRepoReplyValidationError) ErrorName ¶
func (e CreateRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRepoReplyValidationError) Field ¶
func (e CreateRepoReplyValidationError) Field() string
Field function returns field value.
func (CreateRepoReplyValidationError) Key ¶
func (e CreateRepoReplyValidationError) Key() bool
Key function returns key value.
func (CreateRepoReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateTenantGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantGitReplyMultiError) Error ¶
func (m CreateTenantGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantGitReplyValidationError ¶
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 ¶
func (e CreateTenantGitReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantGitReplyValidationError) Error ¶
func (e CreateTenantGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantGitReplyValidationError) ErrorName ¶
func (e CreateTenantGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantGitReplyValidationError) Field ¶
func (e CreateTenantGitReplyValidationError) Field() string
Field function returns field value.
func (CreateTenantGitReplyValidationError) Key ¶
func (e CreateTenantGitReplyValidationError) Key() bool
Key function returns key value.
func (CreateTenantGitReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m CreateTenantRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTenantRepoReplyMultiError) Error ¶
func (m CreateTenantRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTenantRepoReplyValidationError ¶
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 ¶
func (e CreateTenantRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (CreateTenantRepoReplyValidationError) Error ¶
func (e CreateTenantRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTenantRepoReplyValidationError) ErrorName ¶
func (e CreateTenantRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTenantRepoReplyValidationError) Field ¶
func (e CreateTenantRepoReplyValidationError) Field() string
Field function returns field value.
func (CreateTenantRepoReplyValidationError) Key ¶
func (e CreateTenantRepoReplyValidationError) Key() bool
Key function returns key value.
func (CreateTenantRepoReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteAuthReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAuthReplyMultiError) Error ¶
func (m DeleteAuthReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAuthReplyValidationError ¶
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 ¶
func (e DeleteAuthReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAuthReplyValidationError) Error ¶
func (e DeleteAuthReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAuthReplyValidationError) ErrorName ¶
func (e DeleteAuthReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAuthReplyValidationError) Field ¶
func (e DeleteAuthReplyValidationError) Field() string
Field function returns field value.
func (DeleteAuthReplyValidationError) Key ¶
func (e DeleteAuthReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAuthReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteAuthroleReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteAuthroleReplyMultiError) Error ¶
func (m DeleteAuthroleReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteAuthroleReplyValidationError ¶
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 ¶
func (e DeleteAuthroleReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteAuthroleReplyValidationError) Error ¶
func (e DeleteAuthroleReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteAuthroleReplyValidationError) ErrorName ¶
func (e DeleteAuthroleReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteAuthroleReplyValidationError) Field ¶
func (e DeleteAuthroleReplyValidationError) Field() string
Field function returns field value.
func (DeleteAuthroleReplyValidationError) Key ¶
func (e DeleteAuthroleReplyValidationError) Key() bool
Key function returns key value.
func (DeleteAuthroleReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteClusterReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteClusterReplyMultiError) Error ¶
func (m DeleteClusterReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteClusterReplyValidationError ¶
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 ¶
func (e DeleteClusterReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteClusterReplyValidationError) Error ¶
func (e DeleteClusterReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteClusterReplyValidationError) ErrorName ¶
func (e DeleteClusterReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteClusterReplyValidationError) Field ¶
func (e DeleteClusterReplyValidationError) Field() string
Field function returns field value.
func (DeleteClusterReplyValidationError) Key ¶
func (e DeleteClusterReplyValidationError) Key() bool
Key function returns key value.
func (DeleteClusterReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteGitReplyMultiError) Error ¶
func (m DeleteGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteGitReplyValidationError ¶
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 ¶
func (e DeleteGitReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteGitReplyValidationError) Error ¶
func (e DeleteGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteGitReplyValidationError) ErrorName ¶
func (e DeleteGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteGitReplyValidationError) Field ¶
func (e DeleteGitReplyValidationError) Field() string
Field function returns field value.
func (DeleteGitReplyValidationError) Key ¶
func (e DeleteGitReplyValidationError) Key() bool
Key function returns key value.
func (DeleteGitReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeletePkiReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletePkiReplyMultiError) Error ¶
func (m DeletePkiReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletePkiReplyValidationError ¶
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 ¶
func (e DeletePkiReplyValidationError) Cause() error
Cause function returns cause value.
func (DeletePkiReplyValidationError) Error ¶
func (e DeletePkiReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeletePkiReplyValidationError) ErrorName ¶
func (e DeletePkiReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeletePkiReplyValidationError) Field ¶
func (e DeletePkiReplyValidationError) Field() string
Field function returns field value.
func (DeletePkiReplyValidationError) Key ¶
func (e DeletePkiReplyValidationError) Key() bool
Key function returns key value.
func (DeletePkiReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteRepoReplyMultiError) Error ¶
func (m DeleteRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteRepoReplyValidationError ¶
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 ¶
func (e DeleteRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteRepoReplyValidationError) Error ¶
func (e DeleteRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteRepoReplyValidationError) ErrorName ¶
func (e DeleteRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteRepoReplyValidationError) Field ¶
func (e DeleteRepoReplyValidationError) Field() string
Field function returns field value.
func (DeleteRepoReplyValidationError) Key ¶
func (e DeleteRepoReplyValidationError) Key() bool
Key function returns key value.
func (DeleteRepoReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteTenantGitReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantGitReplyMultiError) Error ¶
func (m DeleteTenantGitReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantGitReplyValidationError ¶
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 ¶
func (e DeleteTenantGitReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantGitReplyValidationError) Error ¶
func (e DeleteTenantGitReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantGitReplyValidationError) ErrorName ¶
func (e DeleteTenantGitReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantGitReplyValidationError) Field ¶
func (e DeleteTenantGitReplyValidationError) Field() string
Field function returns field value.
func (DeleteTenantGitReplyValidationError) Key ¶
func (e DeleteTenantGitReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTenantGitReplyValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m DeleteTenantRepoReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeleteTenantRepoReplyMultiError) Error ¶
func (m DeleteTenantRepoReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeleteTenantRepoReplyValidationError ¶
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 ¶
func (e DeleteTenantRepoReplyValidationError) Cause() error
Cause function returns cause value.
func (DeleteTenantRepoReplyValidationError) Error ¶
func (e DeleteTenantRepoReplyValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteTenantRepoReplyValidationError) ErrorName ¶
func (e DeleteTenantRepoReplyValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteTenantRepoReplyValidationError) Field ¶
func (e DeleteTenantRepoReplyValidationError) Field() string
Field function returns field value.
func (DeleteTenantRepoReplyValidationError) Key ¶
func (e DeleteTenantRepoReplyValidationError) Key() bool
Key function returns key value.
func (DeleteTenantRepoReplyValidationError) Reason ¶
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 ¶
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
func (*GitKVs) GetAccessToken ¶
func (*GitKVs) GetAdditionals ¶
func (*GitKVs) GetDeployKey ¶
func (*GitKVs) ProtoMessage ¶
func (*GitKVs) ProtoMessage()
func (*GitKVs) ProtoReflect ¶
func (x *GitKVs) ProtoReflect() protoreflect.Message
func (*GitKVs) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GitKVsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitKVsMultiError) Error ¶
func (m GitKVsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitKVsValidationError ¶
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 ¶
func (e GitKVsValidationError) Cause() error
Cause function returns cause value.
func (GitKVsValidationError) Error ¶
func (e GitKVsValidationError) Error() string
Error satisfies the builtin error interface
func (GitKVsValidationError) ErrorName ¶
func (e GitKVsValidationError) ErrorName() string
ErrorName returns error name.
func (GitKVsValidationError) Field ¶
func (e GitKVsValidationError) Field() string
Field function returns field value.
func (GitKVsValidationError) Key ¶
func (e GitKVsValidationError) Key() bool
Key function returns key value.
func (GitKVsValidationError) Reason ¶
func (e GitKVsValidationError) Reason() string
Reason function returns reason value.
type GitMeta ¶
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
func (*GitMeta) GetNames ¶
func (x *GitMeta) GetNames() (*SecretMeta, error)
func (*GitMeta) GetPermission ¶
func (*GitMeta) GetProviderType ¶
func (*GitMeta) GetUsername ¶
func (*GitMeta) ProtoMessage ¶
func (*GitMeta) ProtoMessage()
func (*GitMeta) ProtoReflect ¶
func (x *GitMeta) ProtoReflect() protoreflect.Message
func (*GitMeta) Validate ¶
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 ¶
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 ¶
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 ¶
func (m GitMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitMetaMultiError) Error ¶
func (m GitMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitMetaValidationError ¶
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 ¶
func (e GitMetaValidationError) Cause() error
Cause function returns cause value.
func (GitMetaValidationError) Error ¶
func (e GitMetaValidationError) Error() string
Error satisfies the builtin error interface
func (GitMetaValidationError) ErrorName ¶
func (e GitMetaValidationError) ErrorName() string
ErrorName returns error name.
func (GitMetaValidationError) Field ¶
func (e GitMetaValidationError) Field() string
Field function returns field value.
func (GitMetaValidationError) Key ¶
func (e GitMetaValidationError) Key() bool
Key function returns key value.
func (GitMetaValidationError) Reason ¶
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 ¶
func (x *GitRequest) GetKvs() *GitKVs
func (*GitRequest) GetMeta ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m GitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GitRequestMultiError) Error ¶
func (m GitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GitRequestValidationError ¶
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 ¶
func (e GitRequestValidationError) Cause() error
Cause function returns cause value.
func (GitRequestValidationError) Error ¶
func (e GitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GitRequestValidationError) ErrorName ¶
func (e GitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GitRequestValidationError) Field ¶
func (e GitRequestValidationError) Field() string
Field function returns field value.
func (GitRequestValidationError) Key ¶
func (e GitRequestValidationError) Key() bool
Key function returns key value.
func (GitRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m GrantAuthrolePolicyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GrantAuthrolePolicyReplyMultiError) Error ¶
func (m GrantAuthrolePolicyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GrantAuthrolePolicyReplyValidationError ¶
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 ¶
func (e GrantAuthrolePolicyReplyValidationError) Cause() error
Cause function returns cause value.
func (GrantAuthrolePolicyReplyValidationError) Error ¶
func (e GrantAuthrolePolicyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (GrantAuthrolePolicyReplyValidationError) ErrorName ¶
func (e GrantAuthrolePolicyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (GrantAuthrolePolicyReplyValidationError) Field ¶
func (e GrantAuthrolePolicyReplyValidationError) Field() string
Field function returns field value.
func (GrantAuthrolePolicyReplyValidationError) Key ¶
func (e GrantAuthrolePolicyReplyValidationError) Key() bool
Key function returns key value.
func (GrantAuthrolePolicyReplyValidationError) Reason ¶
func (e GrantAuthrolePolicyReplyValidationError) Reason() string
Reason function returns reason value.
type GrantTarget ¶
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 ¶
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 ¶
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 ¶
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,opt,name=namespaces,proto3" json:"namespaces,omitempty"` ServiceAccounts string `protobuf:"bytes,2,opt,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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m KubernetesAuthRoleMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubernetesAuthRoleMetaMultiError) Error ¶
func (m KubernetesAuthRoleMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubernetesAuthRoleMetaValidationError ¶
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 ¶
func (e KubernetesAuthRoleMetaValidationError) Cause() error
Cause function returns cause value.
func (KubernetesAuthRoleMetaValidationError) Error ¶
func (e KubernetesAuthRoleMetaValidationError) Error() string
Error satisfies the builtin error interface
func (KubernetesAuthRoleMetaValidationError) ErrorName ¶
func (e KubernetesAuthRoleMetaValidationError) ErrorName() string
ErrorName returns error name.
func (KubernetesAuthRoleMetaValidationError) Field ¶
func (e KubernetesAuthRoleMetaValidationError) Field() string
Field function returns field value.
func (KubernetesAuthRoleMetaValidationError) Key ¶
func (e KubernetesAuthRoleMetaValidationError) Key() bool
Key function returns key value.
func (KubernetesAuthRoleMetaValidationError) Reason ¶
func (e KubernetesAuthRoleMetaValidationError) Reason() string
Reason function returns reason value.
type KubernetesMultiError ¶
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 ¶
func (m KubernetesMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KubernetesMultiError) Error ¶
func (m KubernetesMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KubernetesValidationError ¶
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 ¶
func (e KubernetesValidationError) Cause() error
Cause function returns cause value.
func (KubernetesValidationError) Error ¶
func (e KubernetesValidationError) Error() string
Error satisfies the builtin error interface
func (KubernetesValidationError) ErrorName ¶
func (e KubernetesValidationError) ErrorName() string
ErrorName returns error name.
func (KubernetesValidationError) Field ¶
func (e KubernetesValidationError) Field() string
Field function returns field value.
func (KubernetesValidationError) Key ¶
func (e KubernetesValidationError) Key() bool
Key function returns key value.
func (KubernetesValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m PkiRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PkiRequestMultiError) Error ¶
func (m PkiRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PkiRequestValidationError ¶
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 ¶
func (e PkiRequestValidationError) Cause() error
Cause function returns cause value.
func (PkiRequestValidationError) Error ¶
func (e PkiRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PkiRequestValidationError) ErrorName ¶
func (e PkiRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PkiRequestValidationError) Field ¶
func (e PkiRequestValidationError) Field() string
Field function returns field value.
func (PkiRequestValidationError) Key ¶
func (e PkiRequestValidationError) Key() bool
Key function returns key value.
func (PkiRequestValidationError) Reason ¶
func (e PkiRequestValidationError) Reason() string
Reason function returns reason value.
type RepoAccount ¶
type RepoAccount 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 }
REPO DEFINE
func (*RepoAccount) Descriptor
deprecated
func (*RepoAccount) Descriptor() ([]byte, []int)
Deprecated: Use RepoAccount.ProtoReflect.Descriptor instead.
func (*RepoAccount) GetPassword ¶
func (x *RepoAccount) GetPassword() string
func (*RepoAccount) GetUsername ¶
func (x *RepoAccount) GetUsername() string
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 ¶
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 ¶
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 ¶
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 ¶
func (m RepoAccountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoAccountMultiError) Error ¶
func (m RepoAccountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoAccountValidationError ¶
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 ¶
func (e RepoAccountValidationError) Cause() error
Cause function returns cause value.
func (RepoAccountValidationError) Error ¶
func (e RepoAccountValidationError) Error() string
Error satisfies the builtin error interface
func (RepoAccountValidationError) ErrorName ¶
func (e RepoAccountValidationError) ErrorName() string
ErrorName returns error name.
func (RepoAccountValidationError) Field ¶
func (e RepoAccountValidationError) Field() string
Field function returns field value.
func (RepoAccountValidationError) Key ¶
func (e RepoAccountValidationError) Key() bool
Key function returns key value.
func (RepoAccountValidationError) Reason ¶
func (e RepoAccountValidationError) Reason() string
Reason function returns reason value.
type RepoMeta ¶
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. Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Permission string `protobuf:"bytes,5,opt,name=permission,proto3" json:"permission,omitempty"` // contains filtered or unexported fields }
func (*RepoMeta) Descriptor
deprecated
func (*RepoMeta) GetNames ¶
func (x *RepoMeta) GetNames() (*SecretMeta, error)
func (*RepoMeta) GetPermission ¶
func (*RepoMeta) GetProviderId ¶
func (*RepoMeta) GetUsername ¶
func (*RepoMeta) ProtoMessage ¶
func (*RepoMeta) ProtoMessage()
func (*RepoMeta) ProtoReflect ¶
func (x *RepoMeta) ProtoReflect() protoreflect.Message
func (*RepoMeta) Validate ¶
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 ¶
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 ¶
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 ¶
func (m RepoMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoMetaMultiError) Error ¶
func (m RepoMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoMetaValidationError ¶
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 ¶
func (e RepoMetaValidationError) Cause() error
Cause function returns cause value.
func (RepoMetaValidationError) Error ¶
func (e RepoMetaValidationError) Error() string
Error satisfies the builtin error interface
func (RepoMetaValidationError) ErrorName ¶
func (e RepoMetaValidationError) ErrorName() string
ErrorName returns error name.
func (RepoMetaValidationError) Field ¶
func (e RepoMetaValidationError) Field() string
Field function returns field value.
func (RepoMetaValidationError) Key ¶
func (e RepoMetaValidationError) Key() bool
Key function returns key value.
func (RepoMetaValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m RepoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RepoRequestMultiError) Error ¶
func (m RepoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RepoRequestValidationError ¶
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 ¶
func (e RepoRequestValidationError) Cause() error
Cause function returns cause value.
func (RepoRequestValidationError) Error ¶
func (e RepoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RepoRequestValidationError) ErrorName ¶
func (e RepoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RepoRequestValidationError) Field ¶
func (e RepoRequestValidationError) Field() string
Field function returns field value.
func (RepoRequestValidationError) Key ¶
func (e RepoRequestValidationError) Key() bool
Key function returns key value.
func (RepoRequestValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m RevokeAuthrolePolicyReplyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RevokeAuthrolePolicyReplyMultiError) Error ¶
func (m RevokeAuthrolePolicyReplyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RevokeAuthrolePolicyReplyValidationError ¶
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 ¶
func (e RevokeAuthrolePolicyReplyValidationError) Cause() error
Cause function returns cause value.
func (RevokeAuthrolePolicyReplyValidationError) Error ¶
func (e RevokeAuthrolePolicyReplyValidationError) Error() string
Error satisfies the builtin error interface
func (RevokeAuthrolePolicyReplyValidationError) ErrorName ¶
func (e RevokeAuthrolePolicyReplyValidationError) ErrorName() string
ErrorName returns error name.
func (RevokeAuthrolePolicyReplyValidationError) Field ¶
func (e RevokeAuthrolePolicyReplyValidationError) Field() string
Field function returns field value.
func (RevokeAuthrolePolicyReplyValidationError) Key ¶
func (e RevokeAuthrolePolicyReplyValidationError) Key() bool
Key function returns key value.
func (RevokeAuthrolePolicyReplyValidationError) Reason ¶
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) CreateRepo(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) DeleteRepo(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) CreateRepo ¶
func (c *SecretHTTPClientImpl) CreateRepo(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) DeleteRepo ¶
func (c *SecretHTTPClientImpl) DeleteRepo(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) CreateRepo(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) DeleteRepo(context.Context, *RepoRequest) (*DeleteRepoReply, error) DeleteTenantGit(context.Context, *TenantGitRequest) (*DeleteTenantGitReply, error) DeleteTenantRepo(context.Context, *TenantRepoRequest) (*DeleteTenantRepoReply, error) }
type SecretInfo ¶
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
func (*SecretInfo) Descriptor() ([]byte, []int)
Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.
func (*SecretInfo) GetName ¶
func (x *SecretInfo) GetName() string
func (*SecretInfo) GetPath ¶
func (x *SecretInfo) GetPath() string
func (*SecretInfo) GetVersion ¶
func (x *SecretInfo) GetVersion() int32
func (*SecretInfo) ProtoMessage ¶
func (*SecretInfo) ProtoMessage()
func (*SecretInfo) ProtoReflect ¶
func (x *SecretInfo) ProtoReflect() protoreflect.Message
func (*SecretInfo) Reset ¶
func (x *SecretInfo) Reset()
func (*SecretInfo) String ¶
func (x *SecretInfo) String() string
func (*SecretInfo) Validate ¶
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 ¶
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 ¶
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 ¶
func (m SecretInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SecretInfoMultiError) Error ¶
func (m SecretInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SecretInfoValidationError ¶
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 ¶
func (e SecretInfoValidationError) Cause() error
Cause function returns cause value.
func (SecretInfoValidationError) Error ¶
func (e SecretInfoValidationError) Error() string
Error satisfies the builtin error interface
func (SecretInfoValidationError) ErrorName ¶
func (e SecretInfoValidationError) ErrorName() string
ErrorName returns error name.
func (SecretInfoValidationError) Field ¶
func (e SecretInfoValidationError) Field() string
Field function returns field value.
func (SecretInfoValidationError) Key ¶
func (e SecretInfoValidationError) Key() bool
Key function returns key value.
func (SecretInfoValidationError) Reason ¶
func (e SecretInfoValidationError) Reason() string
Reason function returns reason value.
type SecretMeta ¶
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 ¶
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
func (*TenantGitMeta) Descriptor() ([]byte, []int)
Deprecated: Use TenantGitMeta.ProtoReflect.Descriptor instead.
func (*TenantGitMeta) GetId ¶
func (x *TenantGitMeta) GetId() string
func (*TenantGitMeta) GetNames ¶
func (x *TenantGitMeta) GetNames() (*SecretMeta, error)
func (*TenantGitMeta) GetPermission ¶
func (x *TenantGitMeta) GetPermission() string
func (*TenantGitMeta) ProtoMessage ¶
func (*TenantGitMeta) ProtoMessage()
func (*TenantGitMeta) ProtoReflect ¶
func (x *TenantGitMeta) ProtoReflect() protoreflect.Message
func (*TenantGitMeta) Reset ¶
func (x *TenantGitMeta) Reset()
func (*TenantGitMeta) String ¶
func (x *TenantGitMeta) String() string
func (*TenantGitMeta) Validate ¶
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 ¶
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 ¶
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 ¶
func (m TenantGitMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantGitMetaMultiError) Error ¶
func (m TenantGitMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantGitMetaValidationError ¶
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 ¶
func (e TenantGitMetaValidationError) Cause() error
Cause function returns cause value.
func (TenantGitMetaValidationError) Error ¶
func (e TenantGitMetaValidationError) Error() string
Error satisfies the builtin error interface
func (TenantGitMetaValidationError) ErrorName ¶
func (e TenantGitMetaValidationError) ErrorName() string
ErrorName returns error name.
func (TenantGitMetaValidationError) Field ¶
func (e TenantGitMetaValidationError) Field() string
Field function returns field value.
func (TenantGitMetaValidationError) Key ¶
func (e TenantGitMetaValidationError) Key() bool
Key function returns key value.
func (TenantGitMetaValidationError) Reason ¶
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 ¶
func (x *TenantGitRequest) GetKvs() *GitKVs
func (*TenantGitRequest) GetMeta ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m TenantGitRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantGitRequestMultiError) Error ¶
func (m TenantGitRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantGitRequestValidationError ¶
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 ¶
func (e TenantGitRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantGitRequestValidationError) Error ¶
func (e TenantGitRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantGitRequestValidationError) ErrorName ¶
func (e TenantGitRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantGitRequestValidationError) Field ¶
func (e TenantGitRequestValidationError) Field() string
Field function returns field value.
func (TenantGitRequestValidationError) Key ¶
func (e TenantGitRequestValidationError) Key() bool
Key function returns key value.
func (TenantGitRequestValidationError) Reason ¶
func (e TenantGitRequestValidationError) Reason() string
Reason function returns reason value.
type TenantRepoMeta ¶
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
func (*TenantRepoMeta) Descriptor() ([]byte, []int)
Deprecated: Use TenantRepoMeta.ProtoReflect.Descriptor instead.
func (*TenantRepoMeta) GetId ¶
func (x *TenantRepoMeta) GetId() string
func (*TenantRepoMeta) GetNames ¶
func (x *TenantRepoMeta) GetNames() (*SecretMeta, error)
func (*TenantRepoMeta) GetPermission ¶
func (x *TenantRepoMeta) GetPermission() string
func (*TenantRepoMeta) ProtoMessage ¶
func (*TenantRepoMeta) ProtoMessage()
func (*TenantRepoMeta) ProtoReflect ¶
func (x *TenantRepoMeta) ProtoReflect() protoreflect.Message
func (*TenantRepoMeta) Reset ¶
func (x *TenantRepoMeta) Reset()
func (*TenantRepoMeta) String ¶
func (x *TenantRepoMeta) String() string
func (*TenantRepoMeta) Validate ¶
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 ¶
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 ¶
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 ¶
func (m TenantRepoMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantRepoMetaMultiError) Error ¶
func (m TenantRepoMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantRepoMetaValidationError ¶
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 ¶
func (e TenantRepoMetaValidationError) Cause() error
Cause function returns cause value.
func (TenantRepoMetaValidationError) Error ¶
func (e TenantRepoMetaValidationError) Error() string
Error satisfies the builtin error interface
func (TenantRepoMetaValidationError) ErrorName ¶
func (e TenantRepoMetaValidationError) ErrorName() string
ErrorName returns error name.
func (TenantRepoMetaValidationError) Field ¶
func (e TenantRepoMetaValidationError) Field() string
Field function returns field value.
func (TenantRepoMetaValidationError) Key ¶
func (e TenantRepoMetaValidationError) Key() bool
Key function returns key value.
func (TenantRepoMetaValidationError) Reason ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (m TenantRepoRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TenantRepoRequestMultiError) Error ¶
func (m TenantRepoRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TenantRepoRequestValidationError ¶
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 ¶
func (e TenantRepoRequestValidationError) Cause() error
Cause function returns cause value.
func (TenantRepoRequestValidationError) Error ¶
func (e TenantRepoRequestValidationError) Error() string
Error satisfies the builtin error interface
func (TenantRepoRequestValidationError) ErrorName ¶
func (e TenantRepoRequestValidationError) ErrorName() string
ErrorName returns error name.
func (TenantRepoRequestValidationError) Field ¶
func (e TenantRepoRequestValidationError) Field() string
Field function returns field value.
func (TenantRepoRequestValidationError) Key ¶
func (e TenantRepoRequestValidationError) Key() bool
Key function returns key value.
func (TenantRepoRequestValidationError) Reason ¶
func (e TenantRepoRequestValidationError) Reason() string
Reason function returns reason value.
type VaultTemplate ¶
type VaultTemplate struct {
// contains filtered or unexported fields
}
var ( GitPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } GitPolicyPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } RepoPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } RepoPolicyPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } ClusterPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } ClusterPolicyPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantGitPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantGitPolicyPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantRepoPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } TenantRepoPolicyPathTemplate VaultTemplate = VaultTemplate{ // contains filtered or unexported fields } RolePathTemplate = VaultTemplate{ // contains filtered or unexported fields } )