v1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 (
	AuthTypeKey      = "authType"
	AuthTypeToken    = "token"
	AuthTypePassword = "password"
)
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 OperationHealthHealth = "/api.vaultproxy.v1.Health/Health"
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 OperationSecretCreateRepoAccount = "/api.vaultproxy.v1.Secret/CreateRepoAccount"
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 OperationSecretDeleteRepoAccountProduct = "/api.vaultproxy.v1.Secret/DeleteRepoAccountProduct"
View Source
const OperationSecretDeleteRepoAccountProject = "/api.vaultproxy.v1.Secret/DeleteRepoAccountProject"
View Source
const OperationSecretDeleteTenantGit = "/api.vaultproxy.v1.Secret/DeleteTenantGit"
View Source
const OperationSecretDeleteTenantRepo = "/api.vaultproxy.v1.Secret/DeleteTenantRepo"

Variables

View Source
var (
	SecretPolicy = `
path "%s" {
	capabilities = ["read"]
}`

	GitPolicy = `
path "git/data/%[1]s" {
    capabilities = ["read"]
}

path "git/metadata/%[1]s" {
    capabilities = ["read"]
}`

	ClusterPolicy = `
path "cluster/data/%s" {
    capabilities = ["read"]
}

path "auth/%s/role/*" {
    capabilities = ["read"]
}`
)
View Source
var (
	GitPathTemplate = VaultTemplate{
					// contains filtered or unexported fields
	}
	GitPolicyPathTemplate = VaultTemplate{
							// contains filtered or unexported fields
	}
	RepoPathTemplate = VaultTemplate{
						// contains filtered or unexported fields
	}
	RepoPolicyPathTemplate = VaultTemplate{
							// contains filtered or unexported fields
	}
	ClusterPathTemplate = VaultTemplate{
						// contains filtered or unexported fields
	}
	ClusterPolicyPathTemplate = VaultTemplate{
								// contains filtered or unexported fields
	}
	TenantGitPathTemplate = VaultTemplate{
							// contains filtered or unexported fields
	}
	TenantGitPolicyPathTemplate = VaultTemplate{
								// contains filtered or unexported fields
	}
	TenantRepoPathTemplate = VaultTemplate{
							// contains filtered or unexported fields
	}
	TenantRepoPolicyPathTemplate = VaultTemplate{
									// contains filtered or unexported fields
	}
	RolePathTemplate = VaultTemplate{
						// contains filtered or unexported fields
	}
)
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_health_proto protoreflect.FileDescriptor
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{}, vaultTmpl 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 RegisterHealthHTTPServer

func RegisterHealthHTTPServer(s *http.Server, srv HealthHTTPServer)

func RegisterSecretHTTPServer

func RegisterSecretHTTPServer(s *http.Server, srv SecretHTTPServer)

Types

type Account added in v0.4.0

type Account struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*Account) Descriptor deprecated added in v0.4.0

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

Deprecated: Use Account.ProtoReflect.Descriptor instead.

func (*Account) GetPassword added in v0.4.0

func (x *Account) GetPassword() string

func (*Account) GetUsername added in v0.4.0

func (x *Account) GetUsername() string

func (*Account) ProtoMessage added in v0.4.0

func (*Account) ProtoMessage()

func (*Account) ProtoReflect added in v0.4.0

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

func (*Account) Reset added in v0.4.0

func (x *Account) Reset()

func (*Account) String added in v0.4.0

func (x *Account) String() string

func (*Account) Validate added in v0.4.0

func (m *Account) Validate() error

Validate checks the field values on Account with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Account) ValidateAll added in v0.4.0

func (m *Account) ValidateAll() error

ValidateAll checks the field values on Account with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccountMultiError, or nil if none found.

type AccountMultiError added in v0.4.0

type AccountMultiError []error

AccountMultiError is an error wrapping multiple validation errors returned by Account.ValidateAll() if the designated constraints aren't met.

func (AccountMultiError) AllErrors added in v0.4.0

func (m AccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AccountMultiError) Error added in v0.4.0

