commanddata

package
v0.1.6-rc10 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 5 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

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

type CreateTenantCommandData

type CreateTenantCommandData struct {

	// Name of the tenant
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // required
	// Prefix for namespaces and other resources related to the tenant
	Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"` // required
	// 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

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

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 string `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 (x *CreateUserRoleBindingCommandData) GetResource() string

func (*CreateUserRoleBindingCommandData) GetRole

func (*CreateUserRoleBindingCommandData) GetScope

func (*CreateUserRoleBindingCommandData) GetUserId

func (*CreateUserRoleBindingCommandData) ProtoMessage

func (*CreateUserRoleBindingCommandData) ProtoMessage()

func (*CreateUserRoleBindingCommandData) ProtoReflect

func (*CreateUserRoleBindingCommandData) Reset

func (*CreateUserRoleBindingCommandData) String

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

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

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

Jump to

Keyboard shortcuts

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