commanddata

package
v0.3.6-dev7 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_domain_commanddata_certificate_proto protoreflect.FileDescriptor
View Source
var File_api_domain_commanddata_cluster_proto protoreflect.FileDescriptor
View Source
var File_api_domain_commanddata_clustermapping_proto protoreflect.FileDescriptor
View Source
var File_api_domain_commanddata_tenant_proto protoreflect.FileDescriptor
View Source
var File_api_domain_commanddata_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CreateCluster

type CreateCluster struct {

	// Unique name of the cluster, to be utilized for generating unique labels
	// and symbols, e.g. with metrics.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Display name of the cluster
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// DNS name or IP address of the clusters KubeAPIServer
	ApiServerAddress string `protobuf:"bytes,3,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// Bundle of CA certificates of the cluster, PEM encoded
	CaCertBundle []byte `protobuf:"bytes,4,opt,name=ca_cert_bundle,json=caCertBundle,proto3" json:"ca_cert_bundle,omitempty"`
	// contains filtered or unexported fields
}

Command data to create a new cluster

func (*CreateCluster) Descriptor deprecated

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

Deprecated: Use CreateCluster.ProtoReflect.Descriptor instead.

func (*CreateCluster) GetApiServerAddress

func (x *CreateCluster) GetApiServerAddress() string

func (*CreateCluster) GetCaCertBundle

func (x *CreateCluster) GetCaCertBundle() []byte

func (*CreateCluster) GetDisplayName

func (x *CreateCluster) GetDisplayName() string

func (*CreateCluster) GetName

func (x *CreateCluster) GetName() string

func (*CreateCluster) ProtoMessage

func (*CreateCluster) ProtoMessage()

func (*CreateCluster) ProtoReflect

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

func (*CreateCluster) Reset

func (x *CreateCluster) Reset()

func (*CreateCluster) String

func (x *CreateCluster) String() string

func (*CreateCluster) Validate added in v0.3.0

func (m *CreateCluster) Validate() error

Validate checks the field values on CreateCluster 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 (*CreateCluster) ValidateAll added in v0.3.0

func (m *CreateCluster) ValidateAll() error

ValidateAll checks the field values on CreateCluster 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 CreateClusterMultiError, or nil if none found.

type CreateClusterMultiError added in v0.3.0

type CreateClusterMultiError []error

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

func (CreateClusterMultiError) AllErrors added in v0.3.0

func (m CreateClusterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateClusterMultiError) Error added in v0.3.0

func (m CreateClusterMultiError) Error() string

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

type CreateClusterValidationError added in v0.3.0

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

CreateClusterValidationError is the validation error returned by CreateCluster.Validate if the designated constraints aren't met.

func (CreateClusterValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateClusterValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateClusterValidationError) ErrorName added in v0.3.0

func (e CreateClusterValidationError) ErrorName() string

ErrorName returns error name.

func (CreateClusterValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateClusterValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateClusterValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateTenantClusterBindingCommandData added in v0.3.0

type CreateTenantClusterBindingCommandData struct {

	// Unique identifier of the tenant (UUID 128-bit number)
	TenantId string `protobuf:"bytes,1,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	// Unique identifier of the cluster (UUID 128-bit number)
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

Command data to give a tenant access to an existing cluster

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

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

Deprecated: Use CreateTenantClusterBindingCommandData.ProtoReflect.Descriptor instead.

func (*CreateTenantClusterBindingCommandData) GetClusterId added in v0.3.0

func (*CreateTenantClusterBindingCommandData) GetTenantId added in v0.3.0

func (*CreateTenantClusterBindingCommandData) ProtoMessage added in v0.3.0

func (*CreateTenantClusterBindingCommandData) ProtoMessage()

func (*CreateTenantClusterBindingCommandData) ProtoReflect added in v0.3.0

func (*CreateTenantClusterBindingCommandData) Reset added in v0.3.0

func (*CreateTenantClusterBindingCommandData) String added in v0.3.0

func (*CreateTenantClusterBindingCommandData) Validate added in v0.3.0

Validate checks the field values on CreateTenantClusterBindingCommandData 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 (*CreateTenantClusterBindingCommandData) ValidateAll added in v0.3.0

ValidateAll checks the field values on CreateTenantClusterBindingCommandData 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 CreateTenantClusterBindingCommandDataMultiError, or nil if none found.

type CreateTenantClusterBindingCommandDataMultiError added in v0.3.0

type CreateTenantClusterBindingCommandDataMultiError []error

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

func (CreateTenantClusterBindingCommandDataMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (CreateTenantClusterBindingCommandDataMultiError) Error added in v0.3.0

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

type CreateTenantClusterBindingCommandDataValidationError added in v0.3.0

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

CreateTenantClusterBindingCommandDataValidationError is the validation error returned by CreateTenantClusterBindingCommandData.Validate if the designated constraints aren't met.

func (CreateTenantClusterBindingCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateTenantClusterBindingCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateTenantClusterBindingCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateTenantClusterBindingCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateTenantClusterBindingCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateTenantClusterBindingCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateTenantCommandData

type CreateTenantCommandData struct {

	// Name of the tenant
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Prefix for namespaces and other resources related to the tenant
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
	// contains filtered or unexported fields
}

Command data to create a new tenant

func (*CreateTenantCommandData) Descriptor deprecated

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

Deprecated: Use CreateTenantCommandData.ProtoReflect.Descriptor instead.

func (*CreateTenantCommandData) GetName

func (x *CreateTenantCommandData) GetName() string

func (*CreateTenantCommandData) GetPrefix

func (x *CreateTenantCommandData) GetPrefix() string

func (*CreateTenantCommandData) ProtoMessage

func (*CreateTenantCommandData) ProtoMessage()

func (*CreateTenantCommandData) ProtoReflect

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

func (*CreateTenantCommandData) Reset

func (x *CreateTenantCommandData) Reset()

func (*CreateTenantCommandData) String

func (x *CreateTenantCommandData) String() string

func (*CreateTenantCommandData) Validate added in v0.3.0

func (m *CreateTenantCommandData) Validate() error

Validate checks the field values on CreateTenantCommandData 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 (*CreateTenantCommandData) ValidateAll added in v0.3.0

func (m *CreateTenantCommandData) ValidateAll() error

ValidateAll checks the field values on CreateTenantCommandData 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 CreateTenantCommandDataMultiError, or nil if none found.

type CreateTenantCommandDataMultiError added in v0.3.0

type CreateTenantCommandDataMultiError []error

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

func (CreateTenantCommandDataMultiError) AllErrors added in v0.3.0

func (m CreateTenantCommandDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateTenantCommandDataMultiError) Error added in v0.3.0

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

type CreateTenantCommandDataValidationError added in v0.3.0

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

CreateTenantCommandDataValidationError is the validation error returned by CreateTenantCommandData.Validate if the designated constraints aren't met.

func (CreateTenantCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateTenantCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateTenantCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateTenantCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateTenantCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateTenantCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateUserCommandData

type CreateUserCommandData struct {

	// Email address of the user
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// Name of the user
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Command data to create a new user

func (*CreateUserCommandData) Descriptor deprecated

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

Deprecated: Use CreateUserCommandData.ProtoReflect.Descriptor instead.

func (*CreateUserCommandData) GetEmail

func (x *CreateUserCommandData) GetEmail() string

func (*CreateUserCommandData) GetName

func (x *CreateUserCommandData) GetName() string

func (*CreateUserCommandData) ProtoMessage

func (*CreateUserCommandData) ProtoMessage()

func (*CreateUserCommandData) ProtoReflect

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

func (*CreateUserCommandData) Reset

func (x *CreateUserCommandData) Reset()

func (*CreateUserCommandData) String

func (x *CreateUserCommandData) String() string

func (*CreateUserCommandData) Validate added in v0.3.0

func (m *CreateUserCommandData) Validate() error

Validate checks the field values on CreateUserCommandData 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 (*CreateUserCommandData) ValidateAll added in v0.3.0

func (m *CreateUserCommandData) ValidateAll() error

ValidateAll checks the field values on CreateUserCommandData 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 CreateUserCommandDataMultiError, or nil if none found.

type CreateUserCommandDataMultiError added in v0.3.0

type CreateUserCommandDataMultiError []error

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

func (CreateUserCommandDataMultiError) AllErrors added in v0.3.0

func (m CreateUserCommandDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (CreateUserCommandDataMultiError) Error added in v0.3.0

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

type CreateUserCommandDataValidationError added in v0.3.0

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

CreateUserCommandDataValidationError is the validation error returned by CreateUserCommandData.Validate if the designated constraints aren't met.

func (CreateUserCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateUserCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateUserCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateUserCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateUserCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateUserCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

type CreateUserRoleBindingCommandData

type CreateUserRoleBindingCommandData struct {

	// Unique identifier of the user (UUID 128-bit number)
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// Name of the role to add
	Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
	// Scope of the role
	Scope string `protobuf:"bytes,3,opt,name=scope,proto3" json:"scope,omitempty"`
	// Unique identifier of the affected resource within scope (UUID 128-bit
	// number)
	Resource *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

Command data to create a rolebinding for an user

func (*CreateUserRoleBindingCommandData) Descriptor deprecated

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

Deprecated: Use CreateUserRoleBindingCommandData.ProtoReflect.Descriptor instead.

func (*CreateUserRoleBindingCommandData) GetResource

func (*CreateUserRoleBindingCommandData) GetRole

func (*CreateUserRoleBindingCommandData) GetScope

func (*CreateUserRoleBindingCommandData) GetUserId

func (*CreateUserRoleBindingCommandData) ProtoMessage

func (*CreateUserRoleBindingCommandData) ProtoMessage()

func (*CreateUserRoleBindingCommandData) ProtoReflect

func (*CreateUserRoleBindingCommandData) Reset

func (*CreateUserRoleBindingCommandData) String

func (*CreateUserRoleBindingCommandData) Validate added in v0.3.0

Validate checks the field values on CreateUserRoleBindingCommandData 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 (*CreateUserRoleBindingCommandData) ValidateAll added in v0.3.0

func (m *CreateUserRoleBindingCommandData) ValidateAll() error

ValidateAll checks the field values on CreateUserRoleBindingCommandData 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 CreateUserRoleBindingCommandDataMultiError, or nil if none found.

type CreateUserRoleBindingCommandDataMultiError added in v0.3.0

type CreateUserRoleBindingCommandDataMultiError []error

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

func (CreateUserRoleBindingCommandDataMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (CreateUserRoleBindingCommandDataMultiError) Error added in v0.3.0

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

type CreateUserRoleBindingCommandDataValidationError added in v0.3.0

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

CreateUserRoleBindingCommandDataValidationError is the validation error returned by CreateUserRoleBindingCommandData.Validate if the designated constraints aren't met.

func (CreateUserRoleBindingCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (CreateUserRoleBindingCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (CreateUserRoleBindingCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (CreateUserRoleBindingCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (CreateUserRoleBindingCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (CreateUserRoleBindingCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

type RequestCertificate

type RequestCertificate struct {

	// Unique identifier of the aggregate referenced (UUID 128-bit number)
	ReferencedAggregateId string `` /* 126-byte string literal not displayed */
	// Type of the aggregate referenced
	ReferencedAggregateType string `` /* 132-byte string literal not displayed */
	// Certificate signing request
	SigningRequest []byte `protobuf:"bytes,3,opt,name=signing_request,json=signingRequest,proto3" json:"signing_request,omitempty"`
	// contains filtered or unexported fields
}

Command data to request a new certificate

func (*RequestCertificate) Descriptor deprecated

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

Deprecated: Use RequestCertificate.ProtoReflect.Descriptor instead.

func (*RequestCertificate) GetReferencedAggregateId

func (x *RequestCertificate) GetReferencedAggregateId() string

func (*RequestCertificate) GetReferencedAggregateType

func (x *RequestCertificate) GetReferencedAggregateType() string

func (*RequestCertificate) GetSigningRequest

func (x *RequestCertificate) GetSigningRequest() []byte

func (*RequestCertificate) ProtoMessage

func (*RequestCertificate) ProtoMessage()

func (*RequestCertificate) ProtoReflect

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

func (*RequestCertificate) Reset

func (x *RequestCertificate) Reset()

func (*RequestCertificate) String

func (x *RequestCertificate) String() string

func (*RequestCertificate) Validate added in v0.3.0

func (m *RequestCertificate) Validate() error

Validate checks the field values on RequestCertificate 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 (*RequestCertificate) ValidateAll added in v0.3.0

func (m *RequestCertificate) ValidateAll() error

ValidateAll checks the field values on RequestCertificate 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 RequestCertificateMultiError, or nil if none found.

type RequestCertificateMultiError added in v0.3.0

type RequestCertificateMultiError []error

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

func (RequestCertificateMultiError) AllErrors added in v0.3.0

func (m RequestCertificateMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (RequestCertificateMultiError) Error added in v0.3.0

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

type RequestCertificateValidationError added in v0.3.0

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

RequestCertificateValidationError is the validation error returned by RequestCertificate.Validate if the designated constraints aren't met.

func (RequestCertificateValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (RequestCertificateValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (RequestCertificateValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (RequestCertificateValidationError) Field added in v0.3.0

Field function returns field value.

func (RequestCertificateValidationError) Key added in v0.3.0

Key function returns key value.

func (RequestCertificateValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UpdateCluster

type UpdateCluster struct {

	// Display name of the cluster
	DisplayName *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// DNS name or IP address of the clusters KubeAPIServer
	ApiServerAddress *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// Bundle of CA certificates of the cluster, PEM encoded
	CaCertBundle []byte `protobuf:"bytes,3,opt,name=ca_cert_bundle,json=caCertBundle,proto3" json:"ca_cert_bundle,omitempty"`
	// contains filtered or unexported fields
}

Command data to update information about a cluster

func (*UpdateCluster) Descriptor deprecated

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

Deprecated: Use UpdateCluster.ProtoReflect.Descriptor instead.

func (*UpdateCluster) GetApiServerAddress

func (x *UpdateCluster) GetApiServerAddress() *wrapperspb.StringValue

func (*UpdateCluster) GetCaCertBundle

func (x *UpdateCluster) GetCaCertBundle() []byte

func (*UpdateCluster) GetDisplayName

func (x *UpdateCluster) GetDisplayName() *wrapperspb.StringValue

func (*UpdateCluster) ProtoMessage

func (*UpdateCluster) ProtoMessage()

func (*UpdateCluster) ProtoReflect

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

func (*UpdateCluster) Reset

func (x *UpdateCluster) Reset()

func (*UpdateCluster) String

func (x *UpdateCluster) String() string

func (*UpdateCluster) Validate added in v0.3.0

func (m *UpdateCluster) Validate() error

Validate checks the field values on UpdateCluster 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 (*UpdateCluster) ValidateAll added in v0.3.0

func (m *UpdateCluster) ValidateAll() error

ValidateAll checks the field values on UpdateCluster 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 UpdateClusterMultiError, or nil if none found.

type UpdateClusterMultiError added in v0.3.0

type UpdateClusterMultiError []error

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

func (UpdateClusterMultiError) AllErrors added in v0.3.0

func (m UpdateClusterMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateClusterMultiError) Error added in v0.3.0

func (m UpdateClusterMultiError) Error() string

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

type UpdateClusterValidationError added in v0.3.0

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

UpdateClusterValidationError is the validation error returned by UpdateCluster.Validate if the designated constraints aren't met.

func (UpdateClusterValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UpdateClusterValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UpdateClusterValidationError) ErrorName added in v0.3.0

func (e UpdateClusterValidationError) ErrorName() string

ErrorName returns error name.

func (UpdateClusterValidationError) Field added in v0.3.0

Field function returns field value.

func (UpdateClusterValidationError) Key added in v0.3.0

Key function returns key value.

func (UpdateClusterValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UpdateTenantCommandData

type UpdateTenantCommandData struct {

	// New name for the tenant
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Command data to update a tenant

func (*UpdateTenantCommandData) Descriptor deprecated

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

Deprecated: Use UpdateTenantCommandData.ProtoReflect.Descriptor instead.

func (*UpdateTenantCommandData) GetName

func (*UpdateTenantCommandData) ProtoMessage

func (*UpdateTenantCommandData) ProtoMessage()

func (*UpdateTenantCommandData) ProtoReflect

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

func (*UpdateTenantCommandData) Reset

func (x *UpdateTenantCommandData) Reset()

func (*UpdateTenantCommandData) String

func (x *UpdateTenantCommandData) String() string

func (*UpdateTenantCommandData) Validate added in v0.3.0

func (m *UpdateTenantCommandData) Validate() error

Validate checks the field values on UpdateTenantCommandData 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 (*UpdateTenantCommandData) ValidateAll added in v0.3.0

func (m *UpdateTenantCommandData) ValidateAll() error

ValidateAll checks the field values on UpdateTenantCommandData 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 UpdateTenantCommandDataMultiError, or nil if none found.

type UpdateTenantCommandDataMultiError added in v0.3.0

type UpdateTenantCommandDataMultiError []error

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

func (UpdateTenantCommandDataMultiError) AllErrors added in v0.3.0

func (m UpdateTenantCommandDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateTenantCommandDataMultiError) Error added in v0.3.0

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

type UpdateTenantCommandDataValidationError added in v0.3.0

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

UpdateTenantCommandDataValidationError is the validation error returned by UpdateTenantCommandData.Validate if the designated constraints aren't met.

func (UpdateTenantCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UpdateTenantCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UpdateTenantCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (UpdateTenantCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (UpdateTenantCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (UpdateTenantCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UpdateUserCommandData added in v0.3.0

type UpdateUserCommandData struct {

	// New name of the user
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Command data to update a user

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

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

Deprecated: Use UpdateUserCommandData.ProtoReflect.Descriptor instead.

func (*UpdateUserCommandData) GetName added in v0.3.0

func (*UpdateUserCommandData) ProtoMessage added in v0.3.0

func (*UpdateUserCommandData) ProtoMessage()

func (*UpdateUserCommandData) ProtoReflect added in v0.3.0

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

func (*UpdateUserCommandData) Reset added in v0.3.0

func (x *UpdateUserCommandData) Reset()

func (*UpdateUserCommandData) String added in v0.3.0

func (x *UpdateUserCommandData) String() string

func (*UpdateUserCommandData) Validate added in v0.3.0

func (m *UpdateUserCommandData) Validate() error

Validate checks the field values on UpdateUserCommandData 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 (*UpdateUserCommandData) ValidateAll added in v0.3.0

func (m *UpdateUserCommandData) ValidateAll() error

ValidateAll checks the field values on UpdateUserCommandData 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 UpdateUserCommandDataMultiError, or nil if none found.

type UpdateUserCommandDataMultiError added in v0.3.0

type UpdateUserCommandDataMultiError []error

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

func (UpdateUserCommandDataMultiError) AllErrors added in v0.3.0

func (m UpdateUserCommandDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UpdateUserCommandDataMultiError) Error added in v0.3.0

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

type UpdateUserCommandDataValidationError added in v0.3.0

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

UpdateUserCommandDataValidationError is the validation error returned by UpdateUserCommandData.Validate if the designated constraints aren't met.

func (UpdateUserCommandDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UpdateUserCommandDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UpdateUserCommandDataValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (UpdateUserCommandDataValidationError) Field added in v0.3.0

Field function returns field value.

func (UpdateUserCommandDataValidationError) Key added in v0.3.0

Key function returns key value.

func (UpdateUserCommandDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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