v1

package
v0.3.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GitSecretName     = "git"
	RepoSecretName    = "repo"
	ClusterSecretName = "cluster"
	TenantSecretName  = "tenant"
)
View Source
const OperationAuthCreateAuth = "/api.vaultproxy.v1.Auth/CreateAuth"
View Source
const OperationAuthCreateAuthrole = "/api.vaultproxy.v1.Auth/CreateAuthrole"
View Source
const OperationAuthDeleteAuth = "/api.vaultproxy.v1.Auth/DeleteAuth"
View Source
const OperationAuthDeleteAuthrole = "/api.vaultproxy.v1.Auth/DeleteAuthrole"
View Source
const OperationAuthGrantGrantAuthroleClusterPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleClusterPolicy"
View Source
const OperationAuthGrantGrantAuthroleGitPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleGitPolicy"
View Source
const OperationAuthGrantGrantAuthroleRepoPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleRepoPolicy"
View Source
const OperationAuthGrantGrantAuthroleTenantGitPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleTenantGitPolicy"
View Source
const OperationAuthGrantGrantAuthroleTenantRepoPolicy = "/api.vaultproxy.v1.AuthGrant/GrantAuthroleTenantRepoPolicy"
View Source
const OperationAuthGrantRevokeAuthroleClusterPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleClusterPolicy"
View Source
const OperationAuthGrantRevokeAuthroleGitPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleGitPolicy"
View Source
const OperationAuthGrantRevokeAuthroleRepoPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleRepoPolicy"
View Source
const OperationAuthGrantRevokeAuthroleTenantGitPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleTenantGitPolicy"
View Source
const OperationAuthGrantRevokeAuthroleTenantRepoPolicy = "/api.vaultproxy.v1.AuthGrant/RevokeAuthroleTenantRepoPolicy"
View Source
const OperationSecretCreateCluster = "/api.vaultproxy.v1.Secret/CreateCluster"
View Source
const OperationSecretCreateGit = "/api.vaultproxy.v1.Secret/CreateGit"
View Source
const OperationSecretCreatePki = "/api.vaultproxy.v1.Secret/CreatePki"
View Source
const OperationSecretCreateRepo = "/api.vaultproxy.v1.Secret/CreateRepo"
View Source
const OperationSecretCreateTenantRepo = "/api.vaultproxy.v1.Secret/CreateTenantRepo"
View Source
const OperationSecretCreteTenantGit = "/api.vaultproxy.v1.Secret/CreteTenantGit"
View Source
const OperationSecretDeleteCluster = "/api.vaultproxy.v1.Secret/DeleteCluster"
View Source
const OperationSecretDeleteGit = "/api.vaultproxy.v1.Secret/DeleteGit"
View Source
const OperationSecretDeletePki = "/api.vaultproxy.v1.Secret/DeletePki"
View Source
const OperationSecretDeleteRepo = "/api.vaultproxy.v1.Secret/DeleteRepo"
View Source
const OperationSecretDeleteTenantGit = "/api.vaultproxy.v1.Secret/DeleteTenantGit"
View Source
const OperationSecretDeleteTenantRepo = "/api.vaultproxy.v1.Secret/DeleteTenantRepo"

Variables

