eventdata

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_domain_eventdata_cluster_proto protoreflect.FileDescriptor
View Source
var File_api_domain_eventdata_clustermapping_proto protoreflect.FileDescriptor
View Source
var File_api_domain_eventdata_tenant_proto protoreflect.FileDescriptor
View Source
var File_api_domain_eventdata_user_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ClusterCreated

type ClusterCreated struct {

	// Display name of the cluster
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Unique name of the cluster, to be utilized for generating unique labels
	// and symbols, e.g. with metrics.
	Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
	// Address of the KubeApiServer
	ApiServerAddress string `protobuf:"bytes,3,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// CA certificate of the K8s cluster
	CaCertificateBundle []byte `protobuf:"bytes,4,opt,name=ca_certificate_bundle,json=caCertificateBundle,proto3" json:"ca_certificate_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterCreated) Descriptor deprecated

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

Deprecated: Use ClusterCreated.ProtoReflect.Descriptor instead.

func (*ClusterCreated) GetApiServerAddress

func (x *ClusterCreated) GetApiServerAddress() string

func (*ClusterCreated) GetCaCertificateBundle

func (x *ClusterCreated) GetCaCertificateBundle() []byte

func (*ClusterCreated) GetLabel

func (x *ClusterCreated) GetLabel() string

func (*ClusterCreated) GetName

func (x *ClusterCreated) GetName() string

func (*ClusterCreated) ProtoMessage

func (*ClusterCreated) ProtoMessage()

func (*ClusterCreated) ProtoReflect

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

func (*ClusterCreated) Reset

func (x *ClusterCreated) Reset()

func (*ClusterCreated) String

func (x *ClusterCreated) String() string

func (*ClusterCreated) Validate added in v0.3.0

func (m *ClusterCreated) Validate() error

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

func (m *ClusterCreated) ValidateAll() error

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

type ClusterCreatedMultiError added in v0.3.0

type ClusterCreatedMultiError []error

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

func (ClusterCreatedMultiError) AllErrors added in v0.3.0

func (m ClusterCreatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterCreatedMultiError) Error added in v0.3.0

func (m ClusterCreatedMultiError) Error() string

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

type ClusterCreatedV2

type ClusterCreatedV2 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"`
	// Address of the KubeApiServer
	ApiServerAddress string `protobuf:"bytes,3,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// CA certificate of the K8s cluster
	CaCertificateBundle []byte `protobuf:"bytes,4,opt,name=ca_certificate_bundle,json=caCertificateBundle,proto3" json:"ca_certificate_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterCreatedV2) Descriptor deprecated

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

Deprecated: Use ClusterCreatedV2.ProtoReflect.Descriptor instead.

func (*ClusterCreatedV2) GetApiServerAddress

func (x *ClusterCreatedV2) GetApiServerAddress() string

func (*ClusterCreatedV2) GetCaCertificateBundle

func (x *ClusterCreatedV2) GetCaCertificateBundle() []byte

func (*ClusterCreatedV2) GetDisplayName

func (x *ClusterCreatedV2) GetDisplayName() string

func (*ClusterCreatedV2) GetName

func (x *ClusterCreatedV2) GetName() string

func (*ClusterCreatedV2) ProtoMessage

func (*ClusterCreatedV2) ProtoMessage()

func (*ClusterCreatedV2) ProtoReflect

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

func (*ClusterCreatedV2) Reset

func (x *ClusterCreatedV2) Reset()

func (*ClusterCreatedV2) String

func (x *ClusterCreatedV2) String() string

func (*ClusterCreatedV2) Validate added in v0.3.0

func (m *ClusterCreatedV2) Validate() error

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

func (m *ClusterCreatedV2) ValidateAll() error

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

type ClusterCreatedV2MultiError added in v0.3.0

type ClusterCreatedV2MultiError []error

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

func (ClusterCreatedV2MultiError) AllErrors added in v0.3.0

func (m ClusterCreatedV2MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterCreatedV2MultiError) Error added in v0.3.0

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

type ClusterCreatedV2ValidationError added in v0.3.0

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

ClusterCreatedV2ValidationError is the validation error returned by ClusterCreatedV2.Validate if the designated constraints aren't met.

func (ClusterCreatedV2ValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterCreatedV2ValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterCreatedV2ValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (ClusterCreatedV2ValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterCreatedV2ValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterCreatedV2ValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ClusterCreatedV3 added in v0.5.2

type ClusterCreatedV3 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"`
	// Address of the KubeApiServer
	ApiServerAddress string `protobuf:"bytes,2,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// CA certificate of the K8s cluster
	CaCertificateBundle []byte `protobuf:"bytes,3,opt,name=ca_certificate_bundle,json=caCertificateBundle,proto3" json:"ca_certificate_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterCreatedV3) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ClusterCreatedV3.ProtoReflect.Descriptor instead.

func (*ClusterCreatedV3) GetApiServerAddress added in v0.5.2

func (x *ClusterCreatedV3) GetApiServerAddress() string

func (*ClusterCreatedV3) GetCaCertificateBundle added in v0.5.2

func (x *ClusterCreatedV3) GetCaCertificateBundle() []byte

func (*ClusterCreatedV3) GetName added in v0.5.2

func (x *ClusterCreatedV3) GetName() string

func (*ClusterCreatedV3) ProtoMessage added in v0.5.2

func (*ClusterCreatedV3) ProtoMessage()

func (*ClusterCreatedV3) ProtoReflect added in v0.5.2

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

func (*ClusterCreatedV3) Reset added in v0.5.2

func (x *ClusterCreatedV3) Reset()

func (*ClusterCreatedV3) String added in v0.5.2

func (x *ClusterCreatedV3) String() string

func (*ClusterCreatedV3) Validate added in v0.5.2

func (m *ClusterCreatedV3) Validate() error

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

func (m *ClusterCreatedV3) ValidateAll() error

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

type ClusterCreatedV3MultiError added in v0.5.2

type ClusterCreatedV3MultiError []error

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

func (ClusterCreatedV3MultiError) AllErrors added in v0.5.2

func (m ClusterCreatedV3MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterCreatedV3MultiError) Error added in v0.5.2

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

type ClusterCreatedV3ValidationError added in v0.5.2

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

ClusterCreatedV3ValidationError is the validation error returned by ClusterCreatedV3.Validate if the designated constraints aren't met.

func (ClusterCreatedV3ValidationError) Cause added in v0.5.2

Cause function returns cause value.

func (ClusterCreatedV3ValidationError) Error added in v0.5.2

Error satisfies the builtin error interface

func (ClusterCreatedV3ValidationError) ErrorName added in v0.5.2

ErrorName returns error name.

func (ClusterCreatedV3ValidationError) Field added in v0.5.2

Field function returns field value.

func (ClusterCreatedV3ValidationError) Key added in v0.5.2

Key function returns key value.

func (ClusterCreatedV3ValidationError) Reason added in v0.5.2

Reason function returns reason value.

type ClusterCreatedValidationError added in v0.3.0

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

ClusterCreatedValidationError is the validation error returned by ClusterCreated.Validate if the designated constraints aren't met.

func (ClusterCreatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterCreatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterCreatedValidationError) ErrorName added in v0.3.0

func (e ClusterCreatedValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterCreatedValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterCreatedValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterCreatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type ClusterUpdated

type ClusterUpdated struct {

	// Display name of the cluster
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Address of the KubeApiServer
	ApiServerAddress string `protobuf:"bytes,2,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// CA certificate of the K8s cluster
	CaCertificateBundle []byte `protobuf:"bytes,3,opt,name=ca_certificate_bundle,json=caCertificateBundle,proto3" json:"ca_certificate_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUpdated) Descriptor deprecated

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

Deprecated: Use ClusterUpdated.ProtoReflect.Descriptor instead.

func (*ClusterUpdated) GetApiServerAddress

func (x *ClusterUpdated) GetApiServerAddress() string

func (*ClusterUpdated) GetCaCertificateBundle

func (x *ClusterUpdated) GetCaCertificateBundle() []byte

func (*ClusterUpdated) GetDisplayName

func (x *ClusterUpdated) GetDisplayName() string

func (*ClusterUpdated) ProtoMessage

func (*ClusterUpdated) ProtoMessage()

func (*ClusterUpdated) ProtoReflect

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

func (*ClusterUpdated) Reset

func (x *ClusterUpdated) Reset()

func (*ClusterUpdated) String

func (x *ClusterUpdated) String() string

func (*ClusterUpdated) Validate added in v0.3.0

func (m *ClusterUpdated) Validate() error

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

func (m *ClusterUpdated) ValidateAll() error

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

type ClusterUpdatedMultiError added in v0.3.0

type ClusterUpdatedMultiError []error

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

func (ClusterUpdatedMultiError) AllErrors added in v0.3.0

func (m ClusterUpdatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterUpdatedMultiError) Error added in v0.3.0

func (m ClusterUpdatedMultiError) Error() string

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

type ClusterUpdatedV2 added in v0.5.2

type ClusterUpdatedV2 struct {

	// Unique name of the cluster, to be utilized for generating unique labels
	// and symbols, e.g. with metrics.
	Name *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Address of the KubeApiServer
	ApiServerAddress *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"`
	// CA certificate of the K8s cluster
	CaCertificateBundle []byte `protobuf:"bytes,3,opt,name=ca_certificate_bundle,json=caCertificateBundle,proto3" json:"ca_certificate_bundle,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterUpdatedV2) Descriptor deprecated added in v0.5.2

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

Deprecated: Use ClusterUpdatedV2.ProtoReflect.Descriptor instead.

func (*ClusterUpdatedV2) GetApiServerAddress added in v0.5.2

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

func (*ClusterUpdatedV2) GetCaCertificateBundle added in v0.5.2

func (x *ClusterUpdatedV2) GetCaCertificateBundle() []byte

func (*ClusterUpdatedV2) GetName added in v0.5.2

func (x *ClusterUpdatedV2) GetName() *wrapperspb.StringValue

func (*ClusterUpdatedV2) ProtoMessage added in v0.5.2

func (*ClusterUpdatedV2) ProtoMessage()

func (*ClusterUpdatedV2) ProtoReflect added in v0.5.2

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

func (*ClusterUpdatedV2) Reset added in v0.5.2

func (x *ClusterUpdatedV2) Reset()

func (*ClusterUpdatedV2) String added in v0.5.2

func (x *ClusterUpdatedV2) String() string

func (*ClusterUpdatedV2) Validate added in v0.5.2

func (m *ClusterUpdatedV2) Validate() error

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

func (m *ClusterUpdatedV2) ValidateAll() error

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

type ClusterUpdatedV2MultiError added in v0.5.2

type ClusterUpdatedV2MultiError []error

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

func (ClusterUpdatedV2MultiError) AllErrors added in v0.5.2

func (m ClusterUpdatedV2MultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (ClusterUpdatedV2MultiError) Error added in v0.5.2

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

type ClusterUpdatedV2ValidationError added in v0.5.2

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

ClusterUpdatedV2ValidationError is the validation error returned by ClusterUpdatedV2.Validate if the designated constraints aren't met.

func (ClusterUpdatedV2ValidationError) Cause added in v0.5.2

Cause function returns cause value.

func (ClusterUpdatedV2ValidationError) Error added in v0.5.2

Error satisfies the builtin error interface

func (ClusterUpdatedV2ValidationError) ErrorName added in v0.5.2

ErrorName returns error name.

func (ClusterUpdatedV2ValidationError) Field added in v0.5.2

Field function returns field value.

func (ClusterUpdatedV2ValidationError) Key added in v0.5.2

Key function returns key value.

func (ClusterUpdatedV2ValidationError) Reason added in v0.5.2

Reason function returns reason value.

type ClusterUpdatedValidationError added in v0.3.0

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

ClusterUpdatedValidationError is the validation error returned by ClusterUpdated.Validate if the designated constraints aren't met.

func (ClusterUpdatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (ClusterUpdatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (ClusterUpdatedValidationError) ErrorName added in v0.3.0

func (e ClusterUpdatedValidationError) ErrorName() string

ErrorName returns error name.

func (ClusterUpdatedValidationError) Field added in v0.3.0

Field function returns field value.

func (ClusterUpdatedValidationError) Key added in v0.3.0

Key function returns key value.

func (ClusterUpdatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantClusterBindingCreated added in v0.3.0

type TenantClusterBindingCreated 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
}

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

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

Deprecated: Use TenantClusterBindingCreated.ProtoReflect.Descriptor instead.

func (*TenantClusterBindingCreated) GetClusterId added in v0.3.0

func (x *TenantClusterBindingCreated) GetClusterId() string

func (*TenantClusterBindingCreated) GetTenantId added in v0.3.0

func (x *TenantClusterBindingCreated) GetTenantId() string

func (*TenantClusterBindingCreated) ProtoMessage added in v0.3.0

func (*TenantClusterBindingCreated) ProtoMessage()

func (*TenantClusterBindingCreated) ProtoReflect added in v0.3.0

func (*TenantClusterBindingCreated) Reset added in v0.3.0

func (x *TenantClusterBindingCreated) Reset()

func (*TenantClusterBindingCreated) String added in v0.3.0

func (x *TenantClusterBindingCreated) String() string

func (*TenantClusterBindingCreated) Validate added in v0.3.0

func (m *TenantClusterBindingCreated) Validate() error

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

func (m *TenantClusterBindingCreated) ValidateAll() error

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

type TenantClusterBindingCreatedMultiError added in v0.3.0

type TenantClusterBindingCreatedMultiError []error

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

func (TenantClusterBindingCreatedMultiError) AllErrors added in v0.3.0

AllErrors returns a list of validation violation errors.

func (TenantClusterBindingCreatedMultiError) Error added in v0.3.0

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

type TenantClusterBindingCreatedValidationError added in v0.3.0

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

TenantClusterBindingCreatedValidationError is the validation error returned by TenantClusterBindingCreated.Validate if the designated constraints aren't met.

func (TenantClusterBindingCreatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantClusterBindingCreatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantClusterBindingCreatedValidationError) ErrorName added in v0.3.0

ErrorName returns error name.

func (TenantClusterBindingCreatedValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantClusterBindingCreatedValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantClusterBindingCreatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantCreated

type TenantCreated struct {

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

func (*TenantCreated) Descriptor deprecated

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

Deprecated: Use TenantCreated.ProtoReflect.Descriptor instead.

func (*TenantCreated) GetName

func (x *TenantCreated) GetName() string

func (*TenantCreated) GetPrefix

func (x *TenantCreated) GetPrefix() string

func (*TenantCreated) ProtoMessage

func (*TenantCreated) ProtoMessage()

func (*TenantCreated) ProtoReflect

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

func (*TenantCreated) Reset

func (x *TenantCreated) Reset()

func (*TenantCreated) String

func (x *TenantCreated) String() string

func (*TenantCreated) Validate added in v0.3.0

func (m *TenantCreated) Validate() error

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

func (m *TenantCreated) ValidateAll() error

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

type TenantCreatedMultiError added in v0.3.0

type TenantCreatedMultiError []error

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

func (TenantCreatedMultiError) AllErrors added in v0.3.0

func (m TenantCreatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantCreatedMultiError) Error added in v0.3.0

func (m TenantCreatedMultiError) Error() string

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

type TenantCreatedValidationError added in v0.3.0

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

TenantCreatedValidationError is the validation error returned by TenantCreated.Validate if the designated constraints aren't met.

func (TenantCreatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantCreatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantCreatedValidationError) ErrorName added in v0.3.0

func (e TenantCreatedValidationError) ErrorName() string

ErrorName returns error name.

func (TenantCreatedValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantCreatedValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantCreatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type TenantUpdated

type TenantUpdated struct {

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

func (*TenantUpdated) Descriptor deprecated

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

Deprecated: Use TenantUpdated.ProtoReflect.Descriptor instead.

func (*TenantUpdated) GetName

func (x *TenantUpdated) GetName() *wrapperspb.StringValue

func (*TenantUpdated) ProtoMessage

func (*TenantUpdated) ProtoMessage()

func (*TenantUpdated) ProtoReflect

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

func (*TenantUpdated) Reset

func (x *TenantUpdated) Reset()

func (*TenantUpdated) String

func (x *TenantUpdated) String() string

func (*TenantUpdated) Validate added in v0.3.0

func (m *TenantUpdated) Validate() error

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

func (m *TenantUpdated) ValidateAll() error

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

type TenantUpdatedMultiError added in v0.3.0

type TenantUpdatedMultiError []error

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

func (TenantUpdatedMultiError) AllErrors added in v0.3.0

func (m TenantUpdatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TenantUpdatedMultiError) Error added in v0.3.0

func (m TenantUpdatedMultiError) Error() string

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

type TenantUpdatedValidationError added in v0.3.0

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

TenantUpdatedValidationError is the validation error returned by TenantUpdated.Validate if the designated constraints aren't met.

func (TenantUpdatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TenantUpdatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TenantUpdatedValidationError) ErrorName added in v0.3.0

func (e TenantUpdatedValidationError) ErrorName() string

ErrorName returns error name.

func (TenantUpdatedValidationError) Field added in v0.3.0

Field function returns field value.

func (TenantUpdatedValidationError) Key added in v0.3.0

Key function returns key value.

func (TenantUpdatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UserCreated

type UserCreated 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"`
	// Source the user originates from, e.g. "monoskope"
	Source common.UserSource `protobuf:"varint,3,opt,name=source,proto3,enum=common.UserSource" json:"source,omitempty"`
	// contains filtered or unexported fields
}

func (*UserCreated) Descriptor deprecated

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

Deprecated: Use UserCreated.ProtoReflect.Descriptor instead.

func (*UserCreated) GetEmail

func (x *UserCreated) GetEmail() string

func (*UserCreated) GetName

func (x *UserCreated) GetName() string

func (*UserCreated) GetSource added in v0.3.0

func (x *UserCreated) GetSource() common.UserSource

func (*UserCreated) ProtoMessage

func (*UserCreated) ProtoMessage()

func (*UserCreated) ProtoReflect

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

func (*UserCreated) Reset

func (x *UserCreated) Reset()

func (*UserCreated) String

func (x *UserCreated) String() string

func (*UserCreated) Validate added in v0.3.0

func (m *UserCreated) Validate() error

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

func (m *UserCreated) ValidateAll() error

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

type UserCreatedMultiError added in v0.3.0

type UserCreatedMultiError []error

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

func (UserCreatedMultiError) AllErrors added in v0.3.0

func (m UserCreatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserCreatedMultiError) Error added in v0.3.0

func (m UserCreatedMultiError) Error() string

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

type UserCreatedValidationError added in v0.3.0

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

UserCreatedValidationError is the validation error returned by UserCreated.Validate if the designated constraints aren't met.

func (UserCreatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UserCreatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UserCreatedValidationError) ErrorName added in v0.3.0

func (e UserCreatedValidationError) ErrorName() string

ErrorName returns error name.

func (UserCreatedValidationError) Field added in v0.3.0

Field function returns field value.

func (UserCreatedValidationError) Key added in v0.3.0

Key function returns key value.

func (UserCreatedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UserRoleAdded

type UserRoleAdded 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 added to the user
	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 (UUID 128-bit number)
	Resource string `protobuf:"bytes,4,opt,name=resource,proto3" json:"resource,omitempty"`
	// contains filtered or unexported fields
}

func (*UserRoleAdded) Descriptor deprecated

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

Deprecated: Use UserRoleAdded.ProtoReflect.Descriptor instead.

func (*UserRoleAdded) GetResource

func (x *UserRoleAdded) GetResource() string

func (*UserRoleAdded) GetRole

func (x *UserRoleAdded) GetRole() string

func (*UserRoleAdded) GetScope

func (x *UserRoleAdded) GetScope() string

func (*UserRoleAdded) GetUserId

func (x *UserRoleAdded) GetUserId() string

func (*UserRoleAdded) ProtoMessage

func (*UserRoleAdded) ProtoMessage()

func (*UserRoleAdded) ProtoReflect

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

func (*UserRoleAdded) Reset

func (x *UserRoleAdded) Reset()

func (*UserRoleAdded) String

func (x *UserRoleAdded) String() string

func (*UserRoleAdded) Validate added in v0.3.0

func (m *UserRoleAdded) Validate() error

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

func (m *UserRoleAdded) ValidateAll() error

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

type UserRoleAddedMultiError added in v0.3.0

type UserRoleAddedMultiError []error

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

func (UserRoleAddedMultiError) AllErrors added in v0.3.0

func (m UserRoleAddedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserRoleAddedMultiError) Error added in v0.3.0

func (m UserRoleAddedMultiError) Error() string

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

type UserRoleAddedValidationError added in v0.3.0

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

UserRoleAddedValidationError is the validation error returned by UserRoleAdded.Validate if the designated constraints aren't met.

func (UserRoleAddedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UserRoleAddedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UserRoleAddedValidationError) ErrorName added in v0.3.0

func (e UserRoleAddedValidationError) ErrorName() string

ErrorName returns error name.

func (UserRoleAddedValidationError) Field added in v0.3.0

Field function returns field value.

func (UserRoleAddedValidationError) Key added in v0.3.0

Key function returns key value.

func (UserRoleAddedValidationError) Reason added in v0.3.0

Reason function returns reason value.

type UserUpdated added in v0.3.0

type UserUpdated struct {

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

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

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

Deprecated: Use UserUpdated.ProtoReflect.Descriptor instead.

func (*UserUpdated) GetName added in v0.3.0

func (x *UserUpdated) GetName() string

func (*UserUpdated) ProtoMessage added in v0.3.0

func (*UserUpdated) ProtoMessage()

func (*UserUpdated) ProtoReflect added in v0.3.0

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

func (*UserUpdated) Reset added in v0.3.0

func (x *UserUpdated) Reset()

func (*UserUpdated) String added in v0.3.0

func (x *UserUpdated) String() string

func (*UserUpdated) Validate added in v0.3.0

func (m *UserUpdated) Validate() error

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

func (m *UserUpdated) ValidateAll() error

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

type UserUpdatedMultiError added in v0.3.0

type UserUpdatedMultiError []error

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

func (UserUpdatedMultiError) AllErrors added in v0.3.0

func (m UserUpdatedMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (UserUpdatedMultiError) Error added in v0.3.0

func (m UserUpdatedMultiError) Error() string

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

type UserUpdatedValidationError added in v0.3.0

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

UserUpdatedValidationError is the validation error returned by UserUpdated.Validate if the designated constraints aren't met.

func (UserUpdatedValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (UserUpdatedValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (UserUpdatedValidationError) ErrorName added in v0.3.0

func (e UserUpdatedValidationError) ErrorName() string

ErrorName returns error name.

func (UserUpdatedValidationError) Field added in v0.3.0

Field function returns field value.

func (UserUpdatedValidationError) Key added in v0.3.0

Key function returns key value.

func (UserUpdatedValidationError) 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