func (m AccountMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AccountValidationError added in v0.4.0

type AccountValidationError struct {
	// contains filtered or unexported fields
}

AccountValidationError is the validation error returned by Account.Validate if the designated constraints aren't met.

func (AccountValidationError) Cause added in v0.4.0

func (e AccountValidationError) Cause() error

Cause function returns cause value.

func (AccountValidationError) Error added in v0.4.0

func (e AccountValidationError) Error() string

Error satisfies the builtin error interface

func (AccountValidationError) ErrorName added in v0.4.0

func (e AccountValidationError) ErrorName() string

ErrorName returns error name.

func (AccountValidationError) Field added in v0.4.0

func (e AccountValidationError) Field() string

Field function returns field value.

func (AccountValidationError) Key added in v0.4.0

func (e AccountValidationError) Key() bool

Key function returns key value.

func (AccountValidationError) Reason added in v0.4.0

func (e AccountValidationError) Reason() string

Reason function returns reason value.

type AuthGrantHTTPClient

type AuthGrantHTTPClient interface {
	GrantAuthroleClusterPolicy(ctx context.Context, req *AuthroleClusterPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error)
	GrantAuthroleGitPolicy(ctx context.Context, req *AuthroleGitPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error)
	GrantAuthroleRepoPolicy(ctx context.Context, req *AuthroleRepoPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error)
	GrantAuthroleTenantGitPolicy(ctx context.Context, req *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error)
	GrantAuthroleTenantRepoPolicy(ctx context.Context, req *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (rsp *GrantAuthrolePolicyReply, err error)
	RevokeAuthroleClusterPolicy(ctx context.Context, req *AuthroleClusterPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error)
	RevokeAuthroleGitPolicy(ctx context.Context, req *AuthroleGitPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error)
	RevokeAuthroleRepoPolicy(ctx context.Context, req *AuthroleRepoPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error)
	RevokeAuthroleTenantGitPolicy(ctx context.Context, req *AuthroleTenantGitPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error)
	RevokeAuthroleTenantRepoPolicy(ctx context.Context, req *AuthroleTenantRepoPolicyRequest, opts ...http.CallOption) (rsp *RevokeAuthrolePolicyReply, err error)
}

func NewAuthGrantHTTPClient

func NewAuthGrantHTTPClient(client *http.Client) AuthGrantHTTPClient

type AuthGrantHTTPClientImpl

type AuthGrantHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*AuthGrantHTTPClientImpl) GrantAuthroleClusterPolicy

func (*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 added in v0.3.0

func (m *AuthRequest) Validate() error

Validate checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthRequest) ValidateAll added in v0.3.0

func (m *AuthRequest) ValidateAll() error

ValidateAll checks the field values on AuthRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthRequestMultiError, or nil if none found.

type AuthRequestMultiError added in v0.3.0

type AuthRequestMultiError []error

AuthRequestMultiError is an error wrapping multiple validation errors returned by AuthRequest.ValidateAll() if the designated constraints aren't met.

func (AuthRequestMultiError) AllErrors added in v0.3.0

func (m AuthRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthRequestMultiError) Error added in v0.3.0

func (m AuthRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type AuthRequestValidationError added in v0.3.0

type AuthRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthRequestValidationError is the validation error returned by AuthRequest.Validate if the designated constraints aren't met.

func (AuthRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthRequestValidationError) ErrorName added in v0.3.0

func (e AuthRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleClusterPolicyRequest

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

func (*AuthroleClusterPolicyRequest) ConvertToAuthPolicyReqeuest

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

func (*AuthroleClusterPolicyRequest) Descriptor deprecated

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

Deprecated: Use AuthroleClusterPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleClusterPolicyRequest) GetClusterName

func (x *AuthroleClusterPolicyRequest) GetClusterName() string

func (*AuthroleClusterPolicyRequest) GetDestUser

func (x *AuthroleClusterPolicyRequest) GetDestUser() string

func (*AuthroleClusterPolicyRequest) GetSecret added in v0.3.0

func (x *AuthroleClusterPolicyRequest) GetSecret() *ClusterMeta

func (*AuthroleClusterPolicyRequest) ProtoMessage

func (*AuthroleClusterPolicyRequest) ProtoMessage()

func (*AuthroleClusterPolicyRequest) ProtoReflect

func (*AuthroleClusterPolicyRequest) Reset

func (x *AuthroleClusterPolicyRequest) Reset()

func (*AuthroleClusterPolicyRequest) String

func (*AuthroleClusterPolicyRequest) Validate added in v0.3.0

func (m *AuthroleClusterPolicyRequest) Validate() error

Validate checks the field values on AuthroleClusterPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleClusterPolicyRequest) ValidateAll added in v0.3.0

func (m *AuthroleClusterPolicyRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleClusterPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleClusterPolicyRequestMultiError, or nil if none found.

type AuthroleClusterPolicyRequestMultiError added in v0.3.0

type AuthroleClusterPolicyRequestMultiError []error

AuthroleClusterPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleClusterPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleClusterPolicyRequestMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (AuthroleClusterPolicyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleClusterPolicyRequestValidationError added in v0.3.0

type AuthroleClusterPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleClusterPolicyRequestValidationError is the validation error returned by AuthroleClusterPolicyRequest.Validate if the designated constraints aren't met.

func (AuthroleClusterPolicyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleClusterPolicyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleClusterPolicyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (AuthroleClusterPolicyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleClusterPolicyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleClusterPolicyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleGitPolicyRequest

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

func (*AuthroleGitPolicyRequest) ConvertToAuthPolicyReqeuest

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

func (*AuthroleGitPolicyRequest) Descriptor deprecated

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

Deprecated: Use AuthroleGitPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleGitPolicyRequest) GetClusterName

func (x *AuthroleGitPolicyRequest) GetClusterName() string

func (*AuthroleGitPolicyRequest) GetDestUser

func (x *AuthroleGitPolicyRequest) GetDestUser() string

func (*AuthroleGitPolicyRequest) GetSecret added in v0.3.0

func (x *AuthroleGitPolicyRequest) GetSecret() *GitMeta

func (*AuthroleGitPolicyRequest) ProtoMessage

func (*AuthroleGitPolicyRequest) ProtoMessage()

func (*AuthroleGitPolicyRequest) ProtoReflect

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

func (*AuthroleGitPolicyRequest) Reset

func (x *AuthroleGitPolicyRequest) Reset()

func (*AuthroleGitPolicyRequest) String

func (x *AuthroleGitPolicyRequest) String() string

func (*AuthroleGitPolicyRequest) Validate added in v0.3.0

func (m *AuthroleGitPolicyRequest) Validate() error

Validate checks the field values on AuthroleGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleGitPolicyRequest) ValidateAll added in v0.3.0

func (m *AuthroleGitPolicyRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleGitPolicyRequestMultiError, or nil if none found.

type AuthroleGitPolicyRequestMultiError added in v0.3.0

type AuthroleGitPolicyRequestMultiError []error

AuthroleGitPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleGitPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleGitPolicyRequestMultiError) AllErrors added in v0.3.0

func (m AuthroleGitPolicyRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthroleGitPolicyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleGitPolicyRequestValidationError added in v0.3.0

type AuthroleGitPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleGitPolicyRequestValidationError is the validation error returned by AuthroleGitPolicyRequest.Validate if the designated constraints aren't met.

func (AuthroleGitPolicyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleGitPolicyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleGitPolicyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (AuthroleGitPolicyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleGitPolicyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleGitPolicyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleRepoPolicyRequest

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

func (*AuthroleRepoPolicyRequest) ConvertToAuthPolicyReqeuest

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

func (*AuthroleRepoPolicyRequest) Descriptor deprecated

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

Deprecated: Use AuthroleRepoPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleRepoPolicyRequest) GetClusterName

func (x *AuthroleRepoPolicyRequest) GetClusterName() string

func (*AuthroleRepoPolicyRequest) GetDestUser

func (x *AuthroleRepoPolicyRequest) GetDestUser() string

func (*AuthroleRepoPolicyRequest) GetSecret added in v0.3.0

func (x *AuthroleRepoPolicyRequest) GetSecret() *RepoMeta

func (*AuthroleRepoPolicyRequest) ProtoMessage

func (*AuthroleRepoPolicyRequest) ProtoMessage()

func (*AuthroleRepoPolicyRequest) ProtoReflect

func (*AuthroleRepoPolicyRequest) Reset

func (x *AuthroleRepoPolicyRequest) Reset()

func (*AuthroleRepoPolicyRequest) String

func (x *AuthroleRepoPolicyRequest) String() string

func (*AuthroleRepoPolicyRequest) Validate added in v0.3.0

func (m *AuthroleRepoPolicyRequest) Validate() error

Validate checks the field values on AuthroleRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleRepoPolicyRequest) ValidateAll added in v0.3.0

func (m *AuthroleRepoPolicyRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleRepoPolicyRequestMultiError, or nil if none found.

type AuthroleRepoPolicyRequestMultiError added in v0.3.0

type AuthroleRepoPolicyRequestMultiError []error

AuthroleRepoPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleRepoPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleRepoPolicyRequestMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (AuthroleRepoPolicyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleRepoPolicyRequestValidationError added in v0.3.0

type AuthroleRepoPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleRepoPolicyRequestValidationError is the validation error returned by AuthroleRepoPolicyRequest.Validate if the designated constraints aren't met.

func (AuthroleRepoPolicyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleRepoPolicyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleRepoPolicyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (AuthroleRepoPolicyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleRepoPolicyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleRepoPolicyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleRequest

type AuthroleRequest struct {

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

func (*AuthroleRequest) ConvertRequest

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

func (*AuthroleRequest) Descriptor deprecated

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

Deprecated: Use AuthroleRequest.ProtoReflect.Descriptor instead.

func (*AuthroleRequest) GetClusterName

func (x *AuthroleRequest) GetClusterName() string

func (*AuthroleRequest) GetDestUser

func (x *AuthroleRequest) GetDestUser() string

func (*AuthroleRequest) GetKubernetes added in v0.3.6

func (x *AuthroleRequest) GetKubernetes() *KubernetesAuthRoleMeta

func (*AuthroleRequest) GetRole

func (m *AuthroleRequest) GetRole() isAuthroleRequest_Role

func (*AuthroleRequest) ProtoMessage

func (*AuthroleRequest) ProtoMessage()

func (*AuthroleRequest) ProtoReflect

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

func (*AuthroleRequest) Reset

func (x *AuthroleRequest) Reset()

func (*AuthroleRequest) String

func (x *AuthroleRequest) String() string

func (*AuthroleRequest) Validate added in v0.3.0

func (m *AuthroleRequest) Validate() error

Validate checks the field values on AuthroleRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleRequest) ValidateAll added in v0.3.0

func (m *AuthroleRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleRequestMultiError, or nil if none found.

type AuthroleRequestMultiError added in v0.3.0

type AuthroleRequestMultiError []error

AuthroleRequestMultiError is an error wrapping multiple validation errors returned by AuthroleRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleRequestMultiError) AllErrors added in v0.3.0

func (m AuthroleRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (AuthroleRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleRequestValidationError added in v0.3.0

type AuthroleRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleRequestValidationError is the validation error returned by AuthroleRequest.Validate if the designated constraints aren't met.

func (AuthroleRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleRequestValidationError) ErrorName added in v0.3.0

func (e AuthroleRequestValidationError) ErrorName() string

ErrorName returns error name.

func (AuthroleRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleRequest_Kubernetes added in v0.3.6

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

type AuthroleTenantGitPolicyRequest

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

func (*AuthroleTenantGitPolicyRequest) ConvertToAuthPolicyReqeuest

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

func (*AuthroleTenantGitPolicyRequest) Descriptor deprecated

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

Deprecated: Use AuthroleTenantGitPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleTenantGitPolicyRequest) GetClusterName

func (x *AuthroleTenantGitPolicyRequest) GetClusterName() string

func (*AuthroleTenantGitPolicyRequest) GetDestUser

func (x *AuthroleTenantGitPolicyRequest) GetDestUser() string

func (*AuthroleTenantGitPolicyRequest) GetSecret added in v0.3.0

func (*AuthroleTenantGitPolicyRequest) ProtoMessage

func (*AuthroleTenantGitPolicyRequest) ProtoMessage()

func (*AuthroleTenantGitPolicyRequest) ProtoReflect

func (*AuthroleTenantGitPolicyRequest) Reset

func (x *AuthroleTenantGitPolicyRequest) Reset()

func (*AuthroleTenantGitPolicyRequest) String

func (*AuthroleTenantGitPolicyRequest) Validate added in v0.3.0

func (m *AuthroleTenantGitPolicyRequest) Validate() error

Validate checks the field values on AuthroleTenantGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleTenantGitPolicyRequest) ValidateAll added in v0.3.0

func (m *AuthroleTenantGitPolicyRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleTenantGitPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleTenantGitPolicyRequestMultiError, or nil if none found.

type AuthroleTenantGitPolicyRequestMultiError added in v0.3.0

type AuthroleTenantGitPolicyRequestMultiError []error

AuthroleTenantGitPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleTenantGitPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleTenantGitPolicyRequestMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (AuthroleTenantGitPolicyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleTenantGitPolicyRequestValidationError added in v0.3.0

type AuthroleTenantGitPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleTenantGitPolicyRequestValidationError is the validation error returned by AuthroleTenantGitPolicyRequest.Validate if the designated constraints aren't met.

func (AuthroleTenantGitPolicyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleTenantGitPolicyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleTenantGitPolicyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (AuthroleTenantGitPolicyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleTenantGitPolicyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleTenantGitPolicyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type AuthroleTenantRepoPolicyRequest

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

func (*AuthroleTenantRepoPolicyRequest) ConvertToAuthPolicyReqeuest

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

func (*AuthroleTenantRepoPolicyRequest) Descriptor deprecated

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

Deprecated: Use AuthroleTenantRepoPolicyRequest.ProtoReflect.Descriptor instead.

func (*AuthroleTenantRepoPolicyRequest) GetClusterName

func (x *AuthroleTenantRepoPolicyRequest) GetClusterName() string

func (*AuthroleTenantRepoPolicyRequest) GetDestUser

func (x *AuthroleTenantRepoPolicyRequest) GetDestUser() string

func (*AuthroleTenantRepoPolicyRequest) GetSecret added in v0.3.0

func (*AuthroleTenantRepoPolicyRequest) ProtoMessage

func (*AuthroleTenantRepoPolicyRequest) ProtoMessage()

func (*AuthroleTenantRepoPolicyRequest) ProtoReflect

func (*AuthroleTenantRepoPolicyRequest) Reset

func (*AuthroleTenantRepoPolicyRequest) String

func (*AuthroleTenantRepoPolicyRequest) Validate added in v0.3.0

func (m *AuthroleTenantRepoPolicyRequest) Validate() error

Validate checks the field values on AuthroleTenantRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*AuthroleTenantRepoPolicyRequest) ValidateAll added in v0.3.0

func (m *AuthroleTenantRepoPolicyRequest) ValidateAll() error

ValidateAll checks the field values on AuthroleTenantRepoPolicyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AuthroleTenantRepoPolicyRequestMultiError, or nil if none found.

type AuthroleTenantRepoPolicyRequestMultiError added in v0.3.0

type AuthroleTenantRepoPolicyRequestMultiError []error

AuthroleTenantRepoPolicyRequestMultiError is an error wrapping multiple validation errors returned by AuthroleTenantRepoPolicyRequest.ValidateAll() if the designated constraints aren't met.

func (AuthroleTenantRepoPolicyRequestMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (AuthroleTenantRepoPolicyRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type AuthroleTenantRepoPolicyRequestValidationError added in v0.3.0

type AuthroleTenantRepoPolicyRequestValidationError struct {
	// contains filtered or unexported fields
}

AuthroleTenantRepoPolicyRequestValidationError is the validation error returned by AuthroleTenantRepoPolicyRequest.Validate if the designated constraints aren't met.

func (AuthroleTenantRepoPolicyRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (AuthroleTenantRepoPolicyRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (AuthroleTenantRepoPolicyRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (AuthroleTenantRepoPolicyRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (AuthroleTenantRepoPolicyRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (AuthroleTenantRepoPolicyRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ClusterAccount

type ClusterAccount struct {

	// Kubeconfig file to access cluster
	Kubeconfig string `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"`
	// contains filtered or unexported fields
}

CLUSTER DEFINE

func (*ClusterAccount) Descriptor deprecated

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

Deprecated: Use ClusterAccount.ProtoReflect.Descriptor instead.

func (*ClusterAccount) GetKubeconfig

func (x *ClusterAccount) GetKubeconfig() string

func (*ClusterAccount) ProtoMessage

func (*ClusterAccount) ProtoMessage()

func (*ClusterAccount) ProtoReflect

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

func (*ClusterAccount) Reset

func (x *ClusterAccount) Reset()

func (*ClusterAccount) String

func (x *ClusterAccount) String() string

func (*ClusterAccount) Validate added in v0.3.0

func (m *ClusterAccount) Validate() error

Validate checks the field values on ClusterAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ClusterAccount) ValidateAll added in v0.3.0

func (m *ClusterAccount) ValidateAll() error

ValidateAll checks the field values on ClusterAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterAccountMultiError, or nil if none found.

type ClusterAccountMultiError added in v0.3.0

type ClusterAccountMultiError []error

ClusterAccountMultiError is an error wrapping multiple validation errors returned by ClusterAccount.ValidateAll() if the designated constraints aren't met.

func (ClusterAccountMultiError) AllErrors added in v0.3.0

func (m ClusterAccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterAccountMultiError) Error added in v0.3.0

func (m ClusterAccountMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClusterAccountValidationError added in v0.3.0

type ClusterAccountValidationError struct {
	// contains filtered or unexported fields
}

ClusterAccountValidationError is the validation error returned by ClusterAccount.Validate if the designated constraints aren't met.

func (ClusterAccountValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterAccountValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterAccountValidationError) ErrorName added in v0.3.0

func (e ClusterAccountValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterAccountValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterAccountValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterAccountValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ClusterMeta

type ClusterMeta struct {

	// Type of cluster, such as k8s, aws, virtual machine, only support "kubernetes"
	Type       string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Id         string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Username   string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterMeta) Descriptor deprecated

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

Deprecated: Use ClusterMeta.ProtoReflect.Descriptor instead.

func (*ClusterMeta) GetId

func (x *ClusterMeta) GetId() string

func (*ClusterMeta) GetNames added in v0.3.0

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

func (*ClusterMeta) GetPermission added in v0.3.0

func (x *ClusterMeta) GetPermission() string

func (*ClusterMeta) GetType

func (x *ClusterMeta) GetType() string

func (*ClusterMeta) GetUsername added in v0.3.0

func (x *ClusterMeta) GetUsername() string

func (*ClusterMeta) ProtoMessage

func (*ClusterMeta) ProtoMessage()

func (*ClusterMeta) ProtoReflect

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

func (*ClusterMeta) Reset

func (x *ClusterMeta) Reset()

func (*ClusterMeta) String

func (x *ClusterMeta) String() string

func (*ClusterMeta) Validate added in v0.3.0

func (m *ClusterMeta) Validate() error

Validate checks the field values on ClusterMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ClusterMeta) ValidateAll added in v0.3.0

func (m *ClusterMeta) ValidateAll() error

ValidateAll checks the field values on ClusterMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterMetaMultiError, or nil if none found.

type ClusterMetaMultiError added in v0.3.0

type ClusterMetaMultiError []error

ClusterMetaMultiError is an error wrapping multiple validation errors returned by ClusterMeta.ValidateAll() if the designated constraints aren't met.

func (ClusterMetaMultiError) AllErrors added in v0.3.0

func (m ClusterMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterMetaMultiError) Error added in v0.3.0

func (m ClusterMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClusterMetaValidationError added in v0.3.0

type ClusterMetaValidationError struct {
	// contains filtered or unexported fields
}

ClusterMetaValidationError is the validation error returned by ClusterMeta.Validate if the designated constraints aren't met.

func (ClusterMetaValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterMetaValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterMetaValidationError) ErrorName added in v0.3.0

func (e ClusterMetaValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterMetaValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterMetaValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterMetaValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ClusterRequest

type ClusterRequest struct {
	Meta *ClusterMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// Cluster access info, such as kubeconfig when clsuter type is kubernetes
	Account *ClusterAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterRequest) ConvertRequest

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

func (*ClusterRequest) Descriptor deprecated

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

Deprecated: Use ClusterRequest.ProtoReflect.Descriptor instead.

func (*ClusterRequest) GetAccount

func (x *ClusterRequest) GetAccount() *ClusterAccount

func (*ClusterRequest) GetMeta added in v0.3.0

func (x *ClusterRequest) GetMeta() *ClusterMeta

func (*ClusterRequest) ProtoMessage

func (*ClusterRequest) ProtoMessage()

func (*ClusterRequest) ProtoReflect

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

func (*ClusterRequest) Reset

func (x *ClusterRequest) Reset()

func (*ClusterRequest) String

func (x *ClusterRequest) String() string

func (*ClusterRequest) Validate added in v0.3.0

func (m *ClusterRequest) Validate() error

Validate checks the field values on ClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*ClusterRequest) ValidateAll added in v0.3.0

func (m *ClusterRequest) ValidateAll() error

ValidateAll checks the field values on ClusterRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ClusterRequestMultiError, or nil if none found.

type ClusterRequestMultiError added in v0.3.0

type ClusterRequestMultiError []error

ClusterRequestMultiError is an error wrapping multiple validation errors returned by ClusterRequest.ValidateAll() if the designated constraints aren't met.

func (ClusterRequestMultiError) AllErrors added in v0.3.0

func (m ClusterRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterRequestMultiError) Error added in v0.3.0

func (m ClusterRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type ClusterRequestValidationError added in v0.3.0

type ClusterRequestValidationError struct {
	// contains filtered or unexported fields
}

ClusterRequestValidationError is the validation error returned by ClusterRequest.Validate if the designated constraints aren't met.

func (ClusterRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterRequestValidationError) ErrorName added in v0.3.0

func (e ClusterRequestValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateAuthReply

type CreateAuthReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuthReply) Descriptor deprecated

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

Deprecated: Use CreateAuthReply.ProtoReflect.Descriptor instead.

func (*CreateAuthReply) GetMsg

func (x *CreateAuthReply) GetMsg() string

func (*CreateAuthReply) ProtoMessage

func (*CreateAuthReply) ProtoMessage()

func (*CreateAuthReply) ProtoReflect

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

func (*CreateAuthReply) Reset

func (x *CreateAuthReply) Reset()

func (*CreateAuthReply) String

func (x *CreateAuthReply) String() string

func (*CreateAuthReply) Validate added in v0.3.0

func (m *CreateAuthReply) Validate() error

Validate checks the field values on CreateAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateAuthReply) ValidateAll added in v0.3.0

func (m *CreateAuthReply) ValidateAll() error

ValidateAll checks the field values on CreateAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAuthReplyMultiError, or nil if none found.

type CreateAuthReplyMultiError added in v0.3.0

type CreateAuthReplyMultiError []error

CreateAuthReplyMultiError is an error wrapping multiple validation errors returned by CreateAuthReply.ValidateAll() if the designated constraints aren't met.

func (CreateAuthReplyMultiError) AllErrors added in v0.3.0

func (m CreateAuthReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAuthReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateAuthReplyValidationError added in v0.3.0

type CreateAuthReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateAuthReplyValidationError is the validation error returned by CreateAuthReply.Validate if the designated constraints aren't met.

func (CreateAuthReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateAuthReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateAuthReplyValidationError) ErrorName added in v0.3.0

func (e CreateAuthReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateAuthReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateAuthReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateAuthReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateAuthroleReply

type CreateAuthroleReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAuthroleReply) Descriptor deprecated

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

Deprecated: Use CreateAuthroleReply.ProtoReflect.Descriptor instead.

func (*CreateAuthroleReply) GetMsg

func (x *CreateAuthroleReply) GetMsg() string

func (*CreateAuthroleReply) ProtoMessage

func (*CreateAuthroleReply) ProtoMessage()

func (*CreateAuthroleReply) ProtoReflect

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

func (*CreateAuthroleReply) Reset

func (x *CreateAuthroleReply) Reset()

func (*CreateAuthroleReply) String

func (x *CreateAuthroleReply) String() string

func (*CreateAuthroleReply) Validate added in v0.3.0

func (m *CreateAuthroleReply) Validate() error

Validate checks the field values on CreateAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateAuthroleReply) ValidateAll added in v0.3.0

func (m *CreateAuthroleReply) ValidateAll() error

ValidateAll checks the field values on CreateAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAuthroleReplyMultiError, or nil if none found.

type CreateAuthroleReplyMultiError added in v0.3.0

type CreateAuthroleReplyMultiError []error

CreateAuthroleReplyMultiError is an error wrapping multiple validation errors returned by CreateAuthroleReply.ValidateAll() if the designated constraints aren't met.

func (CreateAuthroleReplyMultiError) AllErrors added in v0.3.0

func (m CreateAuthroleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateAuthroleReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateAuthroleReplyValidationError added in v0.3.0

type CreateAuthroleReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateAuthroleReplyValidationError is the validation error returned by CreateAuthroleReply.Validate if the designated constraints aren't met.

func (CreateAuthroleReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateAuthroleReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateAuthroleReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateAuthroleReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateAuthroleReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateAuthroleReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateClusterReply

type CreateClusterReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterReply) Descriptor deprecated

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

Deprecated: Use CreateClusterReply.ProtoReflect.Descriptor instead.

func (*CreateClusterReply) GetSecret added in v0.3.0

func (x *CreateClusterReply) GetSecret() *SecretInfo

func (*CreateClusterReply) ProtoMessage

func (*CreateClusterReply) ProtoMessage()

func (*CreateClusterReply) ProtoReflect

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

func (*CreateClusterReply) Reset

func (x *CreateClusterReply) Reset()

func (*CreateClusterReply) String

func (x *CreateClusterReply) String() string

func (*CreateClusterReply) Validate added in v0.3.0

func (m *CreateClusterReply) Validate() error

Validate checks the field values on CreateClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateClusterReply) ValidateAll added in v0.3.0

func (m *CreateClusterReply) ValidateAll() error

ValidateAll checks the field values on CreateClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateClusterReplyMultiError, or nil if none found.

type CreateClusterReplyMultiError added in v0.3.0

type CreateClusterReplyMultiError []error

CreateClusterReplyMultiError is an error wrapping multiple validation errors returned by CreateClusterReply.ValidateAll() if the designated constraints aren't met.

func (CreateClusterReplyMultiError) AllErrors added in v0.3.0

func (m CreateClusterReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateClusterReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateClusterReplyValidationError added in v0.3.0

type CreateClusterReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateClusterReplyValidationError is the validation error returned by CreateClusterReply.Validate if the designated constraints aren't met.

func (CreateClusterReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateClusterReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateClusterReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateClusterReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateClusterReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateClusterReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateGitReply

type CreateGitReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateGitReply) Descriptor deprecated

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

Deprecated: Use CreateGitReply.ProtoReflect.Descriptor instead.

func (*CreateGitReply) GetSecret added in v0.3.0

func (x *CreateGitReply) GetSecret() *SecretInfo

func (*CreateGitReply) ProtoMessage

func (*CreateGitReply) ProtoMessage()

func (*CreateGitReply) ProtoReflect

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

func (*CreateGitReply) Reset

func (x *CreateGitReply) Reset()

func (*CreateGitReply) String

func (x *CreateGitReply) String() string

func (*CreateGitReply) Validate added in v0.3.0

func (m *CreateGitReply) Validate() error

Validate checks the field values on CreateGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateGitReply) ValidateAll added in v0.3.0

func (m *CreateGitReply) ValidateAll() error

ValidateAll checks the field values on CreateGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateGitReplyMultiError, or nil if none found.

type CreateGitReplyMultiError added in v0.3.0

type CreateGitReplyMultiError []error

CreateGitReplyMultiError is an error wrapping multiple validation errors returned by CreateGitReply.ValidateAll() if the designated constraints aren't met.

func (CreateGitReplyMultiError) AllErrors added in v0.3.0

func (m CreateGitReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateGitReplyMultiError) Error added in v0.3.0

func (m CreateGitReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreateGitReplyValidationError added in v0.3.0

type CreateGitReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateGitReplyValidationError is the validation error returned by CreateGitReply.Validate if the designated constraints aren't met.

func (CreateGitReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateGitReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateGitReplyValidationError) ErrorName added in v0.3.0

func (e CreateGitReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateGitReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateGitReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateGitReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreatePkiReply

type CreatePkiReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreatePkiReply) Descriptor deprecated

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

Deprecated: Use CreatePkiReply.ProtoReflect.Descriptor instead.

func (*CreatePkiReply) GetSecret added in v0.3.0

func (x *CreatePkiReply) GetSecret() *SecretInfo

func (*CreatePkiReply) ProtoMessage

func (*CreatePkiReply) ProtoMessage()

func (*CreatePkiReply) ProtoReflect

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

func (*CreatePkiReply) Reset

func (x *CreatePkiReply) Reset()

func (*CreatePkiReply) String

func (x *CreatePkiReply) String() string

func (*CreatePkiReply) Validate added in v0.3.0

func (m *CreatePkiReply) Validate() error

Validate checks the field values on CreatePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreatePkiReply) ValidateAll added in v0.3.0

func (m *CreatePkiReply) ValidateAll() error

ValidateAll checks the field values on CreatePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreatePkiReplyMultiError, or nil if none found.

type CreatePkiReplyMultiError added in v0.3.0

type CreatePkiReplyMultiError []error

CreatePkiReplyMultiError is an error wrapping multiple validation errors returned by CreatePkiReply.ValidateAll() if the designated constraints aren't met.

func (CreatePkiReplyMultiError) AllErrors added in v0.3.0

func (m CreatePkiReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreatePkiReplyMultiError) Error added in v0.3.0

func (m CreatePkiReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type CreatePkiReplyValidationError added in v0.3.0

type CreatePkiReplyValidationError struct {
	// contains filtered or unexported fields
}

CreatePkiReplyValidationError is the validation error returned by CreatePkiReply.Validate if the designated constraints aren't met.

func (CreatePkiReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreatePkiReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreatePkiReplyValidationError) ErrorName added in v0.3.0

func (e CreatePkiReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreatePkiReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreatePkiReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreatePkiReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateRepoReply

type CreateRepoReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRepoReply) Descriptor deprecated

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

Deprecated: Use CreateRepoReply.ProtoReflect.Descriptor instead.

func (*CreateRepoReply) GetSecret added in v0.3.0

func (x *CreateRepoReply) GetSecret() *SecretInfo

func (*CreateRepoReply) ProtoMessage

func (*CreateRepoReply) ProtoMessage()

func (*CreateRepoReply) ProtoReflect

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

func (*CreateRepoReply) Reset

func (x *CreateRepoReply) Reset()

func (*CreateRepoReply) String

func (x *CreateRepoReply) String() string

func (*CreateRepoReply) Validate added in v0.3.0

func (m *CreateRepoReply) Validate() error

Validate checks the field values on CreateRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateRepoReply) ValidateAll added in v0.3.0

func (m *CreateRepoReply) ValidateAll() error

ValidateAll checks the field values on CreateRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRepoReplyMultiError, or nil if none found.

type CreateRepoReplyMultiError added in v0.3.0

type CreateRepoReplyMultiError []error

CreateRepoReplyMultiError is an error wrapping multiple validation errors returned by CreateRepoReply.ValidateAll() if the designated constraints aren't met.

func (CreateRepoReplyMultiError) AllErrors added in v0.3.0

func (m CreateRepoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateRepoReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateRepoReplyValidationError added in v0.3.0

type CreateRepoReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateRepoReplyValidationError is the validation error returned by CreateRepoReply.Validate if the designated constraints aren't met.

func (CreateRepoReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateRepoReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateRepoReplyValidationError) ErrorName added in v0.3.0

func (e CreateRepoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (CreateRepoReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateRepoReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateRepoReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateTenantGitReply

type CreateTenantGitReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantGitReply) Descriptor deprecated

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

Deprecated: Use CreateTenantGitReply.ProtoReflect.Descriptor instead.

func (*CreateTenantGitReply) GetSecret added in v0.3.0

func (x *CreateTenantGitReply) GetSecret() *SecretInfo

func (*CreateTenantGitReply) ProtoMessage

func (*CreateTenantGitReply) ProtoMessage()

func (*CreateTenantGitReply) ProtoReflect

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

func (*CreateTenantGitReply) Reset

func (x *CreateTenantGitReply) Reset()

func (*CreateTenantGitReply) String

func (x *CreateTenantGitReply) String() string

func (*CreateTenantGitReply) Validate added in v0.3.0

func (m *CreateTenantGitReply) Validate() error

Validate checks the field values on CreateTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateTenantGitReply) ValidateAll added in v0.3.0

func (m *CreateTenantGitReply) ValidateAll() error

ValidateAll checks the field values on CreateTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantGitReplyMultiError, or nil if none found.

type CreateTenantGitReplyMultiError added in v0.3.0

type CreateTenantGitReplyMultiError []error

CreateTenantGitReplyMultiError is an error wrapping multiple validation errors returned by CreateTenantGitReply.ValidateAll() if the designated constraints aren't met.

func (CreateTenantGitReplyMultiError) AllErrors added in v0.3.0

func (m CreateTenantGitReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTenantGitReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateTenantGitReplyValidationError added in v0.3.0

type CreateTenantGitReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateTenantGitReplyValidationError is the validation error returned by CreateTenantGitReply.Validate if the designated constraints aren't met.

func (CreateTenantGitReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateTenantGitReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateTenantGitReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateTenantGitReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateTenantGitReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateTenantGitReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateTenantRepoReply

type CreateTenantRepoReply struct {
	Secret *SecretInfo `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateTenantRepoReply) Descriptor deprecated

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

Deprecated: Use CreateTenantRepoReply.ProtoReflect.Descriptor instead.

func (*CreateTenantRepoReply) GetSecret added in v0.3.0

func (x *CreateTenantRepoReply) GetSecret() *SecretInfo

func (*CreateTenantRepoReply) ProtoMessage

func (*CreateTenantRepoReply) ProtoMessage()

func (*CreateTenantRepoReply) ProtoReflect

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

func (*CreateTenantRepoReply) Reset

func (x *CreateTenantRepoReply) Reset()

func (*CreateTenantRepoReply) String

func (x *CreateTenantRepoReply) String() string

func (*CreateTenantRepoReply) Validate added in v0.3.0

func (m *CreateTenantRepoReply) Validate() error

Validate checks the field values on CreateTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*CreateTenantRepoReply) ValidateAll added in v0.3.0

func (m *CreateTenantRepoReply) ValidateAll() error

ValidateAll checks the field values on CreateTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTenantRepoReplyMultiError, or nil if none found.

type CreateTenantRepoReplyMultiError added in v0.3.0

type CreateTenantRepoReplyMultiError []error

CreateTenantRepoReplyMultiError is an error wrapping multiple validation errors returned by CreateTenantRepoReply.ValidateAll() if the designated constraints aren't met.

func (CreateTenantRepoReplyMultiError) AllErrors added in v0.3.0

func (m CreateTenantRepoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTenantRepoReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type CreateTenantRepoReplyValidationError added in v0.3.0

type CreateTenantRepoReplyValidationError struct {
	// contains filtered or unexported fields
}

CreateTenantRepoReplyValidationError is the validation error returned by CreateTenantRepoReply.Validate if the designated constraints aren't met.

func (CreateTenantRepoReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateTenantRepoReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateTenantRepoReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateTenantRepoReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateTenantRepoReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateTenantRepoReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteAuthReply

type DeleteAuthReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAuthReply) Descriptor deprecated

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

Deprecated: Use DeleteAuthReply.ProtoReflect.Descriptor instead.

func (*DeleteAuthReply) GetMsg

func (x *DeleteAuthReply) GetMsg() string

func (*DeleteAuthReply) ProtoMessage

func (*DeleteAuthReply) ProtoMessage()

func (*DeleteAuthReply) ProtoReflect

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

func (*DeleteAuthReply) Reset

func (x *DeleteAuthReply) Reset()

func (*DeleteAuthReply) String

func (x *DeleteAuthReply) String() string

func (*DeleteAuthReply) Validate added in v0.3.0

func (m *DeleteAuthReply) Validate() error

Validate checks the field values on DeleteAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteAuthReply) ValidateAll added in v0.3.0

func (m *DeleteAuthReply) ValidateAll() error

ValidateAll checks the field values on DeleteAuthReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAuthReplyMultiError, or nil if none found.

type DeleteAuthReplyMultiError added in v0.3.0

type DeleteAuthReplyMultiError []error

DeleteAuthReplyMultiError is an error wrapping multiple validation errors returned by DeleteAuthReply.ValidateAll() if the designated constraints aren't met.

func (DeleteAuthReplyMultiError) AllErrors added in v0.3.0

func (m DeleteAuthReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteAuthReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteAuthReplyValidationError added in v0.3.0

type DeleteAuthReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteAuthReplyValidationError is the validation error returned by DeleteAuthReply.Validate if the designated constraints aren't met.

func (DeleteAuthReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteAuthReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteAuthReplyValidationError) ErrorName added in v0.3.0

func (e DeleteAuthReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteAuthReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteAuthReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteAuthReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteAuthroleReply

type DeleteAuthroleReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteAuthroleReply) Descriptor deprecated

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

Deprecated: Use DeleteAuthroleReply.ProtoReflect.Descriptor instead.

func (*DeleteAuthroleReply) GetMsg

func (x *DeleteAuthroleReply) GetMsg() string

func (*DeleteAuthroleReply) ProtoMessage

func (*DeleteAuthroleReply) ProtoMessage()

func (*DeleteAuthroleReply) ProtoReflect

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

func (*DeleteAuthroleReply) Reset

func (x *DeleteAuthroleReply) Reset()

func (*DeleteAuthroleReply) String

func (x *DeleteAuthroleReply) String() string

func (*DeleteAuthroleReply) Validate added in v0.3.0

func (m *DeleteAuthroleReply) Validate() error

Validate checks the field values on DeleteAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteAuthroleReply) ValidateAll added in v0.3.0

func (m *DeleteAuthroleReply) ValidateAll() error

ValidateAll checks the field values on DeleteAuthroleReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteAuthroleReplyMultiError, or nil if none found.

type DeleteAuthroleReplyMultiError added in v0.3.0

type DeleteAuthroleReplyMultiError []error

DeleteAuthroleReplyMultiError is an error wrapping multiple validation errors returned by DeleteAuthroleReply.ValidateAll() if the designated constraints aren't met.

func (DeleteAuthroleReplyMultiError) AllErrors added in v0.3.0

func (m DeleteAuthroleReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteAuthroleReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteAuthroleReplyValidationError added in v0.3.0

type DeleteAuthroleReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteAuthroleReplyValidationError is the validation error returned by DeleteAuthroleReply.Validate if the designated constraints aren't met.

func (DeleteAuthroleReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteAuthroleReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteAuthroleReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteAuthroleReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteAuthroleReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteAuthroleReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteClusterReply

type DeleteClusterReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterReply) Descriptor deprecated

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

Deprecated: Use DeleteClusterReply.ProtoReflect.Descriptor instead.

func (*DeleteClusterReply) GetMsg

func (x *DeleteClusterReply) GetMsg() string

func (*DeleteClusterReply) ProtoMessage

func (*DeleteClusterReply) ProtoMessage()

func (*DeleteClusterReply) ProtoReflect

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

func (*DeleteClusterReply) Reset

func (x *DeleteClusterReply) Reset()

func (*DeleteClusterReply) String

func (x *DeleteClusterReply) String() string

func (*DeleteClusterReply) Validate added in v0.3.0

func (m *DeleteClusterReply) Validate() error

Validate checks the field values on DeleteClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteClusterReply) ValidateAll added in v0.3.0

func (m *DeleteClusterReply) ValidateAll() error

ValidateAll checks the field values on DeleteClusterReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteClusterReplyMultiError, or nil if none found.

type DeleteClusterReplyMultiError added in v0.3.0

type DeleteClusterReplyMultiError []error

DeleteClusterReplyMultiError is an error wrapping multiple validation errors returned by DeleteClusterReply.ValidateAll() if the designated constraints aren't met.

func (DeleteClusterReplyMultiError) AllErrors added in v0.3.0

func (m DeleteClusterReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteClusterReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteClusterReplyValidationError added in v0.3.0

type DeleteClusterReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteClusterReplyValidationError is the validation error returned by DeleteClusterReply.Validate if the designated constraints aren't met.

func (DeleteClusterReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteClusterReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteClusterReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteClusterReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteClusterReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteClusterReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteGitReply

type DeleteGitReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteGitReply) Descriptor deprecated

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

Deprecated: Use DeleteGitReply.ProtoReflect.Descriptor instead.

func (*DeleteGitReply) GetMsg

func (x *DeleteGitReply) GetMsg() string

func (*DeleteGitReply) ProtoMessage

func (*DeleteGitReply) ProtoMessage()

func (*DeleteGitReply) ProtoReflect

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

func (*DeleteGitReply) Reset

func (x *DeleteGitReply) Reset()

func (*DeleteGitReply) String

func (x *DeleteGitReply) String() string

func (*DeleteGitReply) Validate added in v0.3.0

func (m *DeleteGitReply) Validate() error

Validate checks the field values on DeleteGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteGitReply) ValidateAll added in v0.3.0

func (m *DeleteGitReply) ValidateAll() error

ValidateAll checks the field values on DeleteGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteGitReplyMultiError, or nil if none found.

type DeleteGitReplyMultiError added in v0.3.0

type DeleteGitReplyMultiError []error

DeleteGitReplyMultiError is an error wrapping multiple validation errors returned by DeleteGitReply.ValidateAll() if the designated constraints aren't met.

func (DeleteGitReplyMultiError) AllErrors added in v0.3.0

func (m DeleteGitReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteGitReplyMultiError) Error added in v0.3.0

func (m DeleteGitReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeleteGitReplyValidationError added in v0.3.0

type DeleteGitReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteGitReplyValidationError is the validation error returned by DeleteGitReply.Validate if the designated constraints aren't met.

func (DeleteGitReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteGitReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteGitReplyValidationError) ErrorName added in v0.3.0

func (e DeleteGitReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteGitReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteGitReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteGitReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeletePkiReply

type DeletePkiReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeletePkiReply) Descriptor deprecated

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

Deprecated: Use DeletePkiReply.ProtoReflect.Descriptor instead.

func (*DeletePkiReply) GetMsg

func (x *DeletePkiReply) GetMsg() string

func (*DeletePkiReply) ProtoMessage

func (*DeletePkiReply) ProtoMessage()

func (*DeletePkiReply) ProtoReflect

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

func (*DeletePkiReply) Reset

func (x *DeletePkiReply) Reset()

func (*DeletePkiReply) String

func (x *DeletePkiReply) String() string

func (*DeletePkiReply) Validate added in v0.3.0

func (m *DeletePkiReply) Validate() error

Validate checks the field values on DeletePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeletePkiReply) ValidateAll added in v0.3.0

func (m *DeletePkiReply) ValidateAll() error

ValidateAll checks the field values on DeletePkiReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletePkiReplyMultiError, or nil if none found.

type DeletePkiReplyMultiError added in v0.3.0

type DeletePkiReplyMultiError []error

DeletePkiReplyMultiError is an error wrapping multiple validation errors returned by DeletePkiReply.ValidateAll() if the designated constraints aren't met.

func (DeletePkiReplyMultiError) AllErrors added in v0.3.0

func (m DeletePkiReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeletePkiReplyMultiError) Error added in v0.3.0

func (m DeletePkiReplyMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type DeletePkiReplyValidationError added in v0.3.0

type DeletePkiReplyValidationError struct {
	// contains filtered or unexported fields
}

DeletePkiReplyValidationError is the validation error returned by DeletePkiReply.Validate if the designated constraints aren't met.

func (DeletePkiReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeletePkiReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeletePkiReplyValidationError) ErrorName added in v0.3.0

func (e DeletePkiReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeletePkiReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeletePkiReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeletePkiReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteRepoReply

type DeleteRepoReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRepoReply) Descriptor deprecated

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

Deprecated: Use DeleteRepoReply.ProtoReflect.Descriptor instead.

func (*DeleteRepoReply) GetMsg

func (x *DeleteRepoReply) GetMsg() string

func (*DeleteRepoReply) ProtoMessage

func (*DeleteRepoReply) ProtoMessage()

func (*DeleteRepoReply) ProtoReflect

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

func (*DeleteRepoReply) Reset

func (x *DeleteRepoReply) Reset()

func (*DeleteRepoReply) String

func (x *DeleteRepoReply) String() string

func (*DeleteRepoReply) Validate added in v0.3.0

func (m *DeleteRepoReply) Validate() error

Validate checks the field values on DeleteRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteRepoReply) ValidateAll added in v0.3.0

func (m *DeleteRepoReply) ValidateAll() error

ValidateAll checks the field values on DeleteRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteRepoReplyMultiError, or nil if none found.

type DeleteRepoReplyMultiError added in v0.3.0

type DeleteRepoReplyMultiError []error

DeleteRepoReplyMultiError is an error wrapping multiple validation errors returned by DeleteRepoReply.ValidateAll() if the designated constraints aren't met.

func (DeleteRepoReplyMultiError) AllErrors added in v0.3.0

func (m DeleteRepoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteRepoReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteRepoReplyValidationError added in v0.3.0

type DeleteRepoReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteRepoReplyValidationError is the validation error returned by DeleteRepoReply.Validate if the designated constraints aren't met.

func (DeleteRepoReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteRepoReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteRepoReplyValidationError) ErrorName added in v0.3.0

func (e DeleteRepoReplyValidationError) ErrorName() string

ErrorName returns error name.

func (DeleteRepoReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteRepoReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteRepoReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteTenantGitReply

type DeleteTenantGitReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTenantGitReply) Descriptor deprecated

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

Deprecated: Use DeleteTenantGitReply.ProtoReflect.Descriptor instead.

func (*DeleteTenantGitReply) GetMsg

func (x *DeleteTenantGitReply) GetMsg() string

func (*DeleteTenantGitReply) ProtoMessage

func (*DeleteTenantGitReply) ProtoMessage()

func (*DeleteTenantGitReply) ProtoReflect

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

func (*DeleteTenantGitReply) Reset

func (x *DeleteTenantGitReply) Reset()

func (*DeleteTenantGitReply) String

func (x *DeleteTenantGitReply) String() string

func (*DeleteTenantGitReply) Validate added in v0.3.0

func (m *DeleteTenantGitReply) Validate() error

Validate checks the field values on DeleteTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTenantGitReply) ValidateAll added in v0.3.0

func (m *DeleteTenantGitReply) ValidateAll() error

ValidateAll checks the field values on DeleteTenantGitReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantGitReplyMultiError, or nil if none found.

type DeleteTenantGitReplyMultiError added in v0.3.0

type DeleteTenantGitReplyMultiError []error

DeleteTenantGitReplyMultiError is an error wrapping multiple validation errors returned by DeleteTenantGitReply.ValidateAll() if the designated constraints aren't met.

func (DeleteTenantGitReplyMultiError) AllErrors added in v0.3.0

func (m DeleteTenantGitReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTenantGitReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteTenantGitReplyValidationError added in v0.3.0

type DeleteTenantGitReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteTenantGitReplyValidationError is the validation error returned by DeleteTenantGitReply.Validate if the designated constraints aren't met.

func (DeleteTenantGitReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteTenantGitReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteTenantGitReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteTenantGitReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteTenantGitReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteTenantGitReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type DeleteTenantRepoReply

type DeleteTenantRepoReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteTenantRepoReply) Descriptor deprecated

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

Deprecated: Use DeleteTenantRepoReply.ProtoReflect.Descriptor instead.

func (*DeleteTenantRepoReply) GetMsg

func (x *DeleteTenantRepoReply) GetMsg() string

func (*DeleteTenantRepoReply) ProtoMessage

func (*DeleteTenantRepoReply) ProtoMessage()

func (*DeleteTenantRepoReply) ProtoReflect

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

func (*DeleteTenantRepoReply) Reset

func (x *DeleteTenantRepoReply) Reset()

func (*DeleteTenantRepoReply) String

func (x *DeleteTenantRepoReply) String() string

func (*DeleteTenantRepoReply) Validate added in v0.3.0

func (m *DeleteTenantRepoReply) Validate() error

Validate checks the field values on DeleteTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*DeleteTenantRepoReply) ValidateAll added in v0.3.0

func (m *DeleteTenantRepoReply) ValidateAll() error

ValidateAll checks the field values on DeleteTenantRepoReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeleteTenantRepoReplyMultiError, or nil if none found.

type DeleteTenantRepoReplyMultiError added in v0.3.0

type DeleteTenantRepoReplyMultiError []error

DeleteTenantRepoReplyMultiError is an error wrapping multiple validation errors returned by DeleteTenantRepoReply.ValidateAll() if the designated constraints aren't met.

func (DeleteTenantRepoReplyMultiError) AllErrors added in v0.3.0

func (m DeleteTenantRepoReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (DeleteTenantRepoReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type DeleteTenantRepoReplyValidationError added in v0.3.0

type DeleteTenantRepoReplyValidationError struct {
	// contains filtered or unexported fields
}

DeleteTenantRepoReplyValidationError is the validation error returned by DeleteTenantRepoReply.Validate if the designated constraints aren't met.

func (DeleteTenantRepoReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (DeleteTenantRepoReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (DeleteTenantRepoReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (DeleteTenantRepoReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (DeleteTenantRepoReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (DeleteTenantRepoReplyValidationError) Reason added in v0.3.0

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 added in v0.3.0

type GitKVs struct {

	// Deploykey of the unit
	DeployKey string `protobuf:"bytes,1,opt,name=deploy_key,proto3" json:"deploy_key,omitempty"`
	// AccessToken of this unit
	AccessToken string `protobuf:"bytes,2,opt,name=access_token,proto3" json:"access_token,omitempty"`
	// External kvs store in vault, deploy key and access token wiil over write it if key name is same
	Additionals map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

GIT DEFINE

func (*GitKVs) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GitKVs.ProtoReflect.Descriptor instead.

func (*GitKVs) GetAccessToken added in v0.3.0

func (x *GitKVs) GetAccessToken() string

func (*GitKVs) GetAdditionals added in v0.3.0

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

func (*GitKVs) GetDeployKey added in v0.3.0

func (x *GitKVs) GetDeployKey() string

func (*GitKVs) ProtoMessage added in v0.3.0

func (*GitKVs) ProtoMessage()

func (*GitKVs) ProtoReflect added in v0.3.0

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

func (*GitKVs) Reset added in v0.3.0

func (x *GitKVs) Reset()

func (*GitKVs) String added in v0.3.0

func (x *GitKVs) String() string

func (*GitKVs) Validate added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

type GitKVsMultiError []error

GitKVsMultiError is an error wrapping multiple validation errors returned by GitKVs.ValidateAll() if the designated constraints aren't met.

func (GitKVsMultiError) AllErrors added in v0.3.0

func (m GitKVsMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitKVsMultiError) Error added in v0.3.0

func (m GitKVsMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GitKVsValidationError added in v0.3.0

type GitKVsValidationError struct {
	// contains filtered or unexported fields
}

GitKVsValidationError is the validation error returned by GitKVs.Validate if the designated constraints aren't met.

func (GitKVsValidationError) Cause added in v0.3.0

func (e GitKVsValidationError) Cause() error

Cause function returns cause value.

func (GitKVsValidationError) Error added in v0.3.0

func (e GitKVsValidationError) Error() string

Error satisfies the builtin error interface

func (GitKVsValidationError) ErrorName added in v0.3.0

func (e GitKVsValidationError) ErrorName() string

ErrorName returns error name.

func (GitKVsValidationError) Field added in v0.3.0

func (e GitKVsValidationError) Field() string

Field function returns field value.

func (GitKVsValidationError) Key added in v0.3.0

func (e GitKVsValidationError) Key() bool

Key function returns key value.

func (GitKVsValidationError) Reason added in v0.3.0

func (e GitKVsValidationError) Reason() string

Reason function returns reason value.

type GitMeta added in v0.3.0

type GitMeta struct {

	// Git Provider Type, gitlab or github
	ProviderType string `protobuf:"bytes,1,opt,name=provider_type,proto3" json:"provider_type,omitempty"`
	// Git repo ID or product ID in nautes
	Id         string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Username   string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Permission string `protobuf:"bytes,4,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GitMeta) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GitMeta.ProtoReflect.Descriptor instead.

func (*GitMeta) GetId added in v0.3.0

func (x *GitMeta) GetId() string

func (*GitMeta) GetNames added in v0.3.0

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

func (*GitMeta) GetPermission added in v0.3.0

func (x *GitMeta) GetPermission() string

func (*GitMeta) GetProviderType added in v0.3.0

func (x *GitMeta) GetProviderType() string

func (*GitMeta) GetUsername added in v0.3.0

func (x *GitMeta) GetUsername() string

func (*GitMeta) ProtoMessage added in v0.3.0

func (*GitMeta) ProtoMessage()

func (*GitMeta) ProtoReflect added in v0.3.0

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

func (*GitMeta) Reset added in v0.3.0

func (x *GitMeta) Reset()

func (*GitMeta) String added in v0.3.0

func (x *GitMeta) String() string

func (*GitMeta) Validate added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

type GitMetaMultiError []error

GitMetaMultiError is an error wrapping multiple validation errors returned by GitMeta.ValidateAll() if the designated constraints aren't met.

func (GitMetaMultiError) AllErrors added in v0.3.0

func (m GitMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitMetaMultiError) Error added in v0.3.0

func (m GitMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GitMetaValidationError added in v0.3.0

type GitMetaValidationError struct {
	// contains filtered or unexported fields
}

GitMetaValidationError is the validation error returned by GitMeta.Validate if the designated constraints aren't met.

func (GitMetaValidationError) Cause added in v0.3.0

func (e GitMetaValidationError) Cause() error

Cause function returns cause value.

func (GitMetaValidationError) Error added in v0.3.0

func (e GitMetaValidationError) Error() string

Error satisfies the builtin error interface

func (GitMetaValidationError) ErrorName added in v0.3.0

func (e GitMetaValidationError) ErrorName() string

ErrorName returns error name.

func (GitMetaValidationError) Field added in v0.3.0

func (e GitMetaValidationError) Field() string

Field function returns field value.

func (GitMetaValidationError) Key added in v0.3.0

func (e GitMetaValidationError) Key() bool

Key function returns key value.

func (GitMetaValidationError) Reason added in v0.3.0

func (e GitMetaValidationError) Reason() string

Reason function returns reason value.

type GitRequest

type GitRequest struct {
	Meta *GitMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// The key vaules will store in vault
	Kvs *GitKVs `protobuf:"bytes,2,opt,name=kvs,proto3" json:"kvs,omitempty"`
	// contains filtered or unexported fields
}

func (*GitRequest) ConvertRequest

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

func (*GitRequest) Descriptor deprecated

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

Deprecated: Use GitRequest.ProtoReflect.Descriptor instead.

func (*GitRequest) GetKvs added in v0.3.0

func (x *GitRequest) GetKvs() *GitKVs

func (*GitRequest) GetMeta added in v0.3.0

func (x *GitRequest) GetMeta() *GitMeta

func (*GitRequest) ProtoMessage

func (*GitRequest) ProtoMessage()

func (*GitRequest) ProtoReflect

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

func (*GitRequest) Reset

func (x *GitRequest) Reset()

func (*GitRequest) String

func (x *GitRequest) String() string

func (*GitRequest) Validate added in v0.3.0

func (m *GitRequest) Validate() error

Validate checks the field values on GitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GitRequest) ValidateAll added in v0.3.0

func (m *GitRequest) ValidateAll() error

ValidateAll checks the field values on GitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GitRequestMultiError, or nil if none found.

type GitRequestMultiError added in v0.3.0

type GitRequestMultiError []error

GitRequestMultiError is an error wrapping multiple validation errors returned by GitRequest.ValidateAll() if the designated constraints aren't met.

func (GitRequestMultiError) AllErrors added in v0.3.0

func (m GitRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GitRequestMultiError) Error added in v0.3.0

func (m GitRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type GitRequestValidationError added in v0.3.0

type GitRequestValidationError struct {
	// contains filtered or unexported fields
}

GitRequestValidationError is the validation error returned by GitRequest.Validate if the designated constraints aren't met.

func (GitRequestValidationError) Cause added in v0.3.0

func (e GitRequestValidationError) Cause() error

Cause function returns cause value.

func (GitRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GitRequestValidationError) ErrorName added in v0.3.0

func (e GitRequestValidationError) ErrorName() string

ErrorName returns error name.

func (GitRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (GitRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (GitRequestValidationError) Reason added in v0.3.0

func (e GitRequestValidationError) Reason() string

Reason function returns reason value.

type GrantAuthrolePolicyReply

type GrantAuthrolePolicyReply struct {
	Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantAuthrolePolicyReply) Descriptor deprecated

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

Deprecated: Use GrantAuthrolePolicyReply.ProtoReflect.Descriptor instead.

func (*GrantAuthrolePolicyReply) GetMsg

func (x *GrantAuthrolePolicyReply) GetMsg() string

func (*GrantAuthrolePolicyReply) ProtoMessage

func (*GrantAuthrolePolicyReply) ProtoMessage()

func (*GrantAuthrolePolicyReply) ProtoReflect

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

func (*GrantAuthrolePolicyReply) Reset

func (x *GrantAuthrolePolicyReply) Reset()

func (*GrantAuthrolePolicyReply) String

func (x *GrantAuthrolePolicyReply) String() string

func (*GrantAuthrolePolicyReply) Validate added in v0.3.0

func (m *GrantAuthrolePolicyReply) Validate() error

Validate checks the field values on GrantAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*GrantAuthrolePolicyReply) ValidateAll added in v0.3.0

func (m *GrantAuthrolePolicyReply) ValidateAll() error

ValidateAll checks the field values on GrantAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GrantAuthrolePolicyReplyMultiError, or nil if none found.

type GrantAuthrolePolicyReplyMultiError added in v0.3.0

type GrantAuthrolePolicyReplyMultiError []error

GrantAuthrolePolicyReplyMultiError is an error wrapping multiple validation errors returned by GrantAuthrolePolicyReply.ValidateAll() if the designated constraints aren't met.

func (GrantAuthrolePolicyReplyMultiError) AllErrors added in v0.3.0

func (m GrantAuthrolePolicyReplyMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (GrantAuthrolePolicyReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type GrantAuthrolePolicyReplyValidationError added in v0.3.0

type GrantAuthrolePolicyReplyValidationError struct {
	// contains filtered or unexported fields
}

GrantAuthrolePolicyReplyValidationError is the validation error returned by GrantAuthrolePolicyReply.Validate if the designated constraints aren't met.

func (GrantAuthrolePolicyReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (GrantAuthrolePolicyReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (GrantAuthrolePolicyReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (GrantAuthrolePolicyReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (GrantAuthrolePolicyReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (GrantAuthrolePolicyReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type GrantTarget

type GrantTarget struct {
	RolePath string
	Name     string
}

type HealthHTTPClient

type HealthHTTPClient interface {
	Health(ctx context.Context, req *HealthRequest, opts ...http.CallOption) (rsp *HealthReply, err error)
}

func NewHealthHTTPClient

func NewHealthHTTPClient(client *http.Client) HealthHTTPClient

type HealthHTTPClientImpl

type HealthHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*HealthHTTPClientImpl) Health

type HealthHTTPServer

type HealthHTTPServer interface {
	Health(context.Context, *HealthRequest) (*HealthReply, error)
}

type HealthReply

type HealthReply struct {
	StandBy bool `protobuf:"varint,1,opt,name=standBy,proto3" json:"standBy,omitempty"`
	Vault   bool `protobuf:"varint,2,opt,name=vault,proto3" json:"vault,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthReply) Descriptor deprecated

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

Deprecated: Use HealthReply.ProtoReflect.Descriptor instead.

func (*HealthReply) GetStandBy

func (x *HealthReply) GetStandBy() bool

func (*HealthReply) GetVault

func (x *HealthReply) GetVault() bool

func (*HealthReply) ProtoMessage

func (*HealthReply) ProtoMessage()

func (*HealthReply) ProtoReflect

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

func (*HealthReply) Reset

func (x *HealthReply) Reset()

func (*HealthReply) String

func (x *HealthReply) String() string

type HealthRequest

type HealthRequest struct {
	// contains filtered or unexported fields
}

func (*HealthRequest) Descriptor deprecated

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

Deprecated: Use HealthRequest.ProtoReflect.Descriptor instead.

func (*HealthRequest) ProtoMessage

func (*HealthRequest) ProtoMessage()

func (*HealthRequest) ProtoReflect

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

func (*HealthRequest) Reset

func (x *HealthRequest) Reset()

func (*HealthRequest) String

func (x *HealthRequest) String() string

type Kubernetes

type Kubernetes struct {

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

func (*Kubernetes) Descriptor deprecated

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

Deprecated: Use Kubernetes.ProtoReflect.Descriptor instead.

func (*Kubernetes) GetCabundle

func (x *Kubernetes) GetCabundle() string

func (*Kubernetes) GetToken added in v0.3.0

func (x *Kubernetes) GetToken() string

func (*Kubernetes) GetUrl

func (x *Kubernetes) GetUrl() string

func (*Kubernetes) ProtoMessage

func (*Kubernetes) ProtoMessage()

func (*Kubernetes) ProtoReflect

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

func (*Kubernetes) Reset

func (x *Kubernetes) Reset()

func (*Kubernetes) String

func (x *Kubernetes) String() string

func (*Kubernetes) Validate added in v0.3.0

func (m *Kubernetes) Validate() error

Validate checks the field values on Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Kubernetes) ValidateAll added in v0.3.0

func (m *Kubernetes) ValidateAll() error

ValidateAll checks the field values on Kubernetes with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesMultiError, or nil if none found.

type KubernetesAuthRoleMeta

type KubernetesAuthRoleMeta struct {
	Namespaces      []string `protobuf:"bytes,1,rep,name=namespaces,proto3" json:"namespaces,omitempty"`
	ServiceAccounts []string `protobuf:"bytes,2,rep,name=service_accounts,proto3" json:"service_accounts,omitempty"`
	// contains filtered or unexported fields
}

func (*KubernetesAuthRoleMeta) Descriptor deprecated

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

Deprecated: Use KubernetesAuthRoleMeta.ProtoReflect.Descriptor instead.

func (*KubernetesAuthRoleMeta) GetNamespaces

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

func (*KubernetesAuthRoleMeta) GetServiceAccounts added in v0.3.0

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

func (*KubernetesAuthRoleMeta) ProtoMessage

func (*KubernetesAuthRoleMeta) ProtoMessage()

func (*KubernetesAuthRoleMeta) ProtoReflect

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

func (*KubernetesAuthRoleMeta) Reset

func (x *KubernetesAuthRoleMeta) Reset()

func (*KubernetesAuthRoleMeta) String

func (x *KubernetesAuthRoleMeta) String() string

func (*KubernetesAuthRoleMeta) Validate added in v0.3.0

func (m *KubernetesAuthRoleMeta) Validate() error

Validate checks the field values on KubernetesAuthRoleMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*KubernetesAuthRoleMeta) ValidateAll added in v0.3.0

func (m *KubernetesAuthRoleMeta) ValidateAll() error

ValidateAll checks the field values on KubernetesAuthRoleMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KubernetesAuthRoleMetaMultiError, or nil if none found.

type KubernetesAuthRoleMetaMultiError added in v0.3.0

type KubernetesAuthRoleMetaMultiError []error

KubernetesAuthRoleMetaMultiError is an error wrapping multiple validation errors returned by KubernetesAuthRoleMeta.ValidateAll() if the designated constraints aren't met.

func (KubernetesAuthRoleMetaMultiError) AllErrors added in v0.3.0

func (m KubernetesAuthRoleMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesAuthRoleMetaMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type KubernetesAuthRoleMetaValidationError added in v0.3.0

type KubernetesAuthRoleMetaValidationError struct {
	// contains filtered or unexported fields
}

KubernetesAuthRoleMetaValidationError is the validation error returned by KubernetesAuthRoleMeta.Validate if the designated constraints aren't met.

func (KubernetesAuthRoleMetaValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (KubernetesAuthRoleMetaValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (KubernetesAuthRoleMetaValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (KubernetesAuthRoleMetaValidationError) Field added in v0.3.0

Field function returns field value.

func (KubernetesAuthRoleMetaValidationError) Key added in v0.3.0

Key function returns key value.

func (KubernetesAuthRoleMetaValidationError) Reason added in v0.3.0

Reason function returns reason value.

type KubernetesMultiError added in v0.3.0

type KubernetesMultiError []error

KubernetesMultiError is an error wrapping multiple validation errors returned by Kubernetes.ValidateAll() if the designated constraints aren't met.

func (KubernetesMultiError) AllErrors added in v0.3.0

func (m KubernetesMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (KubernetesMultiError) Error added in v0.3.0

func (m KubernetesMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type KubernetesValidationError added in v0.3.0

type KubernetesValidationError struct {
	// contains filtered or unexported fields
}

KubernetesValidationError is the validation error returned by Kubernetes.Validate if the designated constraints aren't met.

func (KubernetesValidationError) Cause added in v0.3.0

func (e KubernetesValidationError) Cause() error

Cause function returns cause value.

func (KubernetesValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (KubernetesValidationError) ErrorName added in v0.3.0

func (e KubernetesValidationError) ErrorName() string

ErrorName returns error name.

func (KubernetesValidationError) Field added in v0.3.0

Field function returns field value.

func (KubernetesValidationError) Key added in v0.3.0

Key function returns key value.

func (KubernetesValidationError) Reason added in v0.3.0

func (e KubernetesValidationError) Reason() string

Reason function returns reason value.

type PkiRequest

type PkiRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Cacert string `protobuf:"bytes,2,opt,name=cacert,proto3" json:"cacert,omitempty"`
	Cert   string `protobuf:"bytes,3,opt,name=cert,proto3" json:"cert,omitempty"`
	Key    string `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

PKI DEFINE

func (*PkiRequest) Descriptor deprecated

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

Deprecated: Use PkiRequest.ProtoReflect.Descriptor instead.

func (*PkiRequest) GetCacert

func (x *PkiRequest) GetCacert() string

func (*PkiRequest) GetCert

func (x *PkiRequest) GetCert() string

func (*PkiRequest) GetDomain

func (x *PkiRequest) GetDomain() string

func (*PkiRequest) GetKey

func (x *PkiRequest) GetKey() string

func (*PkiRequest) ProtoMessage

func (*PkiRequest) ProtoMessage()

func (*PkiRequest) ProtoReflect

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

func (*PkiRequest) Reset

func (x *PkiRequest) Reset()

func (*PkiRequest) String

func (x *PkiRequest) String() string

func (*PkiRequest) Validate added in v0.3.0

func (m *PkiRequest) Validate() error

Validate checks the field values on PkiRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*PkiRequest) ValidateAll added in v0.3.0

func (m *PkiRequest) ValidateAll() error

ValidateAll checks the field values on PkiRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PkiRequestMultiError, or nil if none found.

type PkiRequestMultiError added in v0.3.0

type PkiRequestMultiError []error

PkiRequestMultiError is an error wrapping multiple validation errors returned by PkiRequest.ValidateAll() if the designated constraints aren't met.

func (PkiRequestMultiError) AllErrors added in v0.3.0

func (m PkiRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (PkiRequestMultiError) Error added in v0.3.0

func (m PkiRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type PkiRequestValidationError added in v0.3.0

type PkiRequestValidationError struct {
	// contains filtered or unexported fields
}

PkiRequestValidationError is the validation error returned by PkiRequest.Validate if the designated constraints aren't met.

func (PkiRequestValidationError) Cause added in v0.3.0

func (e PkiRequestValidationError) Cause() error

Cause function returns cause value.

func (PkiRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (PkiRequestValidationError) ErrorName added in v0.3.0

func (e PkiRequestValidationError) ErrorName() string

ErrorName returns error name.

func (PkiRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (PkiRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (PkiRequestValidationError) Reason added in v0.3.0

func (e PkiRequestValidationError) Reason() string

Reason function returns reason value.

type RepoAccount

type RepoAccount struct {
	AuthType    string            `protobuf:"bytes,1,opt,name=auth_type,proto3" json:"auth_type,omitempty"`
	Token       *Token            `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`
	Account     *Account          `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	Additionals map[string]string `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

REPO DEFINE

func (*RepoAccount) Descriptor deprecated

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

Deprecated: Use RepoAccount.ProtoReflect.Descriptor instead.

func (*RepoAccount) GetAccount added in v0.4.0

func (x *RepoAccount) GetAccount() *Account

func (*RepoAccount) GetAdditionals added in v0.4.0

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

func (*RepoAccount) GetAuthType added in v0.4.0

func (x *RepoAccount) GetAuthType() string

func (*RepoAccount) GetToken added in v0.4.0

func (x *RepoAccount) GetToken() *Token

func (*RepoAccount) ProtoMessage

func (*RepoAccount) ProtoMessage()

func (*RepoAccount) ProtoReflect

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

func (*RepoAccount) Reset

func (x *RepoAccount) Reset()

func (*RepoAccount) String

func (x *RepoAccount) String() string

func (*RepoAccount) Validate added in v0.3.0

func (m *RepoAccount) Validate() error

Validate checks the field values on RepoAccount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RepoAccount) ValidateAll added in v0.3.0

func (m *RepoAccount) ValidateAll() error

ValidateAll checks the field values on RepoAccount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepoAccountMultiError, or nil if none found.

type RepoAccountMultiError added in v0.3.0

type RepoAccountMultiError []error

RepoAccountMultiError is an error wrapping multiple validation errors returned by RepoAccount.ValidateAll() if the designated constraints aren't met.

func (RepoAccountMultiError) AllErrors added in v0.3.0

func (m RepoAccountMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RepoAccountMultiError) Error added in v0.3.0

func (m RepoAccountMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RepoAccountValidationError added in v0.3.0

type RepoAccountValidationError struct {
	// contains filtered or unexported fields
}

RepoAccountValidationError is the validation error returned by RepoAccount.Validate if the designated constraints aren't met.

func (RepoAccountValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RepoAccountValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RepoAccountValidationError) ErrorName added in v0.3.0

func (e RepoAccountValidationError) ErrorName() string

ErrorName returns error name.

func (RepoAccountValidationError) Field added in v0.3.0

Field function returns field value.

func (RepoAccountValidationError) Key added in v0.3.0

Key function returns key value.

func (RepoAccountValidationError) Reason added in v0.3.0

Reason function returns reason value.

type RepoMeta added in v0.3.0

type RepoMeta struct {
	ProviderId string `protobuf:"bytes,1,opt,name=provider_id,proto3" json:"provider_id,omitempty"`
	// Witch kind of repo it is, such as pip, docker images.
	Product string `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"`
	Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoMeta) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RepoMeta.ProtoReflect.Descriptor instead.

func (*RepoMeta) GetNames added in v0.3.0

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

func (*RepoMeta) GetProduct added in v0.4.0

func (x *RepoMeta) GetProduct() string

func (*RepoMeta) GetProject added in v0.4.0

func (x *RepoMeta) GetProject() string

func (*RepoMeta) GetProviderId added in v0.3.0

func (x *RepoMeta) GetProviderId() string

func (*RepoMeta) ProtoMessage added in v0.3.0

func (*RepoMeta) ProtoMessage()

func (*RepoMeta) ProtoReflect added in v0.3.0

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

func (*RepoMeta) Reset added in v0.3.0

func (x *RepoMeta) Reset()

func (*RepoMeta) String added in v0.3.0

func (x *RepoMeta) String() string

func (*RepoMeta) Validate added in v0.3.0

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 added in v0.3.0

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 added in v0.3.0

type RepoMetaMultiError []error

RepoMetaMultiError is an error wrapping multiple validation errors returned by RepoMeta.ValidateAll() if the designated constraints aren't met.

func (RepoMetaMultiError) AllErrors added in v0.3.0

func (m RepoMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RepoMetaMultiError) Error added in v0.3.0

func (m RepoMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RepoMetaValidationError added in v0.3.0

type RepoMetaValidationError struct {
	// contains filtered or unexported fields
}

RepoMetaValidationError is the validation error returned by RepoMeta.Validate if the designated constraints aren't met.

func (RepoMetaValidationError) Cause added in v0.3.0

func (e RepoMetaValidationError) Cause() error

Cause function returns cause value.

func (RepoMetaValidationError) Error added in v0.3.0

func (e RepoMetaValidationError) Error() string

Error satisfies the builtin error interface

func (RepoMetaValidationError) ErrorName added in v0.3.0

func (e RepoMetaValidationError) ErrorName() string

ErrorName returns error name.

func (RepoMetaValidationError) Field added in v0.3.0

func (e RepoMetaValidationError) Field() string

Field function returns field value.

func (RepoMetaValidationError) Key added in v0.3.0

func (e RepoMetaValidationError) Key() bool

Key function returns key value.

func (RepoMetaValidationError) Reason added in v0.3.0

func (e RepoMetaValidationError) Reason() string

Reason function returns reason value.

type RepoRequest

type RepoRequest struct {
	Meta    *RepoMeta    `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Account *RepoAccount `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*RepoRequest) ConvertRequest

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

func (*RepoRequest) Descriptor deprecated

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

Deprecated: Use RepoRequest.ProtoReflect.Descriptor instead.

func (*RepoRequest) GetAccount

func (x *RepoRequest) GetAccount() *RepoAccount

func (*RepoRequest) GetMeta added in v0.3.0

func (x *RepoRequest) GetMeta() *RepoMeta

func (*RepoRequest) ProtoMessage

func (*RepoRequest) ProtoMessage()

func (*RepoRequest) ProtoReflect

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

func (*RepoRequest) Reset

func (x *RepoRequest) Reset()

func (*RepoRequest) String

func (x *RepoRequest) String() string

func (*RepoRequest) Validate added in v0.3.0

func (m *RepoRequest) Validate() error

Validate checks the field values on RepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RepoRequest) ValidateAll added in v0.3.0

func (m *RepoRequest) ValidateAll() error

ValidateAll checks the field values on RepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RepoRequestMultiError, or nil if none found.

type RepoRequestMultiError added in v0.3.0

type RepoRequestMultiError []error

RepoRequestMultiError is an error wrapping multiple validation errors returned by RepoRequest.ValidateAll() if the designated constraints aren't met.

func (RepoRequestMultiError) AllErrors added in v0.3.0

func (m RepoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RepoRequestMultiError) Error added in v0.3.0

func (m RepoRequestMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type RepoRequestValidationError added in v0.3.0

type RepoRequestValidationError struct {
	// contains filtered or unexported fields
}

RepoRequestValidationError is the validation error returned by RepoRequest.Validate if the designated constraints aren't met.

func (RepoRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RepoRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RepoRequestValidationError) ErrorName added in v0.3.0

func (e RepoRequestValidationError) ErrorName() string

ErrorName returns error name.

func (RepoRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (RepoRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (RepoRequestValidationError) Reason added in v0.3.0

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 added in v0.3.0

func (m *RevokeAuthrolePolicyReply) Validate() error

Validate checks the field values on RevokeAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*RevokeAuthrolePolicyReply) ValidateAll added in v0.3.0

func (m *RevokeAuthrolePolicyReply) ValidateAll() error

ValidateAll checks the field values on RevokeAuthrolePolicyReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RevokeAuthrolePolicyReplyMultiError, or nil if none found.

type RevokeAuthrolePolicyReplyMultiError added in v0.3.0

type RevokeAuthrolePolicyReplyMultiError []error

RevokeAuthrolePolicyReplyMultiError is an error wrapping multiple validation errors returned by RevokeAuthrolePolicyReply.ValidateAll() if the designated constraints aren't met.

func (RevokeAuthrolePolicyReplyMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (RevokeAuthrolePolicyReplyMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type RevokeAuthrolePolicyReplyValidationError added in v0.3.0

type RevokeAuthrolePolicyReplyValidationError struct {
	// contains filtered or unexported fields
}

RevokeAuthrolePolicyReplyValidationError is the validation error returned by RevokeAuthrolePolicyReply.Validate if the designated constraints aren't met.

func (RevokeAuthrolePolicyReplyValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RevokeAuthrolePolicyReplyValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RevokeAuthrolePolicyReplyValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (RevokeAuthrolePolicyReplyValidationError) Field added in v0.3.0

Field function returns field value.

func (RevokeAuthrolePolicyReplyValidationError) Key added in v0.3.0

Key function returns key value.

func (RevokeAuthrolePolicyReplyValidationError) Reason added in v0.3.0

Reason function returns reason value.

type SecRequest

type SecRequest interface {
	ConvertRequest() (*SecretRequest, error)
}

type SecretHTTPClient

type SecretHTTPClient interface {
	CreateCluster(ctx context.Context, req *ClusterRequest, opts ...http.CallOption) (rsp *CreateClusterReply, err error)
	CreateGit(ctx context.Context, req *GitRequest, opts ...http.CallOption) (rsp *CreateGitReply, err error)
	CreatePki(ctx context.Context, req *PkiRequest, opts ...http.CallOption) (rsp *CreatePkiReply, err error)
	CreateRepoAccount(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *CreateRepoReply, err error)
	CreateTenantRepo(ctx context.Context, req *TenantRepoRequest, opts ...http.CallOption) (rsp *CreateTenantRepoReply, err error)
	CreteTenantGit(ctx context.Context, req *TenantGitRequest, opts ...http.CallOption) (rsp *CreateTenantGitReply, err error)
	DeleteCluster(ctx context.Context, req *ClusterRequest, opts ...http.CallOption) (rsp *DeleteClusterReply, err error)
	DeleteGit(ctx context.Context, req *GitRequest, opts ...http.CallOption) (rsp *DeleteGitReply, err error)
	DeletePki(ctx context.Context, req *PkiRequest, opts ...http.CallOption) (rsp *DeletePkiReply, err error)
	DeleteRepoAccountProduct(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *DeleteRepoReply, err error)
	DeleteRepoAccountProject(ctx context.Context, req *RepoRequest, opts ...http.CallOption) (rsp *DeleteRepoReply, err error)
	DeleteTenantGit(ctx context.Context, req *TenantGitRequest, opts ...http.CallOption) (rsp *DeleteTenantGitReply, err error)
	DeleteTenantRepo(ctx context.Context, req *TenantRepoRequest, opts ...http.CallOption) (rsp *DeleteTenantRepoReply, err error)
}

func NewSecretHTTPClient

func NewSecretHTTPClient(client *http.Client) SecretHTTPClient

type SecretHTTPClientImpl

type SecretHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*SecretHTTPClientImpl) CreateCluster

func (*SecretHTTPClientImpl) CreateGit

func (c *SecretHTTPClientImpl) CreateGit(ctx context.Context, in *GitRequest, opts ...http.CallOption) (*CreateGitReply, error)

func (*SecretHTTPClientImpl) CreatePki

func (c *SecretHTTPClientImpl) CreatePki(ctx context.Context, in *PkiRequest, opts ...http.CallOption) (*CreatePkiReply, error)

func (*SecretHTTPClientImpl) CreateRepoAccount added in v0.4.0

func (c *SecretHTTPClientImpl) CreateRepoAccount(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*CreateRepoReply, error)

func (*SecretHTTPClientImpl) CreateTenantRepo

func (*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) DeleteRepoAccountProduct added in v0.4.0

func (c *SecretHTTPClientImpl) DeleteRepoAccountProduct(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)

func (*SecretHTTPClientImpl) DeleteRepoAccountProject added in v0.4.0

func (c *SecretHTTPClientImpl) DeleteRepoAccountProject(ctx context.Context, in *RepoRequest, opts ...http.CallOption) (*DeleteRepoReply, error)

func (*SecretHTTPClientImpl) DeleteTenantGit

func (*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)
	CreateRepoAccount(context.Context, *RepoRequest) (*CreateRepoReply, error)
	// CreateTenantRepo////////////////////////////////////////////////////////////////
	CreateTenantRepo(context.Context, *TenantRepoRequest) (*CreateTenantRepoReply, error)
	CreteTenantGit(context.Context, *TenantGitRequest) (*CreateTenantGitReply, error)
	DeleteCluster(context.Context, *ClusterRequest) (*DeleteClusterReply, error)
	DeleteGit(context.Context, *GitRequest) (*DeleteGitReply, error)
	DeletePki(context.Context, *PkiRequest) (*DeletePkiReply, error)
	DeleteRepoAccountProduct(context.Context, *RepoRequest) (*DeleteRepoReply, error)
	DeleteRepoAccountProject(context.Context, *RepoRequest) (*DeleteRepoReply, error)
	DeleteTenantGit(context.Context, *TenantGitRequest) (*DeleteTenantGitReply, error)
	DeleteTenantRepo(context.Context, *TenantRepoRequest) (*DeleteTenantRepoReply, error)
}

type SecretInfo added in v0.3.0

type SecretInfo struct {
	Name    string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Path    string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Version int32  `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*SecretInfo) Descriptor deprecated added in v0.3.0

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

Deprecated: Use SecretInfo.ProtoReflect.Descriptor instead.

func (*SecretInfo) GetName added in v0.3.0

func (x *SecretInfo) GetName() string

func (*SecretInfo) GetPath added in v0.3.0

func (x *SecretInfo) GetPath() string

func (*SecretInfo) GetVersion added in v0.3.0

func (x *SecretInfo) GetVersion() int32

func (*SecretInfo) ProtoMessage added in v0.3.0

func (*SecretInfo) ProtoMessage()

func (*SecretInfo) ProtoReflect added in v0.3.0

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

func (*SecretInfo) Reset added in v0.3.0

func (x *SecretInfo) Reset()

func (*SecretInfo) String added in v0.3.0

func (x *SecretInfo) String() string

func (*SecretInfo) Validate added in v0.3.0

func (m *SecretInfo) Validate() error

Validate checks the field values on SecretInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*SecretInfo) ValidateAll added in v0.3.0

func (m *SecretInfo) ValidateAll() error

ValidateAll checks the field values on SecretInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SecretInfoMultiError, or nil if none found.

type SecretInfoMultiError added in v0.3.0

type SecretInfoMultiError []error

SecretInfoMultiError is an error wrapping multiple validation errors returned by SecretInfo.ValidateAll() if the designated constraints aren't met.

func (SecretInfoMultiError) AllErrors added in v0.3.0

func (m SecretInfoMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (SecretInfoMultiError) Error added in v0.3.0

func (m SecretInfoMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type SecretInfoValidationError added in v0.3.0

type SecretInfoValidationError struct {
	// contains filtered or unexported fields
}

SecretInfoValidationError is the validation error returned by SecretInfo.Validate if the designated constraints aren't met.

func (SecretInfoValidationError) Cause added in v0.3.0

func (e SecretInfoValidationError) Cause() error

Cause function returns cause value.

func (SecretInfoValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (SecretInfoValidationError) ErrorName added in v0.3.0

func (e SecretInfoValidationError) ErrorName() string

ErrorName returns error name.

func (SecretInfoValidationError) Field added in v0.3.0

Field function returns field value.

func (SecretInfoValidationError) Key added in v0.3.0

Key function returns key value.

func (SecretInfoValidationError) Reason added in v0.3.0

func (e SecretInfoValidationError) Reason() string

Reason function returns reason value.

type SecretMeta added in v0.3.0

type SecretMeta struct {
	SecretName string // secret name , use for vault api
	SecretPath string // secret path , use for vault api
	SecretType string // secret data type
	FullPath   string // full path of secret use for create policy and authorize
	PolicyName string // vault policy name, use for authorize and policy create
}

type SecretRequest

type SecretRequest struct {
	SecretMeta
	SecretData map[string]interface{}
	PolicyData string
}

Store the key info for authorize and vault request

type SecretType

type SecretType int
const (
	GIT SecretType = iota
	REPO
	CLUSTER
	TENANTGIT
	TENANTREPO
)

func (SecretType) String

func (s SecretType) String() string

type TenantGitMeta added in v0.3.0

type TenantGitMeta struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

TENANT DEFINE

func (*TenantGitMeta) Descriptor deprecated added in v0.3.0

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

Deprecated: Use TenantGitMeta.ProtoReflect.Descriptor instead.

func (*TenantGitMeta) GetId added in v0.3.0

func (x *TenantGitMeta) GetId() string

func (*TenantGitMeta) GetNames added in v0.3.0

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

func (*TenantGitMeta) GetPermission added in v0.3.0

func (x *TenantGitMeta) GetPermission() string

func (*TenantGitMeta) ProtoMessage added in v0.3.0

func (*TenantGitMeta) ProtoMessage()

func (*TenantGitMeta) ProtoReflect added in v0.3.0

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

func (*TenantGitMeta) Reset added in v0.3.0

func (x *TenantGitMeta) Reset()

func (*TenantGitMeta) String added in v0.3.0

func (x *TenantGitMeta) String() string

func (*TenantGitMeta) Validate added in v0.3.0

func (m *TenantGitMeta) Validate() error

Validate checks the field values on TenantGitMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantGitMeta) ValidateAll added in v0.3.0

func (m *TenantGitMeta) ValidateAll() error

ValidateAll checks the field values on TenantGitMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantGitMetaMultiError, or nil if none found.

type TenantGitMetaMultiError added in v0.3.0

type TenantGitMetaMultiError []error

TenantGitMetaMultiError is an error wrapping multiple validation errors returned by TenantGitMeta.ValidateAll() if the designated constraints aren't met.

func (TenantGitMetaMultiError) AllErrors added in v0.3.0

func (m TenantGitMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantGitMetaMultiError) Error added in v0.3.0

func (m TenantGitMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TenantGitMetaValidationError added in v0.3.0

type TenantGitMetaValidationError struct {
	// contains filtered or unexported fields
}

TenantGitMetaValidationError is the validation error returned by TenantGitMeta.Validate if the designated constraints aren't met.

func (TenantGitMetaValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantGitMetaValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantGitMetaValidationError) ErrorName added in v0.3.0

func (e TenantGitMetaValidationError) ErrorName() string

ErrorName returns error name.

func (TenantGitMetaValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantGitMetaValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantGitMetaValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantGitRequest

type TenantGitRequest struct {
	Meta *TenantGitMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	// The access info of root user in gitlab or github
	Kvs *GitKVs `protobuf:"bytes,2,opt,name=kvs,proto3" json:"kvs,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantGitRequest) ConvertRequest

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

func (*TenantGitRequest) Descriptor deprecated

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

Deprecated: Use TenantGitRequest.ProtoReflect.Descriptor instead.

func (*TenantGitRequest) GetKvs added in v0.3.0

func (x *TenantGitRequest) GetKvs() *GitKVs

func (*TenantGitRequest) GetMeta added in v0.3.0

func (x *TenantGitRequest) GetMeta() *TenantGitMeta

func (*TenantGitRequest) ProtoMessage

func (*TenantGitRequest) ProtoMessage()

func (*TenantGitRequest) ProtoReflect

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

func (*TenantGitRequest) Reset

func (x *TenantGitRequest) Reset()

func (*TenantGitRequest) String

func (x *TenantGitRequest) String() string

func (*TenantGitRequest) Validate added in v0.3.0

func (m *TenantGitRequest) Validate() error

Validate checks the field values on TenantGitRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantGitRequest) ValidateAll added in v0.3.0

func (m *TenantGitRequest) ValidateAll() error

ValidateAll checks the field values on TenantGitRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantGitRequestMultiError, or nil if none found.

type TenantGitRequestMultiError added in v0.3.0

type TenantGitRequestMultiError []error

TenantGitRequestMultiError is an error wrapping multiple validation errors returned by TenantGitRequest.ValidateAll() if the designated constraints aren't met.

func (TenantGitRequestMultiError) AllErrors added in v0.3.0

func (m TenantGitRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantGitRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type TenantGitRequestValidationError added in v0.3.0

type TenantGitRequestValidationError struct {
	// contains filtered or unexported fields
}

TenantGitRequestValidationError is the validation error returned by TenantGitRequest.Validate if the designated constraints aren't met.

func (TenantGitRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantGitRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantGitRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (TenantGitRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantGitRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantGitRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantRepoMeta added in v0.3.0

type TenantRepoMeta struct {
	Id         string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Permission string `protobuf:"bytes,2,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantRepoMeta) Descriptor deprecated added in v0.3.0

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

Deprecated: Use TenantRepoMeta.ProtoReflect.Descriptor instead.

func (*TenantRepoMeta) GetId added in v0.3.0

func (x *TenantRepoMeta) GetId() string

func (*TenantRepoMeta) GetNames added in v0.3.0

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

func (*TenantRepoMeta) GetPermission added in v0.3.0

func (x *TenantRepoMeta) GetPermission() string

func (*TenantRepoMeta) ProtoMessage added in v0.3.0

func (*TenantRepoMeta) ProtoMessage()

func (*TenantRepoMeta) ProtoReflect added in v0.3.0

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

func (*TenantRepoMeta) Reset added in v0.3.0

func (x *TenantRepoMeta) Reset()

func (*TenantRepoMeta) String added in v0.3.0

func (x *TenantRepoMeta) String() string

func (*TenantRepoMeta) Validate added in v0.3.0

func (m *TenantRepoMeta) Validate() error

Validate checks the field values on TenantRepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantRepoMeta) ValidateAll added in v0.3.0

func (m *TenantRepoMeta) ValidateAll() error

ValidateAll checks the field values on TenantRepoMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantRepoMetaMultiError, or nil if none found.

type TenantRepoMetaMultiError added in v0.3.0

type TenantRepoMetaMultiError []error

TenantRepoMetaMultiError is an error wrapping multiple validation errors returned by TenantRepoMeta.ValidateAll() if the designated constraints aren't met.

func (TenantRepoMetaMultiError) AllErrors added in v0.3.0

func (m TenantRepoMetaMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantRepoMetaMultiError) Error added in v0.3.0

func (m TenantRepoMetaMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TenantRepoMetaValidationError added in v0.3.0

type TenantRepoMetaValidationError struct {
	// contains filtered or unexported fields
}

TenantRepoMetaValidationError is the validation error returned by TenantRepoMeta.Validate if the designated constraints aren't met.

func (TenantRepoMetaValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantRepoMetaValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantRepoMetaValidationError) ErrorName added in v0.3.0

func (e TenantRepoMetaValidationError) ErrorName() string

ErrorName returns error name.

func (TenantRepoMetaValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantRepoMetaValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantRepoMetaValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantRepoRequest

type TenantRepoRequest struct {
	Meta    *TenantRepoMeta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"`
	Account *RepoAccount    `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// contains filtered or unexported fields
}

func (*TenantRepoRequest) ConvertRequest

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

func (*TenantRepoRequest) Descriptor deprecated

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

Deprecated: Use TenantRepoRequest.ProtoReflect.Descriptor instead.

func (*TenantRepoRequest) GetAccount

func (x *TenantRepoRequest) GetAccount() *RepoAccount

func (*TenantRepoRequest) GetMeta added in v0.3.0

func (x *TenantRepoRequest) GetMeta() *TenantRepoMeta

func (*TenantRepoRequest) ProtoMessage

func (*TenantRepoRequest) ProtoMessage()

func (*TenantRepoRequest) ProtoReflect

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

func (*TenantRepoRequest) Reset

func (x *TenantRepoRequest) Reset()

func (*TenantRepoRequest) String

func (x *TenantRepoRequest) String() string

func (*TenantRepoRequest) Validate added in v0.3.0

func (m *TenantRepoRequest) Validate() error

Validate checks the field values on TenantRepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TenantRepoRequest) ValidateAll added in v0.3.0

func (m *TenantRepoRequest) ValidateAll() error

ValidateAll checks the field values on TenantRepoRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TenantRepoRequestMultiError, or nil if none found.

type TenantRepoRequestMultiError added in v0.3.0

type TenantRepoRequestMultiError []error

TenantRepoRequestMultiError is an error wrapping multiple validation errors returned by TenantRepoRequest.ValidateAll() if the designated constraints aren't met.

func (TenantRepoRequestMultiError) AllErrors added in v0.3.0

func (m TenantRepoRequestMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantRepoRequestMultiError) Error added in v0.3.0

Error returns a concatenation of all the error messages it wraps.

type TenantRepoRequestValidationError added in v0.3.0

type TenantRepoRequestValidationError struct {
	// contains filtered or unexported fields
}

TenantRepoRequestValidationError is the validation error returned by TenantRepoRequest.Validate if the designated constraints aren't met.

func (TenantRepoRequestValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantRepoRequestValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantRepoRequestValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (TenantRepoRequestValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantRepoRequestValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantRepoRequestValidationError) Reason added in v0.3.0

Reason function returns reason value.

type Token added in v0.4.0

type Token struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated added in v0.4.0

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

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetToken added in v0.4.0

func (x *Token) GetToken() string

func (*Token) ProtoMessage added in v0.4.0

func (*Token) ProtoMessage()

func (*Token) ProtoReflect added in v0.4.0

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

func (*Token) Reset added in v0.4.0

func (x *Token) Reset()

func (*Token) String added in v0.4.0

func (x *Token) String() string

func (*Token) Validate added in v0.4.0

func (m *Token) Validate() error

Validate checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*Token) ValidateAll added in v0.4.0

func (m *Token) ValidateAll() error

ValidateAll checks the field values on Token with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TokenMultiError, or nil if none found.

type TokenMultiError added in v0.4.0

type TokenMultiError []error

TokenMultiError is an error wrapping multiple validation errors returned by Token.ValidateAll() if the designated constraints aren't met.

func (TokenMultiError) AllErrors added in v0.4.0

func (m TokenMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TokenMultiError) Error added in v0.4.0

func (m TokenMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TokenValidationError added in v0.4.0

type TokenValidationError struct {
	// contains filtered or unexported fields
}

TokenValidationError is the validation error returned by Token.Validate if the designated constraints aren't met.

func (TokenValidationError) Cause added in v0.4.0

func (e TokenValidationError) Cause() error

Cause function returns cause value.

func (TokenValidationError) Error added in v0.4.0

func (e TokenValidationError) Error() string

Error satisfies the builtin error interface

func (TokenValidationError) ErrorName added in v0.4.0

func (e TokenValidationError) ErrorName() string

ErrorName returns error name.

func (TokenValidationError) Field added in v0.4.0

func (e TokenValidationError) Field() string

Field function returns field value.

func (TokenValidationError) Key added in v0.4.0

func (e TokenValidationError) Key() bool

Key function returns key value.

func (TokenValidationError) Reason added in v0.4.0

func (e TokenValidationError) Reason() string

Reason function returns reason value.

type VaultTemplate

type VaultTemplate struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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