View Source
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"]
}`
)
View Source
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.

View Source
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 ErrorActionNotAllow(format string, args ...interface{}) *errors.Error

func ErrorAuthFailed

func ErrorAuthFailed(format string, args ...interface{}) *errors.Error

func ErrorInputArgError

func ErrorInputArgError(format string, args ...interface{}) *errors.Error

func ErrorInternalServiceError

func ErrorInternalServiceError(format string, args ...interface{}) *errors.Error

func ErrorResourceNotFound

func ErrorResourceNotFound(format string, args ...interface{}) *errors.Error

func GetPath

func GetPath(vars interface{}, vault_tmpl VaultTemplate) (string, error)

func IsActionNotAllow

func IsActionNotAllow(err error) bool

func IsAuthFailed

func IsAuthFailed(err error) bool

func IsInputArgError

func IsInputArgError(err error) bool

func IsInternalServiceError

func IsInternalServiceError(err error) bool

func IsResourceNotFound

func IsResourceNotFound(err error) bool

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 (*AuthGrantHTTPClientImpl) GrantAuthroleGitPolicy

func (*AuthGrantHTTPClientImpl) GrantAuthroleRepoPolicy

func (*AuthGrantHTTPClientImpl) GrantAuthroleTenantGitPolicy

func (*AuthGrantHTTPClientImpl) GrantAuthroleTenantRepoPolicy

func (*AuthGrantHTTPClientImpl) RevokeAuthroleClusterPolicy

func (*AuthGrantHTTPClientImpl) RevokeAuthroleGitPolicy

func (*AuthGrantHTTPClientImpl) RevokeAuthroleRepoPolicy

func (*AuthGrantHTTPClientImpl) RevokeAuthroleTenantGitPolicy

func (*AuthGrantHTTPClientImpl) RevokeAuthroleTenantRepoPolicy

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

Cause function returns cause value.

func (AuthRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field

Field function returns field value.

func (AuthRequestValidationError) Key

Key function returns key value.

func (AuthRequestValidationError) Reason

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 (*AuthroleClusterPolicyRequest) Reset

func (x *AuthroleClusterPolicyRequest) Reset()

func (*AuthroleClusterPolicyRequest) 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

AllErrors returns a list of validation violation errors.

func (AuthroleClusterPolicyRequestMultiError) Error

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

Cause function returns cause value.

func (AuthroleClusterPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleClusterPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthroleClusterPolicyRequestValidationError) Field

Field function returns field value.

func (AuthroleClusterPolicyRequestValidationError) Key

Key function returns key value.

func (AuthroleClusterPolicyRequestValidationError) Reason

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

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

Cause function returns cause value.

func (AuthroleGitPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleGitPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthroleGitPolicyRequestValidationError) Field

Field function returns field value.

func (AuthroleGitPolicyRequestValidationError) Key

Key function returns key value.

func (AuthroleGitPolicyRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (AuthroleRepoPolicyRequestMultiError) Error

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

Cause function returns cause value.

func (AuthroleRepoPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleRepoPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthroleRepoPolicyRequestValidationError) Field

Field function returns field value.

func (AuthroleRepoPolicyRequestValidationError) Key

Key function returns key value.

func (AuthroleRepoPolicyRequestValidationError) Reason

Reason function returns reason value.

type AuthroleRequest

type AuthroleRequest struct {

	// Vault path of kubernetes auth
	ClusterName string `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
	// Vault role name in kubernetes auth
	DestUser string `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"`
	// Types that are assignable to Role:
	//
	//	*AuthroleRequest_Kubernetes
	Role isAuthroleRequest_Role `protobuf_oneof:"role"`
	// contains filtered or unexported fields
}

func (*AuthroleRequest) ConvertRequest

func (x *AuthroleRequest) ConvertRequest() (*SecretRequest, error)

func (*AuthroleRequest) Descriptor deprecated

