Documentation ¶
Index ¶
- Variables
- type Certificate
- func (*Certificate) Descriptor() ([]byte, []int)deprecated
- func (x *Certificate) GetAggregateType() string
- func (x *Certificate) GetCaCertBundle() []byte
- func (x *Certificate) GetCertificate() []byte
- func (x *Certificate) GetId() string
- func (x *Certificate) GetMetadata() *LifecycleMetadata
- func (x *Certificate) GetReferencedAggregateId() string
- func (*Certificate) ProtoMessage()
- func (x *Certificate) ProtoReflect() protoreflect.Message
- func (x *Certificate) Reset()
- func (x *Certificate) String() string
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetApiServerAddress() string
- func (x *Cluster) GetBootstrapToken() string
- func (x *Cluster) GetCaCertBundle() []byte
- func (x *Cluster) GetDisplayName() string
- func (x *Cluster) GetId() string
- func (x *Cluster) GetMetadata() *LifecycleMetadata
- func (x *Cluster) GetName() string
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type LifecycleMetadata
- func (*LifecycleMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *LifecycleMetadata) GetCreated() *timestamppb.Timestamp
- func (x *LifecycleMetadata) GetCreatedById() string
- func (x *LifecycleMetadata) GetDeleted() *timestamppb.Timestamp
- func (x *LifecycleMetadata) GetDeletedById() string
- func (x *LifecycleMetadata) GetLastModified() *timestamppb.Timestamp
- func (x *LifecycleMetadata) GetLastModifiedById() string
- func (*LifecycleMetadata) ProtoMessage()
- func (x *LifecycleMetadata) ProtoReflect() protoreflect.Message
- func (x *LifecycleMetadata) Reset()
- func (x *LifecycleMetadata) String() string
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetId() string
- func (x *Tenant) GetMetadata() *LifecycleMetadata
- func (x *Tenant) GetName() string
- func (x *Tenant) GetPrefix() string
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (x *Tenant) String() string
- type TenantClusterBinding
- func (*TenantClusterBinding) Descriptor() ([]byte, []int)deprecated
- func (x *TenantClusterBinding) GetClusterId() string
- func (x *TenantClusterBinding) GetId() string
- func (x *TenantClusterBinding) GetMetadata() *LifecycleMetadata
- func (x *TenantClusterBinding) GetTenantId() string
- func (*TenantClusterBinding) ProtoMessage()
- func (x *TenantClusterBinding) ProtoReflect() protoreflect.Message
- func (x *TenantClusterBinding) Reset()
- func (x *TenantClusterBinding) String() string
- type TenantUser
- func (*TenantUser) Descriptor() ([]byte, []int)deprecated
- func (x *TenantUser) GetEmail() string
- func (x *TenantUser) GetId() string
- func (x *TenantUser) GetMetadata() *LifecycleMetadata
- func (x *TenantUser) GetName() string
- func (x *TenantUser) GetTenantId() string
- func (x *TenantUser) GetTenantRoles() []string
- func (*TenantUser) ProtoMessage()
- func (x *TenantUser) ProtoReflect() protoreflect.Message
- func (x *TenantUser) Reset()
- func (x *TenantUser) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetEmail() string
- func (x *User) GetId() string
- func (x *User) GetMetadata() *LifecycleMetadata
- func (x *User) GetName() string
- func (x *User) GetRoles() []*UserRoleBinding
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserRoleBinding
- func (*UserRoleBinding) Descriptor() ([]byte, []int)deprecated
- func (x *UserRoleBinding) GetId() string
- func (x *UserRoleBinding) GetMetadata() *LifecycleMetadata
- func (x *UserRoleBinding) GetResource() string
- func (x *UserRoleBinding) GetRole() string
- func (x *UserRoleBinding) GetScope() string
- func (x *UserRoleBinding) GetUserId() string
- func (*UserRoleBinding) ProtoMessage()
- func (x *UserRoleBinding) ProtoReflect() protoreflect.Message
- func (x *UserRoleBinding) Reset()
- func (x *UserRoleBinding) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_api_domain_projections_certificate_proto protoreflect.FileDescriptor
View Source
var File_api_domain_projections_cluster_proto protoreflect.FileDescriptor
View Source
var File_api_domain_projections_metadata_proto protoreflect.FileDescriptor
View Source
var File_api_domain_projections_tenant_cluster_binding_proto protoreflect.FileDescriptor
View Source
var File_api_domain_projections_tenant_proto protoreflect.FileDescriptor
View Source
var File_api_domain_projections_user_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct { // Unique identifier of the certificate (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier of the referenced aggregate (UUID 128-bit number) ReferencedAggregateId string `` /* 126-byte string literal not displayed */ // Type of the aggregate referenced AggregateType string `protobuf:"bytes,3,opt,name=aggregate_type,json=aggregateType,proto3" json:"aggregate_type,omitempty"` // actual certificate Certificate []byte `protobuf:"bytes,4,opt,name=certificate,proto3" json:"certificate,omitempty"` // bundle of CA certificates for the certificate managed CaCertBundle []byte `protobuf:"bytes,5,opt,name=ca_cert_bundle,json=caCertBundle,proto3" json:"ca_cert_bundle,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Certficates can exist for any aggregate and are mainted by the control plane.
func (*Certificate) Descriptor
deprecated
func (*Certificate) Descriptor() ([]byte, []int)
Deprecated: Use Certificate.ProtoReflect.Descriptor instead.
func (*Certificate) GetAggregateType ¶
func (x *Certificate) GetAggregateType() string
func (*Certificate) GetCaCertBundle ¶
func (x *Certificate) GetCaCertBundle() []byte
func (*Certificate) GetCertificate ¶
func (x *Certificate) GetCertificate() []byte
func (*Certificate) GetId ¶
func (x *Certificate) GetId() string
func (*Certificate) GetMetadata ¶
func (x *Certificate) GetMetadata() *LifecycleMetadata
func (*Certificate) GetReferencedAggregateId ¶
func (x *Certificate) GetReferencedAggregateId() string
func (*Certificate) ProtoMessage ¶
func (*Certificate) ProtoMessage()
func (*Certificate) ProtoReflect ¶
func (x *Certificate) ProtoReflect() protoreflect.Message
func (*Certificate) Reset ¶
func (x *Certificate) Reset()
func (*Certificate) String ¶
func (x *Certificate) String() string
type Cluster ¶
type Cluster struct { // Unique identifier of the cluster (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique name of the cluster, to be utilized for generating unique labels // and symbols, e.g. with metrics. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Display name of the cluster DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Address of the clusters KubeAPIServer ApiServerAddress string `protobuf:"bytes,4,opt,name=api_server_address,json=apiServerAddress,proto3" json:"api_server_address,omitempty"` // CA certificates of the cluster CaCertBundle []byte `protobuf:"bytes,5,opt,name=ca_cert_bundle,json=caCertBundle,proto3" json:"ca_cert_bundle,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // Bootstrap token for cluster authentication BootstrapToken string `protobuf:"bytes,7,opt,name=bootstrap_token,json=bootstrapToken,proto3" json:"bootstrap_token,omitempty"` // contains filtered or unexported fields }
Cluster is the information the Control Plane has about a cluster
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetApiServerAddress ¶
func (*Cluster) GetBootstrapToken ¶
func (*Cluster) GetCaCertBundle ¶
func (*Cluster) GetDisplayName ¶
func (*Cluster) GetMetadata ¶
func (x *Cluster) GetMetadata() *LifecycleMetadata
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type LifecycleMetadata ¶
type LifecycleMetadata struct { // When it has been created Created *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` // By whom it has been created CreatedById string `protobuf:"bytes,2,opt,name=created_by_id,json=createdById,proto3" json:"created_by_id,omitempty"` // When it has been last modified LastModified *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=last_modified,json=lastModified,proto3" json:"last_modified,omitempty"` // By whom it has been last modified LastModifiedById string `protobuf:"bytes,4,opt,name=last_modified_by_id,json=lastModifiedById,proto3" json:"last_modified_by_id,omitempty"` // By whom it has been deleted DeletedById string `protobuf:"bytes,5,opt,name=deleted_by_id,json=deletedById,proto3" json:"deleted_by_id,omitempty"` // When it has been deleted Deleted *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=deleted,proto3" json:"deleted,omitempty"` // contains filtered or unexported fields }
func (*LifecycleMetadata) Descriptor
deprecated
func (*LifecycleMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LifecycleMetadata.ProtoReflect.Descriptor instead.
func (*LifecycleMetadata) GetCreated ¶
func (x *LifecycleMetadata) GetCreated() *timestamppb.Timestamp
func (*LifecycleMetadata) GetCreatedById ¶
func (x *LifecycleMetadata) GetCreatedById() string
func (*LifecycleMetadata) GetDeleted ¶
func (x *LifecycleMetadata) GetDeleted() *timestamppb.Timestamp
func (*LifecycleMetadata) GetDeletedById ¶
func (x *LifecycleMetadata) GetDeletedById() string
func (*LifecycleMetadata) GetLastModified ¶
func (x *LifecycleMetadata) GetLastModified() *timestamppb.Timestamp
func (*LifecycleMetadata) GetLastModifiedById ¶
func (x *LifecycleMetadata) GetLastModifiedById() string
func (*LifecycleMetadata) ProtoMessage ¶
func (*LifecycleMetadata) ProtoMessage()
func (*LifecycleMetadata) ProtoReflect ¶
func (x *LifecycleMetadata) ProtoReflect() protoreflect.Message
func (*LifecycleMetadata) Reset ¶
func (x *LifecycleMetadata) Reset()
func (*LifecycleMetadata) String ¶
func (x *LifecycleMetadata) String() string
type Tenant ¶
type Tenant struct { // Unique identifier of the tenant (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the tenant Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Prefix for namespaces and other resources related to the tenant. // DNS compatibility is ensured on validation. E.g. no more than 12 // characters. Prefix string `protobuf:"bytes,3,opt,name=prefix,proto3" json:"prefix,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Tenant within Monoskope
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetMetadata ¶
func (x *Tenant) GetMetadata() *LifecycleMetadata
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶
func (x *Tenant) ProtoReflect() protoreflect.Message
type TenantClusterBinding ¶ added in v0.3.0
type TenantClusterBinding struct { // Unique identifier of the binding (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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"` // Unique identifier of the tenant (UUID 128-bit number) TenantId string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
TenantClusterBinding represents which tenant has access to what cluster
func (*TenantClusterBinding) Descriptor
deprecated
added in
v0.3.0
func (*TenantClusterBinding) Descriptor() ([]byte, []int)
Deprecated: Use TenantClusterBinding.ProtoReflect.Descriptor instead.
func (*TenantClusterBinding) GetClusterId ¶ added in v0.3.0
func (x *TenantClusterBinding) GetClusterId() string
func (*TenantClusterBinding) GetId ¶ added in v0.3.0
func (x *TenantClusterBinding) GetId() string
func (*TenantClusterBinding) GetMetadata ¶ added in v0.3.0
func (x *TenantClusterBinding) GetMetadata() *LifecycleMetadata
func (*TenantClusterBinding) GetTenantId ¶ added in v0.3.0
func (x *TenantClusterBinding) GetTenantId() string
func (*TenantClusterBinding) ProtoMessage ¶ added in v0.3.0
func (*TenantClusterBinding) ProtoMessage()
func (*TenantClusterBinding) ProtoReflect ¶ added in v0.3.0
func (x *TenantClusterBinding) ProtoReflect() protoreflect.Message
func (*TenantClusterBinding) Reset ¶ added in v0.3.0
func (x *TenantClusterBinding) Reset()
func (*TenantClusterBinding) String ¶ added in v0.3.0
func (x *TenantClusterBinding) String() string
type TenantUser ¶
type TenantUser struct { // Unique identifier of the user (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the user Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Email address of the user Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Roles of the user within the tenant TenantRoles []string `protobuf:"bytes,4,rep,name=tenant_roles,json=tenantRoles,proto3" json:"tenant_roles,omitempty"` // Unique identifier of the tenant (UUID 128-bit number) TenantId string `protobuf:"bytes,5,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
User of a Tenant
func (*TenantUser) Descriptor
deprecated
func (*TenantUser) Descriptor() ([]byte, []int)
Deprecated: Use TenantUser.ProtoReflect.Descriptor instead.
func (*TenantUser) GetEmail ¶
func (x *TenantUser) GetEmail() string
func (*TenantUser) GetId ¶
func (x *TenantUser) GetId() string
func (*TenantUser) GetMetadata ¶
func (x *TenantUser) GetMetadata() *LifecycleMetadata
func (*TenantUser) GetName ¶
func (x *TenantUser) GetName() string
func (*TenantUser) GetTenantId ¶
func (x *TenantUser) GetTenantId() string
func (*TenantUser) GetTenantRoles ¶
func (x *TenantUser) GetTenantRoles() []string
func (*TenantUser) ProtoMessage ¶
func (*TenantUser) ProtoMessage()
func (*TenantUser) ProtoReflect ¶
func (x *TenantUser) ProtoReflect() protoreflect.Message
func (*TenantUser) Reset ¶
func (x *TenantUser) Reset()
func (*TenantUser) String ¶
func (x *TenantUser) String() string
type User ¶
type User struct { // Unique identifier of the user (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Name of the user Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Email address of the user Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` // Roles of the user Roles []*UserRoleBinding `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
User within Monoskope
func (*User) Descriptor
deprecated
func (*User) GetMetadata ¶
func (x *User) GetMetadata() *LifecycleMetadata
func (*User) GetRoles ¶
func (x *User) GetRoles() []*UserRoleBinding
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserRoleBinding ¶
type UserRoleBinding struct { // Unique identifier of the user role binding (UUID 128-bit number) Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier of the user (UUID 128-bit number) UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Name of the role Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // Scope of the role Scope string `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"` // Target resource of the role Resource string `protobuf:"bytes,5,opt,name=resource,proto3" json:"resource,omitempty"` // Metadata about the projection Metadata *LifecycleMetadata `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
func (*UserRoleBinding) Descriptor
deprecated
func (*UserRoleBinding) Descriptor() ([]byte, []int)
Deprecated: Use UserRoleBinding.ProtoReflect.Descriptor instead.
func (*UserRoleBinding) GetId ¶
func (x *UserRoleBinding) GetId() string
func (*UserRoleBinding) GetMetadata ¶
func (x *UserRoleBinding) GetMetadata() *LifecycleMetadata
func (*UserRoleBinding) GetResource ¶
func (x *UserRoleBinding) GetResource() string
func (*UserRoleBinding) GetRole ¶
func (x *UserRoleBinding) GetRole() string
func (*UserRoleBinding) GetScope ¶
func (x *UserRoleBinding) GetScope() string
func (*UserRoleBinding) GetUserId ¶
func (x *UserRoleBinding) GetUserId() string
func (*UserRoleBinding) ProtoMessage ¶
func (*UserRoleBinding) ProtoMessage()
func (*UserRoleBinding) ProtoReflect ¶
func (x *UserRoleBinding) ProtoReflect() protoreflect.Message
func (*UserRoleBinding) Reset ¶
func (x *UserRoleBinding) Reset()
func (*UserRoleBinding) String ¶
func (x *UserRoleBinding) String() string
Click to show internal directories.
Click to hide internal directories.