func (*AuthroleRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthroleRequest.ProtoReflect.Descriptor instead.

func (*AuthroleRequest) GetClusterName

func (x *AuthroleRequest) GetClusterName() string

func (*AuthroleRequest) GetDestUser

func (x *AuthroleRequest) GetDestUser() string

func (*AuthroleRequest) GetKubernetes added in v0.3.6

func (x *AuthroleRequest) GetKubernetes() *KubernetesAuthRoleMeta

func (*AuthroleRequest) GetRole

func (m *AuthroleRequest) GetRole() isAuthroleRequest_Role

func (*AuthroleRequest) ProtoMessage

func (*AuthroleRequest) ProtoMessage()

func (*AuthroleRequest) ProtoReflect

func (x *AuthroleRequest) ProtoReflect() protoreflect.Message

func (*AuthroleRequest) Reset

func (x *AuthroleRequest) Reset()

func (*AuthroleRequest) String

func (x *AuthroleRequest) String() string

func (*AuthroleRequest) Validate

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

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

Cause function returns cause value.

func (AuthroleRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleRequestValidationError) ErrorName

func (e AuthroleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthroleRequestValidationError) Field

Field function returns field value.

func (AuthroleRequestValidationError) Key

Key function returns key value.

func (AuthroleRequestValidationError) Reason

Reason function returns reason value.

type AuthroleRequest_Kubernetes added in v0.3.6

type AuthroleRequest_Kubernetes struct {
	Kubernetes *KubernetesAuthRoleMeta `protobuf:"bytes,3,opt,name=kubernetes,proto3,oneof"`
}

type AuthroleTenantGitPolicyRequest

type AuthroleTenantGitPolicyRequest struct {
	ClusterName string         `protobuf:"bytes,1,opt,name=cluster_name,proto3" json:"cluster_name,omitempty"`
	DestUser    string         `protobuf:"bytes,2,opt,name=dest_user,proto3" json:"dest_user,omitempty"`
	Secret      *TenantGitMeta `protobuf:"bytes,3,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest

func (req *AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest() (*GrantTarget, *SecretRequest, error)

func (*AuthroleTenantGitPolicyRequest) Descriptor deprecated

func (*AuthroleTenantGitPolicyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthroleTenantGitPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleTenantGitPolicyRequest) GetClusterName

func (x *AuthroleTenantGitPolicyRequest) GetClusterName() string

func (*AuthroleTenantGitPolicyRequest) GetDestUser

func (x *AuthroleTenantGitPolicyRequest) GetDestUser() string

func (*AuthroleTenantGitPolicyRequest) GetSecret

func (*AuthroleTenantGitPolicyRequest) ProtoMessage

func (*AuthroleTenantGitPolicyRequest) ProtoMessage()

func (*AuthroleTenantGitPolicyRequest) ProtoReflect

func (*AuthroleTenantGitPolicyRequest) Reset

func (x *AuthroleTenantGitPolicyRequest) Reset()

func (*AuthroleTenantGitPolicyRequest) 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

AllErrors returns a list of validation violation errors.

func (AuthroleTenantGitPolicyRequestMultiError) Error

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

Cause function returns cause value.

func (AuthroleTenantGitPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleTenantGitPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthroleTenantGitPolicyRequestValidationError) Field

Field function returns field value.

func (AuthroleTenantGitPolicyRequestValidationError) Key

Key function returns key value.

func (AuthroleTenantGitPolicyRequestValidationError) Reason

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 (*AuthroleTenantRepoPolicyRequest) ProtoMessage

func (*AuthroleTenantRepoPolicyRequest) ProtoMessage()

func (*AuthroleTenantRepoPolicyRequest) ProtoReflect

func (*AuthroleTenantRepoPolicyRequest) Reset

func (*AuthroleTenantRepoPolicyRequest) 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

AllErrors returns a list of validation violation errors.

func (AuthroleTenantRepoPolicyRequestMultiError) Error

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

Cause function returns cause value.

func (AuthroleTenantRepoPolicyRequestValidationError) Error

Error satisfies the builtin error interface

func (AuthroleTenantRepoPolicyRequestValidationError) ErrorName

ErrorName returns error name.

func (AuthroleTenantRepoPolicyRequestValidationError) Field

Field function returns field value.

func (AuthroleTenantRepoPolicyRequestValidationError) Key

Key function returns key value.

func (AuthroleTenantRepoPolicyRequestValidationError) Reason

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

Cause function returns cause value.

func (ClusterAccountValidationError) Error

Error satisfies the builtin error interface

func (ClusterAccountValidationError) ErrorName

func (e ClusterAccountValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterAccountValidationError) Field

Field function returns field value.

func (ClusterAccountValidationError) Key

Key function returns key value.

func (ClusterAccountValidationError) Reason

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

Cause function returns cause value.

func (ClusterMetaValidationError) Error

Error satisfies the builtin error interface

func (ClusterMetaValidationError) ErrorName

func (e ClusterMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterMetaValidationError) Field

Field function returns field value.

func (ClusterMetaValidationError) Key

Key function returns key value.

func (ClusterMetaValidationError) Reason

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

Cause function returns cause value.

func (ClusterRequestValidationError) Error

Error satisfies the builtin error interface

func (ClusterRequestValidationError) ErrorName

func (e ClusterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterRequestValidationError) Field

Field function returns field value.

func (ClusterRequestValidationError) Key

Key function returns key value.

func (ClusterRequestValidationError) Reason

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

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

Cause function returns cause value.

func (CreateAuthReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateAuthReplyValidationError) ErrorName

func (e CreateAuthReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateAuthReplyValidationError) Field

Field function returns field value.

func (CreateAuthReplyValidationError) Key

Key function returns key value.

func (CreateAuthReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateAuthroleReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateAuthroleReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateAuthroleReplyValidationError) Field

Field function returns field value.

func (CreateAuthroleReplyValidationError) Key

Key function returns key value.

func (CreateAuthroleReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateClusterReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateClusterReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateClusterReplyValidationError) Field

Field function returns field value.

func (CreateClusterReplyValidationError) Key

Key function returns key value.

func (CreateClusterReplyValidationError) Reason

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

Cause function returns cause value.

func (CreateGitReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateGitReplyValidationError) ErrorName

func (e CreateGitReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateGitReplyValidationError) Field

Field function returns field value.

func (CreateGitReplyValidationError) Key

Key function returns key value.

func (CreateGitReplyValidationError) Reason

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

Cause function returns cause value.

func (CreatePkiReplyValidationError) Error

Error satisfies the builtin error interface

func (CreatePkiReplyValidationError) ErrorName

func (e CreatePkiReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreatePkiReplyValidationError) Field

Field function returns field value.

func (CreatePkiReplyValidationError) Key

Key function returns key value.

func (CreatePkiReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateRepoReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateRepoReplyValidationError) ErrorName

func (e CreateRepoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRepoReplyValidationError) Field

Field function returns field value.

func (CreateRepoReplyValidationError) Key

Key function returns key value.

func (CreateRepoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTenantGitReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateTenantGitReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateTenantGitReplyValidationError) Field

Field function returns field value.

func (CreateTenantGitReplyValidationError) Key

Key function returns key value.

func (CreateTenantGitReplyValidationError) Reason

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

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

Cause function returns cause value.

func (CreateTenantRepoReplyValidationError) Error

Error satisfies the builtin error interface

func (CreateTenantRepoReplyValidationError) ErrorName

ErrorName returns error name.

func (CreateTenantRepoReplyValidationError) Field

Field function returns field value.

func (CreateTenantRepoReplyValidationError) Key

Key function returns key value.

func (CreateTenantRepoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteAuthReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteAuthReplyValidationError) ErrorName

func (e DeleteAuthReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteAuthReplyValidationError) Field

Field function returns field value.

func (DeleteAuthReplyValidationError) Key

Key function returns key value.

func (DeleteAuthReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteAuthroleReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteAuthroleReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteAuthroleReplyValidationError) Field

Field function returns field value.

func (DeleteAuthroleReplyValidationError) Key

Key function returns key value.

func (DeleteAuthroleReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteClusterReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteClusterReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteClusterReplyValidationError) Field

Field function returns field value.

func (DeleteClusterReplyValidationError) Key

Key function returns key value.

func (DeleteClusterReplyValidationError) Reason

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

Cause function returns cause value.

func (DeleteGitReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteGitReplyValidationError) ErrorName

func (e DeleteGitReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteGitReplyValidationError) Field

Field function returns field value.

func (DeleteGitReplyValidationError) Key

Key function returns key value.

func (DeleteGitReplyValidationError) Reason

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

Cause function returns cause value.

func (DeletePkiReplyValidationError) Error

Error satisfies the builtin error interface

func (DeletePkiReplyValidationError) ErrorName

func (e DeletePkiReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeletePkiReplyValidationError) Field

Field function returns field value.

func (DeletePkiReplyValidationError) Key

Key function returns key value.

func (DeletePkiReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteRepoReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteRepoReplyValidationError) ErrorName

func (e DeleteRepoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRepoReplyValidationError) Field

Field function returns field value.

func (DeleteRepoReplyValidationError) Key

Key function returns key value.

func (DeleteRepoReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTenantGitReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTenantGitReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteTenantGitReplyValidationError) Field

Field function returns field value.

func (DeleteTenantGitReplyValidationError) Key

Key function returns key value.

func (DeleteTenantGitReplyValidationError) Reason

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

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

Cause function returns cause value.

func (DeleteTenantRepoReplyValidationError) Error

Error satisfies the builtin error interface

func (DeleteTenantRepoReplyValidationError) ErrorName

ErrorName returns error name.

func (DeleteTenantRepoReplyValidationError) Field

Field function returns field value.

func (DeleteTenantRepoReplyValidationError) Key

Key function returns key value.

func (DeleteTenantRepoReplyValidationError) Reason

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) 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

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) Descriptor() ([]byte, []int)

Deprecated: Use GitKVs.ProtoReflect.Descriptor instead.

func (*GitKVs) GetAccessToken

func (x *GitKVs) GetAccessToken() string

func (*GitKVs) GetAdditionals

func (x *GitKVs) GetAdditionals() map[string]string

func (*GitKVs) GetDeployKey

func (x *GitKVs) GetDeployKey() string

func (*GitKVs) ProtoMessage

func (*GitKVs) ProtoMessage()

func (*GitKVs) ProtoReflect

func (x *GitKVs) ProtoReflect() protoreflect.Message

func (*GitKVs) Reset

func (x *GitKVs) Reset()

func (*GitKVs) String

func (x *GitKVs) String() string

func (*GitKVs) Validate

func (m *GitKVs) Validate() error

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

func (m *GitKVs) ValidateAll() error

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) Descriptor() ([]byte, []int)

Deprecated: Use GitMeta.ProtoReflect.Descriptor instead.

func (*GitMeta) GetId

func (x *GitMeta) GetId() string

func (*GitMeta) GetNames

func (x *GitMeta) GetNames() (*SecretMeta, error)

func (*GitMeta) GetPermission

func (x *GitMeta) GetPermission() string

func (*GitMeta) GetProviderType

func (x *GitMeta) GetProviderType() string

func (*GitMeta) GetUsername

func (x *GitMeta) GetUsername() string

func (*GitMeta) ProtoMessage

func (*GitMeta) ProtoMessage()

func (*GitMeta) ProtoReflect

func (x *GitMeta) ProtoReflect() protoreflect.Message

func (*GitMeta) Reset

func (x *GitMeta) Reset()

func (*GitMeta) String

func (x *GitMeta) String() string

func (*GitMeta) Validate

func (m *GitMeta) Validate() error

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

func (m *GitMeta) ValidateAll() error

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

Error satisfies the builtin error interface

func (GitRequestValidationError) ErrorName

func (e GitRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GitRequestValidationError) Field

Field function returns field value.

func (GitRequestValidationError) Key

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

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

Cause function returns cause value.

func (GrantAuthrolePolicyReplyValidationError) Error

Error satisfies the builtin error interface

func (GrantAuthrolePolicyReplyValidationError) ErrorName

ErrorName returns error name.

func (GrantAuthrolePolicyReplyValidationError) Field

Field function returns field value.

func (GrantAuthrolePolicyReplyValidationError) Key

Key function returns key value.

func (GrantAuthrolePolicyReplyValidationError) Reason

Reason function returns reason value.

type GrantTarget

type GrantTarget struct {
	RolePath string
	Name     string
}

type Kubernetes

type Kubernetes struct {

	// Kubernetes URL
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Kubernetes cabundle when url is https
	Cabundle string `protobuf:"bytes,2,opt,name=cabundle,proto3" json:"cabundle,omitempty"`
	// The k8s service account token witch has "system:auth-delegator" role
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Kubernetes) Descriptor deprecated

func (*Kubernetes) Descriptor() ([]byte, []int)

Deprecated: Use Kubernetes.ProtoReflect.Descriptor instead.

func (*Kubernetes) GetCabundle

func (x *Kubernetes) GetCabundle() string

func (*Kubernetes) GetToken

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,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	ServiceAccounts []string `protobuf:"bytes,2,rep,name=service_accounts,proto3" json:"service_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesAuthRoleMeta) Descriptor deprecated

func (*KubernetesAuthRoleMeta) Descriptor() ([]byte, []int)

Deprecated: Use KubernetesAuthRoleMeta.ProtoReflect.Descriptor instead.

func (*KubernetesAuthRoleMeta) GetNamespaces

func (x *KubernetesAuthRoleMeta) GetNamespaces() []string

func (*KubernetesAuthRoleMeta) GetServiceAccounts

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

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

Cause function returns cause value.

func (KubernetesAuthRoleMetaValidationError) Error

Error satisfies the builtin error interface

func (KubernetesAuthRoleMetaValidationError) ErrorName

ErrorName returns error name.

func (KubernetesAuthRoleMetaValidationError) Field

Field function returns field value.

func (KubernetesAuthRoleMetaValidationError) Key

Key function returns key value.

func (KubernetesAuthRoleMetaValidationError) Reason

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

Error satisfies the builtin error interface

func (KubernetesValidationError) ErrorName

func (e KubernetesValidationError) ErrorName() string

ErrorName returns error name.

func (KubernetesValidationError) Field

Field function returns field value.

func (KubernetesValidationError) Key

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

Error satisfies the builtin error interface

func (PkiRequestValidationError) ErrorName

func (e PkiRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PkiRequestValidationError) Field

Field function returns field value.

func (PkiRequestValidationError) Key

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

Cause function returns cause value.

func (RepoAccountValidationError) Error

Error satisfies the builtin error interface

func (RepoAccountValidationError) ErrorName

func (e RepoAccountValidationError) ErrorName() string

ErrorName returns error name.

func (RepoAccountValidationError) Field

Field function returns field value.

func (RepoAccountValidationError) Key

Key function returns key value.

func (RepoAccountValidationError) Reason

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) Descriptor() ([]byte, []int)

Deprecated: Use RepoMeta.ProtoReflect.Descriptor instead.

func (*RepoMeta) GetId

func (x *RepoMeta) GetId() string

func (*RepoMeta) GetNames

func (x *RepoMeta) GetNames() (*SecretMeta, error)

func (*RepoMeta) GetPermission

func (x *RepoMeta) GetPermission() string

func (*RepoMeta) GetProviderId

func (x *RepoMeta) GetProviderId() string

func (*RepoMeta) GetType

func (x *RepoMeta) GetType() string

func (*RepoMeta) GetUsername

func (x *RepoMeta) GetUsername() string

func (*RepoMeta) ProtoMessage

func (*RepoMeta) ProtoMessage()

func (*RepoMeta) ProtoReflect

func (x *RepoMeta) ProtoReflect() protoreflect.Message

func (*RepoMeta) Reset

func (x *RepoMeta) Reset()

func (*RepoMeta) String

func (x *RepoMeta) String() string

func (*RepoMeta) Validate

func (m *RepoMeta) Validate() error

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

func (m *RepoMeta) ValidateAll() error

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

Cause function returns cause value.

func (RepoRequestValidationError) Error

Error satisfies the builtin error interface

func (RepoRequestValidationError) ErrorName

func (e RepoRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RepoRequestValidationError) Field

Field function returns field value.

func (RepoRequestValidationError) Key

Key function returns key value.

func (RepoRequestValidationError) Reason

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 (*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

AllErrors returns a list of validation violation errors.

func (RevokeAuthrolePolicyReplyMultiError) Error

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

Cause function returns cause value.

func (RevokeAuthrolePolicyReplyValidationError) Error

Error satisfies the builtin error interface

func (RevokeAuthrolePolicyReplyValidationError) ErrorName

ErrorName returns error name.

func (RevokeAuthrolePolicyReplyValidationError) Field

Field function returns field value.

func (RevokeAuthrolePolicyReplyValidationError) Key

Key function returns key value.

func (RevokeAuthrolePolicyReplyValidationError) Reason

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 (*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 (*SecretHTTPClientImpl) CreteTenantGit

func (*SecretHTTPClientImpl) DeleteCluster

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 (*SecretHTTPClientImpl) DeleteTenantRepo

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

Error satisfies the builtin error interface

func (SecretInfoValidationError) ErrorName

func (e SecretInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SecretInfoValidationError) Field

Field function returns field value.

func (SecretInfoValidationError) Key

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

Cause function returns cause value.

func (TenantGitMetaValidationError) Error

Error satisfies the builtin error interface

func (TenantGitMetaValidationError) ErrorName

func (e TenantGitMetaValidationError) ErrorName() string

ErrorName returns error name.

func (TenantGitMetaValidationError) Field

Field function returns field value.

func (TenantGitMetaValidationError) Key

Key function returns key value.

func (TenantGitMetaValidationError) Reason

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

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

Cause function returns cause value.

func (TenantGitRequestValidationError) Error

Error satisfies the builtin error interface

func (TenantGitRequestValidationError) ErrorName

ErrorName returns error name.

func (TenantGitRequestValidationError) Field

Field function returns field value.

func (TenantGitRequestValidationError) Key

Key function returns key value.

func (TenantGitRequestValidationError) Reason

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

Cause function returns cause value.

func (TenantRepoMetaValidationError) Error

Error satisfies the builtin error interface

func (TenantRepoMetaValidationError) ErrorName

func (e TenantRepoMetaValidationError) ErrorName() string

ErrorName returns error name.

func (TenantRepoMetaValidationError) Field

Field function returns field value.

func (TenantRepoMetaValidationError) Key

Key function returns key value.

func (TenantRepoMetaValidationError) Reason

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

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

Cause function returns cause value.

func (TenantRepoRequestValidationError) Error

Error satisfies the builtin error interface

func (TenantRepoRequestValidationError) ErrorName

ErrorName returns error name.

func (TenantRepoRequestValidationError) Field

Field function returns field value.

func (TenantRepoRequestValidationError) Key

Key function returns key value.

func (TenantRepoRequestValidationError) Reason

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
	}
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL