Documentation
¶
Index ¶
- Variables
- func CheckErrorCode(err error, code codes.Code) bool
- func IsConflict(err error) bool
- func IsInternal(err error) bool
- func IsNotFound(err error) bool
- func IsOptimistickLockError(err error) bool
- func RegisterProjectServiceServer(s *grpc.Server, srv ProjectServiceServer)
- func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)
- type ConnectorConfig
- func (*ConnectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectorConfig) GetIdmAccessCode() string
- func (x *ConnectorConfig) GetIdmApiPassword() string
- func (x *ConnectorConfig) GetIdmApiUrl() string
- func (x *ConnectorConfig) GetIdmApiUser() string
- func (x *ConnectorConfig) GetIdmCustomerId() string
- func (x *ConnectorConfig) GetIdmDomainName() string
- func (x *ConnectorConfig) GetIdmGroupOu() string
- func (x *ConnectorConfig) GetIdmGroupnameTemplate() *wrapperspb.StringValue
- func (x *ConnectorConfig) GetIdmJobInfo() string
- func (x *ConnectorConfig) GetIdmReqEmail() string
- func (x *ConnectorConfig) GetIdmReqSystem() string
- func (x *ConnectorConfig) GetIdmReqUser() string
- func (x *ConnectorConfig) GetIdmSubmitter() string
- func (x *ConnectorConfig) GetIdmSystemId() string
- func (x *ConnectorConfig) GetIdmTenantPrefix() string
- func (*ConnectorConfig) ProtoMessage()
- func (x *ConnectorConfig) ProtoReflect() protoreflect.Message
- func (x *ConnectorConfig) Reset()
- func (x *ConnectorConfig) String() string
- type IAMConfig
- func (*IAMConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IAMConfig) GetGroupConfig() *NamespaceGroupConfig
- func (x *IAMConfig) GetIdmConfig() *IDMConfig
- func (x *IAMConfig) GetIssuerConfig() *IssuerConfig
- func (*IAMConfig) ProtoMessage()
- func (x *IAMConfig) ProtoReflect() protoreflect.Message
- func (x *IAMConfig) Reset()
- func (x *IAMConfig) String() string
- type IDMConfig
- func (*IDMConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IDMConfig) GetConnectorConfig() *ConnectorConfig
- func (x *IDMConfig) GetIdmType() string
- func (*IDMConfig) ProtoMessage()
- func (x *IDMConfig) ProtoReflect() protoreflect.Message
- func (x *IDMConfig) Reset()
- func (x *IDMConfig) String() string
- type IssuerConfig
- func (*IssuerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *IssuerConfig) GetClientId() string
- func (x *IssuerConfig) GetUrl() string
- func (*IssuerConfig) ProtoMessage()
- func (x *IssuerConfig) ProtoReflect() protoreflect.Message
- func (x *IssuerConfig) Reset()
- func (x *IssuerConfig) String() string
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)deprecated
- func (x *Meta) GetAnnotations() map[string]string
- func (x *Meta) GetApiversion() string
- func (x *Meta) GetCreatedTime() *timestamppb.Timestamp
- func (x *Meta) GetId() string
- func (x *Meta) GetKind() string
- func (x *Meta) GetLabels() []string
- func (x *Meta) GetUpdatedTime() *timestamppb.Timestamp
- func (x *Meta) GetVersion() int64
- func (*Meta) ProtoMessage()
- func (x *Meta) ProtoReflect() protoreflect.Message
- func (x *Meta) Reset()
- func (m *Meta) SetAnnotations(annotations map[string]string)
- func (m *Meta) SetCreatedTime(time *timestamppb.Timestamp)
- func (m *Meta) SetId(id string)
- func (m *Meta) SetLabels(labels []string)
- func (m *Meta) SetUpdatedTime(time *timestamppb.Timestamp)
- func (m *Meta) SetVersion(version int64)
- func (x *Meta) String() string
- type NamespaceGroupConfig
- func (*NamespaceGroupConfig) Descriptor() ([]byte, []int)deprecated
- func (x *NamespaceGroupConfig) GetClusterGroupnameTemplate() string
- func (x *NamespaceGroupConfig) GetExcludedNamespaces() string
- func (x *NamespaceGroupConfig) GetExpectedGroupsList() string
- func (x *NamespaceGroupConfig) GetNamespaceMaxLength() int32
- func (x *NamespaceGroupConfig) GetRolebindingNameTemplate() string
- func (*NamespaceGroupConfig) ProtoMessage()
- func (x *NamespaceGroupConfig) ProtoReflect() protoreflect.Message
- func (x *NamespaceGroupConfig) Reset()
- func (x *NamespaceGroupConfig) String() string
- type Project
- func (p *Project) APIVersion() string
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetDescription() string
- func (x *Project) GetMeta() *Meta
- func (x *Project) GetName() string
- func (x *Project) GetQuotas() *QuotaSet
- func (x *Project) GetTenantId() string
- func (p *Project) JSONField() string
- func (p *Project) Kind() string
- func (m *Project) NewProjectResponse() *ProjectResponse
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (p *Project) Scan(value interface{}) error
- func (p *Project) Schema() string
- func (x *Project) String() string
- func (p *Project) TableName() string
- func (p *Project) Value() (driver.Value, error)
- type ProjectCreateRequest
- func (*ProjectCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectCreateRequest) GetProject() *Project
- func (*ProjectCreateRequest) ProtoMessage()
- func (x *ProjectCreateRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectCreateRequest) Reset()
- func (x *ProjectCreateRequest) String() string
- type ProjectDeleteRequest
- func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectDeleteRequest) GetId() string
- func (m *ProjectDeleteRequest) NewProject() *Project
- func (*ProjectDeleteRequest) ProtoMessage()
- func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectDeleteRequest) Reset()
- func (x *ProjectDeleteRequest) String() string
- type ProjectFindRequest
- func (*ProjectFindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectFindRequest) GetDescription() *wrapperspb.StringValue
- func (x *ProjectFindRequest) GetId() *wrapperspb.StringValue
- func (x *ProjectFindRequest) GetName() *wrapperspb.StringValue
- func (x *ProjectFindRequest) GetTenantId() *wrapperspb.StringValue
- func (*ProjectFindRequest) ProtoMessage()
- func (x *ProjectFindRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectFindRequest) Reset()
- func (x *ProjectFindRequest) String() string
- type ProjectGetHistoryRequest
- func (*ProjectGetHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectGetHistoryRequest) GetAt() *timestamppb.Timestamp
- func (x *ProjectGetHistoryRequest) GetId() string
- func (*ProjectGetHistoryRequest) ProtoMessage()
- func (x *ProjectGetHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectGetHistoryRequest) Reset()
- func (x *ProjectGetHistoryRequest) String() string
- type ProjectGetRequest
- type ProjectListResponse
- func (*ProjectListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectListResponse) GetProjects() []*Project
- func (*ProjectListResponse) ProtoMessage()
- func (x *ProjectListResponse) ProtoReflect() protoreflect.Message
- func (x *ProjectListResponse) Reset()
- func (x *ProjectListResponse) String() string
- type ProjectResponse
- type ProjectServiceClient
- type ProjectServiceServer
- type ProjectUpdateRequest
- func (*ProjectUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ProjectUpdateRequest) GetProject() *Project
- func (*ProjectUpdateRequest) ProtoMessage()
- func (x *ProjectUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *ProjectUpdateRequest) Reset()
- func (x *ProjectUpdateRequest) String() string
- type Quota
- type QuotaSet
- func (*QuotaSet) Descriptor() ([]byte, []int)deprecated
- func (x *QuotaSet) GetCluster() *Quota
- func (x *QuotaSet) GetIp() *Quota
- func (x *QuotaSet) GetMachine() *Quota
- func (x *QuotaSet) GetProject() *Quota
- func (*QuotaSet) ProtoMessage()
- func (x *QuotaSet) ProtoReflect() protoreflect.Message
- func (x *QuotaSet) Reset()
- func (x *QuotaSet) String() string
- type Tenant
- func (t *Tenant) APIVersion() string
- func (*Tenant) Descriptor() ([]byte, []int)deprecated
- func (x *Tenant) GetDefaultQuotas() *QuotaSet
- func (x *Tenant) GetDescription() string
- func (x *Tenant) GetIamConfig() *IAMConfig
- func (x *Tenant) GetMeta() *Meta
- func (x *Tenant) GetName() string
- func (x *Tenant) GetQuotas() *QuotaSet
- func (t *Tenant) JSONField() string
- func (t *Tenant) Kind() string
- func (m *Tenant) NewTenantResponse() *TenantResponse
- func (*Tenant) ProtoMessage()
- func (x *Tenant) ProtoReflect() protoreflect.Message
- func (x *Tenant) Reset()
- func (t *Tenant) Scan(value interface{}) error
- func (t *Tenant) Schema() string
- func (x *Tenant) String() string
- func (t *Tenant) TableName() string
- func (t *Tenant) Value() (driver.Value, error)
- type TenantCreateRequest
- func (*TenantCreateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantCreateRequest) GetTenant() *Tenant
- func (*TenantCreateRequest) ProtoMessage()
- func (x *TenantCreateRequest) ProtoReflect() protoreflect.Message
- func (x *TenantCreateRequest) Reset()
- func (x *TenantCreateRequest) String() string
- type TenantDeleteRequest
- func (*TenantDeleteRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantDeleteRequest) GetId() string
- func (m *TenantDeleteRequest) NewTenant() *Tenant
- func (*TenantDeleteRequest) ProtoMessage()
- func (x *TenantDeleteRequest) ProtoReflect() protoreflect.Message
- func (x *TenantDeleteRequest) Reset()
- func (x *TenantDeleteRequest) String() string
- type TenantFindRequest
- func (*TenantFindRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantFindRequest) GetId() *wrapperspb.StringValue
- func (x *TenantFindRequest) GetName() *wrapperspb.StringValue
- func (*TenantFindRequest) ProtoMessage()
- func (x *TenantFindRequest) ProtoReflect() protoreflect.Message
- func (x *TenantFindRequest) Reset()
- func (x *TenantFindRequest) String() string
- type TenantGetHistoryRequest
- func (*TenantGetHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantGetHistoryRequest) GetAt() *timestamppb.Timestamp
- func (x *TenantGetHistoryRequest) GetId() string
- func (*TenantGetHistoryRequest) ProtoMessage()
- func (x *TenantGetHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *TenantGetHistoryRequest) Reset()
- func (x *TenantGetHistoryRequest) String() string
- type TenantGetRequest
- type TenantListResponse
- func (*TenantListResponse) Descriptor() ([]byte, []int)deprecated
- func (x *TenantListResponse) GetTenants() []*Tenant
- func (*TenantListResponse) ProtoMessage()
- func (x *TenantListResponse) ProtoReflect() protoreflect.Message
- func (x *TenantListResponse) Reset()
- func (x *TenantListResponse) String() string
- type TenantResponse
- type TenantServiceClient
- type TenantServiceServer
- type TenantUpdateRequest
- func (*TenantUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *TenantUpdateRequest) GetTenant() *Tenant
- func (*TenantUpdateRequest) ProtoMessage()
- func (x *TenantUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *TenantUpdateRequest) Reset()
- func (x *TenantUpdateRequest) String() string
- type UnimplementedProjectServiceServer
- func (*UnimplementedProjectServiceServer) Create(context.Context, *ProjectCreateRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Delete(context.Context, *ProjectDeleteRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Find(context.Context, *ProjectFindRequest) (*ProjectListResponse, error)
- func (*UnimplementedProjectServiceServer) Get(context.Context, *ProjectGetRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) GetHistory(context.Context, *ProjectGetHistoryRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Update(context.Context, *ProjectUpdateRequest) (*ProjectResponse, error)
- type UnimplementedTenantServiceServer
- func (*UnimplementedTenantServiceServer) Create(context.Context, *TenantCreateRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Delete(context.Context, *TenantDeleteRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Find(context.Context, *TenantFindRequest) (*TenantListResponse, error)
- func (*UnimplementedTenantServiceServer) Get(context.Context, *TenantGetRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) GetHistory(context.Context, *TenantGetHistoryRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Update(context.Context, *TenantUpdateRequest) (*TenantResponse, error)
Constants ¶
This section is empty.
Variables ¶
var File_v1_iam_proto protoreflect.FileDescriptor
var File_v1_meta_proto protoreflect.FileDescriptor
var File_v1_project_proto protoreflect.FileDescriptor
var File_v1_quota_proto protoreflect.FileDescriptor
var File_v1_tenant_proto protoreflect.FileDescriptor
Functions ¶
func CheckErrorCode ¶
CheckErrorCode returns true, if the given err is not nil, is of type grpc Status and the code equals the given code.
func IsConflict ¶
IsConflict checks if the given error is a conflict error. Example: key already exists on create.
func IsInternal ¶
IsInternal checks if the given error is an internal server error.
func IsNotFound ¶
IsNotFound checks if the given error is a notfound error.
func IsOptimistickLockError ¶
IsOptimistickLockError checks if the given error is a Optimistic Lock Error, which indicates that you read an entity and tried to update this entity, but it changed in the datastore by another party in the meantime.
func RegisterProjectServiceServer ¶
func RegisterProjectServiceServer(s *grpc.Server, srv ProjectServiceServer)
func RegisterTenantServiceServer ¶
func RegisterTenantServiceServer(s *grpc.Server, srv TenantServiceServer)
Types ¶
type ConnectorConfig ¶
type ConnectorConfig struct { // the following are all mandatory IdmApiUrl string `protobuf:"bytes,1,opt,name=idm_api_url,json=idmApiUrl,proto3" json:"idm_api_url,omitempty"` IdmApiUser string `protobuf:"bytes,2,opt,name=idm_api_user,json=idmApiUser,proto3" json:"idm_api_user,omitempty"` IdmApiPassword string `protobuf:"bytes,3,opt,name=idm_api_password,json=idmApiPassword,proto3" json:"idm_api_password,omitempty"` IdmSystemId string `protobuf:"bytes,4,opt,name=idm_system_id,json=idmSystemId,proto3" json:"idm_system_id,omitempty"` IdmAccessCode string `protobuf:"bytes,5,opt,name=idm_access_code,json=idmAccessCode,proto3" json:"idm_access_code,omitempty"` IdmCustomerId string `protobuf:"bytes,6,opt,name=idm_customer_id,json=idmCustomerId,proto3" json:"idm_customer_id,omitempty"` IdmGroupOu string `protobuf:"bytes,7,opt,name=idm_group_ou,json=idmGroupOu,proto3" json:"idm_group_ou,omitempty"` // optional IdmGroupnameTemplate *wrapperspb.StringValue `protobuf:"bytes,8,opt,name=idm_groupname_template,json=idmGroupnameTemplate,proto3" json:"idm_groupname_template,omitempty"` IdmDomainName string `protobuf:"bytes,9,opt,name=idm_domain_name,json=idmDomainName,proto3" json:"idm_domain_name,omitempty"` IdmTenantPrefix string `protobuf:"bytes,10,opt,name=idm_tenant_prefix,json=idmTenantPrefix,proto3" json:"idm_tenant_prefix,omitempty"` IdmSubmitter string `protobuf:"bytes,11,opt,name=idm_submitter,json=idmSubmitter,proto3" json:"idm_submitter,omitempty"` IdmJobInfo string `protobuf:"bytes,12,opt,name=idm_job_info,json=idmJobInfo,proto3" json:"idm_job_info,omitempty"` IdmReqSystem string `protobuf:"bytes,13,opt,name=idm_req_system,json=idmReqSystem,proto3" json:"idm_req_system,omitempty"` IdmReqUser string `protobuf:"bytes,14,opt,name=idm_req_user,json=idmReqUser,proto3" json:"idm_req_user,omitempty"` IdmReqEmail string `protobuf:"bytes,15,opt,name=idm_req_email,json=idmReqEmail,proto3" json:"idm_req_email,omitempty"` // contains filtered or unexported fields }
optional config if idm webhook is used to automatically create/delete groups/roles in the tenant idm
func (*ConnectorConfig) Descriptor
deprecated
func (*ConnectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use ConnectorConfig.ProtoReflect.Descriptor instead.
func (*ConnectorConfig) GetIdmAccessCode ¶
func (x *ConnectorConfig) GetIdmAccessCode() string
func (*ConnectorConfig) GetIdmApiPassword ¶
func (x *ConnectorConfig) GetIdmApiPassword() string
func (*ConnectorConfig) GetIdmApiUrl ¶
func (x *ConnectorConfig) GetIdmApiUrl() string
func (*ConnectorConfig) GetIdmApiUser ¶
func (x *ConnectorConfig) GetIdmApiUser() string
func (*ConnectorConfig) GetIdmCustomerId ¶
func (x *ConnectorConfig) GetIdmCustomerId() string
func (*ConnectorConfig) GetIdmDomainName ¶
func (x *ConnectorConfig) GetIdmDomainName() string
func (*ConnectorConfig) GetIdmGroupOu ¶
func (x *ConnectorConfig) GetIdmGroupOu() string
func (*ConnectorConfig) GetIdmGroupnameTemplate ¶
func (x *ConnectorConfig) GetIdmGroupnameTemplate() *wrapperspb.StringValue
func (*ConnectorConfig) GetIdmJobInfo ¶
func (x *ConnectorConfig) GetIdmJobInfo() string
func (*ConnectorConfig) GetIdmReqEmail ¶
func (x *ConnectorConfig) GetIdmReqEmail() string
func (*ConnectorConfig) GetIdmReqSystem ¶
func (x *ConnectorConfig) GetIdmReqSystem() string
func (*ConnectorConfig) GetIdmReqUser ¶
func (x *ConnectorConfig) GetIdmReqUser() string
func (*ConnectorConfig) GetIdmSubmitter ¶
func (x *ConnectorConfig) GetIdmSubmitter() string
func (*ConnectorConfig) GetIdmSystemId ¶
func (x *ConnectorConfig) GetIdmSystemId() string
func (*ConnectorConfig) GetIdmTenantPrefix ¶
func (x *ConnectorConfig) GetIdmTenantPrefix() string
func (*ConnectorConfig) ProtoMessage ¶
func (*ConnectorConfig) ProtoMessage()
func (*ConnectorConfig) ProtoReflect ¶ added in v0.7.2
func (x *ConnectorConfig) ProtoReflect() protoreflect.Message
func (*ConnectorConfig) Reset ¶
func (x *ConnectorConfig) Reset()
func (*ConnectorConfig) String ¶
func (x *ConnectorConfig) String() string
type IAMConfig ¶
type IAMConfig struct { IssuerConfig *IssuerConfig `protobuf:"bytes,1,opt,name=issuer_config,json=issuerConfig,proto3" json:"issuer_config,omitempty"` IdmConfig *IDMConfig `protobuf:"bytes,2,opt,name=idm_config,json=idmConfig,proto3" json:"idm_config,omitempty"` GroupConfig *NamespaceGroupConfig `protobuf:"bytes,3,opt,name=group_config,json=groupConfig,proto3" json:"group_config,omitempty"` // contains filtered or unexported fields }
func (*IAMConfig) Descriptor
deprecated
func (*IAMConfig) GetGroupConfig ¶
func (x *IAMConfig) GetGroupConfig() *NamespaceGroupConfig
func (*IAMConfig) GetIdmConfig ¶
func (*IAMConfig) GetIssuerConfig ¶
func (x *IAMConfig) GetIssuerConfig() *IssuerConfig
func (*IAMConfig) ProtoMessage ¶
func (*IAMConfig) ProtoMessage()
func (*IAMConfig) ProtoReflect ¶ added in v0.7.2
func (x *IAMConfig) ProtoReflect() protoreflect.Message
type IDMConfig ¶
type IDMConfig struct { IdmType string `protobuf:"bytes,1,opt,name=idm_type,json=idmType,proto3" json:"idm_type,omitempty"` // optional ConnectorConfig *ConnectorConfig `protobuf:"bytes,2,opt,name=connector_config,json=connectorConfig,proto3" json:"connector_config,omitempty"` // contains filtered or unexported fields }
mandatory config
func (*IDMConfig) Descriptor
deprecated
func (*IDMConfig) GetConnectorConfig ¶
func (x *IDMConfig) GetConnectorConfig() *ConnectorConfig
func (*IDMConfig) GetIdmType ¶
func (*IDMConfig) ProtoMessage ¶
func (*IDMConfig) ProtoMessage()
func (*IDMConfig) ProtoReflect ¶ added in v0.7.2
func (x *IDMConfig) ProtoReflect() protoreflect.Message
type IssuerConfig ¶
type IssuerConfig struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` // contains filtered or unexported fields }
func (*IssuerConfig) Descriptor
deprecated
func (*IssuerConfig) Descriptor() ([]byte, []int)
Deprecated: Use IssuerConfig.ProtoReflect.Descriptor instead.
func (*IssuerConfig) GetClientId ¶
func (x *IssuerConfig) GetClientId() string
func (*IssuerConfig) GetUrl ¶
func (x *IssuerConfig) GetUrl() string
func (*IssuerConfig) ProtoMessage ¶
func (*IssuerConfig) ProtoMessage()
func (*IssuerConfig) ProtoReflect ¶ added in v0.7.2
func (x *IssuerConfig) ProtoReflect() protoreflect.Message
func (*IssuerConfig) Reset ¶
func (x *IssuerConfig) Reset()
func (*IssuerConfig) String ¶
func (x *IssuerConfig) String() string
type Meta ¶
type Meta struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"` Apiversion string `protobuf:"bytes,3,opt,name=apiversion,proto3" json:"apiversion,omitempty"` Version int64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"` CreatedTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"` Annotations map[string]string `` /* 163-byte string literal not displayed */ Labels []string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty"` // contains filtered or unexported fields }
func (*Meta) Descriptor
deprecated
func (*Meta) GetAnnotations ¶ added in v0.5.0
func (*Meta) GetApiversion ¶
func (*Meta) GetCreatedTime ¶
func (x *Meta) GetCreatedTime() *timestamppb.Timestamp
func (*Meta) GetUpdatedTime ¶
func (x *Meta) GetUpdatedTime() *timestamppb.Timestamp
func (*Meta) GetVersion ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) ProtoReflect ¶ added in v0.7.2
func (x *Meta) ProtoReflect() protoreflect.Message
func (*Meta) SetAnnotations ¶ added in v0.5.0
func (*Meta) SetCreatedTime ¶
func (m *Meta) SetCreatedTime(time *timestamppb.Timestamp)
func (*Meta) SetUpdatedTime ¶
func (m *Meta) SetUpdatedTime(time *timestamppb.Timestamp)
func (*Meta) SetVersion ¶
type NamespaceGroupConfig ¶
type NamespaceGroupConfig struct { // no action is taken or any namespace in this list ExcludedNamespaces string `protobuf:"bytes,1,opt,name=excluded_namespaces,json=excludedNamespaces,proto3" json:"excluded_namespaces,omitempty"` // for each element a RoleBinding is created in any Namespace - ClusterRoles are bound with this name // admin,edit,view ExpectedGroupsList string `protobuf:"bytes,2,opt,name=expected_groups_list,json=expectedGroupsList,proto3" json:"expected_groups_list,omitempty"` // Maximum length of namespace-part in clusterGroupname and therefore in the corresponding groupname in the directory. // 20 chars für AD, given the naming-conventions NamespaceMaxLength int32 `protobuf:"varint,3,opt,name=namespace_max_length,json=namespaceMaxLength,proto3" json:"namespace_max_length,omitempty"` // The created RoleBindings will reference this group (from token). // oidc:{{ .Namespace }}-{{ .Group }} ClusterGroupnameTemplate string `` /* 135-byte string literal not displayed */ // The RoleBindings will created with this name. // oidc-{{ .Namespace }}-{{ .Group }} RolebindingNameTemplate string `` /* 132-byte string literal not displayed */ // contains filtered or unexported fields }
Config for group-rolebinding-controller
func (*NamespaceGroupConfig) Descriptor
deprecated
func (*NamespaceGroupConfig) Descriptor() ([]byte, []int)
Deprecated: Use NamespaceGroupConfig.ProtoReflect.Descriptor instead.
func (*NamespaceGroupConfig) GetClusterGroupnameTemplate ¶
func (x *NamespaceGroupConfig) GetClusterGroupnameTemplate() string
func (*NamespaceGroupConfig) GetExcludedNamespaces ¶
func (x *NamespaceGroupConfig) GetExcludedNamespaces() string
func (*NamespaceGroupConfig) GetExpectedGroupsList ¶
func (x *NamespaceGroupConfig) GetExpectedGroupsList() string
func (*NamespaceGroupConfig) GetNamespaceMaxLength ¶
func (x *NamespaceGroupConfig) GetNamespaceMaxLength() int32
func (*NamespaceGroupConfig) GetRolebindingNameTemplate ¶
func (x *NamespaceGroupConfig) GetRolebindingNameTemplate() string
func (*NamespaceGroupConfig) ProtoMessage ¶
func (*NamespaceGroupConfig) ProtoMessage()
func (*NamespaceGroupConfig) ProtoReflect ¶ added in v0.7.2
func (x *NamespaceGroupConfig) ProtoReflect() protoreflect.Message
func (*NamespaceGroupConfig) Reset ¶
func (x *NamespaceGroupConfig) Reset()
func (*NamespaceGroupConfig) String ¶
func (x *NamespaceGroupConfig) String() string
type Project ¶
type Project struct { Meta *Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` TenantId string `protobuf:"bytes,4,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` Quotas *QuotaSet `protobuf:"bytes,5,opt,name=quotas,proto3" json:"quotas,omitempty"` // contains filtered or unexported fields }
Project is the database model
func (*Project) APIVersion ¶ added in v0.6.1
func (*Project) Descriptor
deprecated
func (*Project) GetDescription ¶
func (*Project) GetTenantId ¶
func (*Project) NewProjectResponse ¶
func (m *Project) NewProjectResponse() *ProjectResponse
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶ added in v0.7.2
func (x *Project) ProtoReflect() protoreflect.Message
type ProjectCreateRequest ¶
type ProjectCreateRequest struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ProjectCreateRequest) Descriptor
deprecated
func (*ProjectCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectCreateRequest.ProtoReflect.Descriptor instead.
func (*ProjectCreateRequest) GetProject ¶
func (x *ProjectCreateRequest) GetProject() *Project
func (*ProjectCreateRequest) ProtoMessage ¶
func (*ProjectCreateRequest) ProtoMessage()
func (*ProjectCreateRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectCreateRequest) ProtoReflect() protoreflect.Message
func (*ProjectCreateRequest) Reset ¶
func (x *ProjectCreateRequest) Reset()
func (*ProjectCreateRequest) String ¶
func (x *ProjectCreateRequest) String() string
type ProjectDeleteRequest ¶
type ProjectDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ProjectDeleteRequest) Descriptor
deprecated
func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectDeleteRequest.ProtoReflect.Descriptor instead.
func (*ProjectDeleteRequest) GetId ¶
func (x *ProjectDeleteRequest) GetId() string
func (*ProjectDeleteRequest) NewProject ¶
func (m *ProjectDeleteRequest) NewProject() *Project
func (*ProjectDeleteRequest) ProtoMessage ¶
func (*ProjectDeleteRequest) ProtoMessage()
func (*ProjectDeleteRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectDeleteRequest) ProtoReflect() protoreflect.Message
func (*ProjectDeleteRequest) Reset ¶
func (x *ProjectDeleteRequest) Reset()
func (*ProjectDeleteRequest) String ¶
func (x *ProjectDeleteRequest) String() string
type ProjectFindRequest ¶
type ProjectFindRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` TenantId *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` // contains filtered or unexported fields }
func (*ProjectFindRequest) Descriptor
deprecated
func (*ProjectFindRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectFindRequest.ProtoReflect.Descriptor instead.
func (*ProjectFindRequest) GetDescription ¶
func (x *ProjectFindRequest) GetDescription() *wrapperspb.StringValue
func (*ProjectFindRequest) GetId ¶
func (x *ProjectFindRequest) GetId() *wrapperspb.StringValue
func (*ProjectFindRequest) GetName ¶
func (x *ProjectFindRequest) GetName() *wrapperspb.StringValue
func (*ProjectFindRequest) GetTenantId ¶
func (x *ProjectFindRequest) GetTenantId() *wrapperspb.StringValue
func (*ProjectFindRequest) ProtoMessage ¶
func (*ProjectFindRequest) ProtoMessage()
func (*ProjectFindRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectFindRequest) ProtoReflect() protoreflect.Message
func (*ProjectFindRequest) Reset ¶
func (x *ProjectFindRequest) Reset()
func (*ProjectFindRequest) String ¶
func (x *ProjectFindRequest) String() string
type ProjectGetHistoryRequest ¶ added in v0.7.0
type ProjectGetHistoryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` At *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"` // contains filtered or unexported fields }
func (*ProjectGetHistoryRequest) Descriptor
deprecated
added in
v0.7.0
func (*ProjectGetHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectGetHistoryRequest.ProtoReflect.Descriptor instead.
func (*ProjectGetHistoryRequest) GetAt ¶ added in v0.7.0
func (x *ProjectGetHistoryRequest) GetAt() *timestamppb.Timestamp
func (*ProjectGetHistoryRequest) GetId ¶ added in v0.7.0
func (x *ProjectGetHistoryRequest) GetId() string
func (*ProjectGetHistoryRequest) ProtoMessage ¶ added in v0.7.0
func (*ProjectGetHistoryRequest) ProtoMessage()
func (*ProjectGetHistoryRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectGetHistoryRequest) ProtoReflect() protoreflect.Message
func (*ProjectGetHistoryRequest) Reset ¶ added in v0.7.0
func (x *ProjectGetHistoryRequest) Reset()
func (*ProjectGetHistoryRequest) String ¶ added in v0.7.0
func (x *ProjectGetHistoryRequest) String() string
type ProjectGetRequest ¶
type ProjectGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ProjectGetRequest) Descriptor
deprecated
func (*ProjectGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectGetRequest.ProtoReflect.Descriptor instead.
func (*ProjectGetRequest) GetId ¶
func (x *ProjectGetRequest) GetId() string
func (*ProjectGetRequest) ProtoMessage ¶
func (*ProjectGetRequest) ProtoMessage()
func (*ProjectGetRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectGetRequest) ProtoReflect() protoreflect.Message
func (*ProjectGetRequest) Reset ¶
func (x *ProjectGetRequest) Reset()
func (*ProjectGetRequest) String ¶
func (x *ProjectGetRequest) String() string
type ProjectListResponse ¶
type ProjectListResponse struct { Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` // contains filtered or unexported fields }
func (*ProjectListResponse) Descriptor
deprecated
func (*ProjectListResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectListResponse.ProtoReflect.Descriptor instead.
func (*ProjectListResponse) GetProjects ¶
func (x *ProjectListResponse) GetProjects() []*Project
func (*ProjectListResponse) ProtoMessage ¶
func (*ProjectListResponse) ProtoMessage()
func (*ProjectListResponse) ProtoReflect ¶ added in v0.7.2
func (x *ProjectListResponse) ProtoReflect() protoreflect.Message
func (*ProjectListResponse) Reset ¶
func (x *ProjectListResponse) Reset()
func (*ProjectListResponse) String ¶
func (x *ProjectListResponse) String() string
type ProjectResponse ¶
type ProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ProjectResponse) Descriptor
deprecated
func (*ProjectResponse) Descriptor() ([]byte, []int)
Deprecated: Use ProjectResponse.ProtoReflect.Descriptor instead.
func (*ProjectResponse) GetProject ¶
func (x *ProjectResponse) GetProject() *Project
func (*ProjectResponse) ProtoMessage ¶
func (*ProjectResponse) ProtoMessage()
func (*ProjectResponse) ProtoReflect ¶ added in v0.7.2
func (x *ProjectResponse) ProtoReflect() protoreflect.Message
func (*ProjectResponse) Reset ¶
func (x *ProjectResponse) Reset()
func (*ProjectResponse) String ¶
func (x *ProjectResponse) String() string
type ProjectServiceClient ¶
type ProjectServiceClient interface { Create(ctx context.Context, in *ProjectCreateRequest, opts ...grpc.CallOption) (*ProjectResponse, error) Update(ctx context.Context, in *ProjectUpdateRequest, opts ...grpc.CallOption) (*ProjectResponse, error) Delete(ctx context.Context, in *ProjectDeleteRequest, opts ...grpc.CallOption) (*ProjectResponse, error) Get(ctx context.Context, in *ProjectGetRequest, opts ...grpc.CallOption) (*ProjectResponse, error) GetHistory(ctx context.Context, in *ProjectGetHistoryRequest, opts ...grpc.CallOption) (*ProjectResponse, error) Find(ctx context.Context, in *ProjectFindRequest, opts ...grpc.CallOption) (*ProjectListResponse, error) }
ProjectServiceClient is the client API for ProjectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewProjectServiceClient ¶
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶
type ProjectServiceServer interface { Create(context.Context, *ProjectCreateRequest) (*ProjectResponse, error) Update(context.Context, *ProjectUpdateRequest) (*ProjectResponse, error) Delete(context.Context, *ProjectDeleteRequest) (*ProjectResponse, error) Get(context.Context, *ProjectGetRequest) (*ProjectResponse, error) GetHistory(context.Context, *ProjectGetHistoryRequest) (*ProjectResponse, error) Find(context.Context, *ProjectFindRequest) (*ProjectListResponse, error) }
ProjectServiceServer is the server API for ProjectService service.
type ProjectUpdateRequest ¶
type ProjectUpdateRequest struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
func (*ProjectUpdateRequest) Descriptor
deprecated
func (*ProjectUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProjectUpdateRequest.ProtoReflect.Descriptor instead.
func (*ProjectUpdateRequest) GetProject ¶ added in v0.6.0
func (x *ProjectUpdateRequest) GetProject() *Project
func (*ProjectUpdateRequest) ProtoMessage ¶
func (*ProjectUpdateRequest) ProtoMessage()
func (*ProjectUpdateRequest) ProtoReflect ¶ added in v0.7.2
func (x *ProjectUpdateRequest) ProtoReflect() protoreflect.Message
func (*ProjectUpdateRequest) Reset ¶
func (x *ProjectUpdateRequest) Reset()
func (*ProjectUpdateRequest) String ¶
func (x *ProjectUpdateRequest) String() string
type Quota ¶
type Quota struct { // quota is the maximum amount for the current QuotaSet, can be nil Quota *wrapperspb.Int32Value `protobuf:"bytes,1,opt,name=quota,proto3" json:"quota,omitempty"` // contains filtered or unexported fields }
Quota is the actual maximum amount
func (*Quota) Descriptor
deprecated
func (*Quota) GetQuota ¶
func (x *Quota) GetQuota() *wrapperspb.Int32Value
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) ProtoReflect ¶ added in v0.7.2
func (x *Quota) ProtoReflect() protoreflect.Message
type QuotaSet ¶
type QuotaSet struct { // cluster the amount of clusters Cluster *Quota `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"` // machine the amount of machines Machine *Quota `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"` // ip the amount of aquired ip´s Ip *Quota `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"` // project the amount of projects of a tenant Project *Quota `protobuf:"bytes,4,opt,name=project,proto3" json:"project,omitempty"` // contains filtered or unexported fields }
QuotaSet defines the types of possible Quotas might be specified by project or tenant whatever quota is reached first counts it always defines the max amount of this type
func (*QuotaSet) Descriptor
deprecated
func (*QuotaSet) GetCluster ¶
func (*QuotaSet) GetMachine ¶
func (*QuotaSet) GetProject ¶
func (*QuotaSet) ProtoMessage ¶
func (*QuotaSet) ProtoMessage()
func (*QuotaSet) ProtoReflect ¶ added in v0.7.2
func (x *QuotaSet) ProtoReflect() protoreflect.Message
type Tenant ¶
type Tenant struct { Meta *Meta `protobuf:"bytes,1,opt,name=meta,proto3" json:"meta,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` DefaultQuotas *QuotaSet `protobuf:"bytes,4,opt,name=default_quotas,json=defaultQuotas,proto3" json:"default_quotas,omitempty"` Quotas *QuotaSet `protobuf:"bytes,5,opt,name=quotas,proto3" json:"quotas,omitempty"` IamConfig *IAMConfig `protobuf:"bytes,6,opt,name=iam_config,json=iamConfig,proto3" json:"iam_config,omitempty"` // contains filtered or unexported fields }
func (*Tenant) APIVersion ¶ added in v0.6.1
func (*Tenant) Descriptor
deprecated
func (*Tenant) GetDefaultQuotas ¶
func (*Tenant) GetDescription ¶
func (*Tenant) GetIamConfig ¶
func (*Tenant) NewTenantResponse ¶
func (m *Tenant) NewTenantResponse() *TenantResponse
func (*Tenant) ProtoMessage ¶
func (*Tenant) ProtoMessage()
func (*Tenant) ProtoReflect ¶ added in v0.7.2
func (x *Tenant) ProtoReflect() protoreflect.Message
type TenantCreateRequest ¶
type TenantCreateRequest struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*TenantCreateRequest) Descriptor
deprecated
func (*TenantCreateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantCreateRequest.ProtoReflect.Descriptor instead.
func (*TenantCreateRequest) GetTenant ¶
func (x *TenantCreateRequest) GetTenant() *Tenant
func (*TenantCreateRequest) ProtoMessage ¶
func (*TenantCreateRequest) ProtoMessage()
func (*TenantCreateRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantCreateRequest) ProtoReflect() protoreflect.Message
func (*TenantCreateRequest) Reset ¶
func (x *TenantCreateRequest) Reset()
func (*TenantCreateRequest) String ¶
func (x *TenantCreateRequest) String() string
type TenantDeleteRequest ¶
type TenantDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TenantDeleteRequest) Descriptor
deprecated
func (*TenantDeleteRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantDeleteRequest.ProtoReflect.Descriptor instead.
func (*TenantDeleteRequest) GetId ¶
func (x *TenantDeleteRequest) GetId() string
func (*TenantDeleteRequest) NewTenant ¶
func (m *TenantDeleteRequest) NewTenant() *Tenant
func (*TenantDeleteRequest) ProtoMessage ¶
func (*TenantDeleteRequest) ProtoMessage()
func (*TenantDeleteRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantDeleteRequest) ProtoReflect() protoreflect.Message
func (*TenantDeleteRequest) Reset ¶
func (x *TenantDeleteRequest) Reset()
func (*TenantDeleteRequest) String ¶
func (x *TenantDeleteRequest) String() string
type TenantFindRequest ¶
type TenantFindRequest struct { Id *wrapperspb.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*TenantFindRequest) Descriptor
deprecated
func (*TenantFindRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantFindRequest.ProtoReflect.Descriptor instead.
func (*TenantFindRequest) GetId ¶
func (x *TenantFindRequest) GetId() *wrapperspb.StringValue
func (*TenantFindRequest) GetName ¶
func (x *TenantFindRequest) GetName() *wrapperspb.StringValue
func (*TenantFindRequest) ProtoMessage ¶
func (*TenantFindRequest) ProtoMessage()
func (*TenantFindRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantFindRequest) ProtoReflect() protoreflect.Message
func (*TenantFindRequest) Reset ¶
func (x *TenantFindRequest) Reset()
func (*TenantFindRequest) String ¶
func (x *TenantFindRequest) String() string
type TenantGetHistoryRequest ¶ added in v0.7.0
type TenantGetHistoryRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` At *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"` // contains filtered or unexported fields }
func (*TenantGetHistoryRequest) Descriptor
deprecated
added in
v0.7.0
func (*TenantGetHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantGetHistoryRequest.ProtoReflect.Descriptor instead.
func (*TenantGetHistoryRequest) GetAt ¶ added in v0.7.0
func (x *TenantGetHistoryRequest) GetAt() *timestamppb.Timestamp
func (*TenantGetHistoryRequest) GetId ¶ added in v0.7.0
func (x *TenantGetHistoryRequest) GetId() string
func (*TenantGetHistoryRequest) ProtoMessage ¶ added in v0.7.0
func (*TenantGetHistoryRequest) ProtoMessage()
func (*TenantGetHistoryRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantGetHistoryRequest) ProtoReflect() protoreflect.Message
func (*TenantGetHistoryRequest) Reset ¶ added in v0.7.0
func (x *TenantGetHistoryRequest) Reset()
func (*TenantGetHistoryRequest) String ¶ added in v0.7.0
func (x *TenantGetHistoryRequest) String() string
type TenantGetRequest ¶
type TenantGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*TenantGetRequest) Descriptor
deprecated
func (*TenantGetRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantGetRequest.ProtoReflect.Descriptor instead.
func (*TenantGetRequest) GetId ¶
func (x *TenantGetRequest) GetId() string
func (*TenantGetRequest) ProtoMessage ¶
func (*TenantGetRequest) ProtoMessage()
func (*TenantGetRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantGetRequest) ProtoReflect() protoreflect.Message
func (*TenantGetRequest) Reset ¶
func (x *TenantGetRequest) Reset()
func (*TenantGetRequest) String ¶
func (x *TenantGetRequest) String() string
type TenantListResponse ¶
type TenantListResponse struct { Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // contains filtered or unexported fields }
func (*TenantListResponse) Descriptor
deprecated
func (*TenantListResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantListResponse.ProtoReflect.Descriptor instead.
func (*TenantListResponse) GetTenants ¶
func (x *TenantListResponse) GetTenants() []*Tenant
func (*TenantListResponse) ProtoMessage ¶
func (*TenantListResponse) ProtoMessage()
func (*TenantListResponse) ProtoReflect ¶ added in v0.7.2
func (x *TenantListResponse) ProtoReflect() protoreflect.Message
func (*TenantListResponse) Reset ¶
func (x *TenantListResponse) Reset()
func (*TenantListResponse) String ¶
func (x *TenantListResponse) String() string
type TenantResponse ¶
type TenantResponse struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*TenantResponse) Descriptor
deprecated
func (*TenantResponse) Descriptor() ([]byte, []int)
Deprecated: Use TenantResponse.ProtoReflect.Descriptor instead.
func (*TenantResponse) GetTenant ¶
func (x *TenantResponse) GetTenant() *Tenant
func (*TenantResponse) ProtoMessage ¶
func (*TenantResponse) ProtoMessage()
func (*TenantResponse) ProtoReflect ¶ added in v0.7.2
func (x *TenantResponse) ProtoReflect() protoreflect.Message
func (*TenantResponse) Reset ¶
func (x *TenantResponse) Reset()
func (*TenantResponse) String ¶
func (x *TenantResponse) String() string
type TenantServiceClient ¶
type TenantServiceClient interface { Create(ctx context.Context, in *TenantCreateRequest, opts ...grpc.CallOption) (*TenantResponse, error) Update(ctx context.Context, in *TenantUpdateRequest, opts ...grpc.CallOption) (*TenantResponse, error) Delete(ctx context.Context, in *TenantDeleteRequest, opts ...grpc.CallOption) (*TenantResponse, error) Get(ctx context.Context, in *TenantGetRequest, opts ...grpc.CallOption) (*TenantResponse, error) GetHistory(ctx context.Context, in *TenantGetHistoryRequest, opts ...grpc.CallOption) (*TenantResponse, error) Find(ctx context.Context, in *TenantFindRequest, opts ...grpc.CallOption) (*TenantListResponse, error) }
TenantServiceClient is the client API for TenantService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTenantServiceClient ¶
func NewTenantServiceClient(cc grpc.ClientConnInterface) TenantServiceClient
type TenantServiceServer ¶
type TenantServiceServer interface { Create(context.Context, *TenantCreateRequest) (*TenantResponse, error) Update(context.Context, *TenantUpdateRequest) (*TenantResponse, error) Delete(context.Context, *TenantDeleteRequest) (*TenantResponse, error) Get(context.Context, *TenantGetRequest) (*TenantResponse, error) GetHistory(context.Context, *TenantGetHistoryRequest) (*TenantResponse, error) Find(context.Context, *TenantFindRequest) (*TenantListResponse, error) }
TenantServiceServer is the server API for TenantService service.
type TenantUpdateRequest ¶
type TenantUpdateRequest struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` // contains filtered or unexported fields }
func (*TenantUpdateRequest) Descriptor
deprecated
func (*TenantUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use TenantUpdateRequest.ProtoReflect.Descriptor instead.
func (*TenantUpdateRequest) GetTenant ¶
func (x *TenantUpdateRequest) GetTenant() *Tenant
func (*TenantUpdateRequest) ProtoMessage ¶
func (*TenantUpdateRequest) ProtoMessage()
func (*TenantUpdateRequest) ProtoReflect ¶ added in v0.7.2
func (x *TenantUpdateRequest) ProtoReflect() protoreflect.Message
func (*TenantUpdateRequest) Reset ¶
func (x *TenantUpdateRequest) Reset()
func (*TenantUpdateRequest) String ¶
func (x *TenantUpdateRequest) String() string
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProjectServiceServer) Create ¶
func (*UnimplementedProjectServiceServer) Create(context.Context, *ProjectCreateRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Delete ¶
func (*UnimplementedProjectServiceServer) Delete(context.Context, *ProjectDeleteRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Find ¶
func (*UnimplementedProjectServiceServer) Find(context.Context, *ProjectFindRequest) (*ProjectListResponse, error)
func (*UnimplementedProjectServiceServer) Get ¶
func (*UnimplementedProjectServiceServer) Get(context.Context, *ProjectGetRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) GetHistory ¶ added in v0.7.0
func (*UnimplementedProjectServiceServer) GetHistory(context.Context, *ProjectGetHistoryRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Update ¶
func (*UnimplementedProjectServiceServer) Update(context.Context, *ProjectUpdateRequest) (*ProjectResponse, error)
type UnimplementedTenantServiceServer ¶
type UnimplementedTenantServiceServer struct { }
UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTenantServiceServer) Create ¶
func (*UnimplementedTenantServiceServer) Create(context.Context, *TenantCreateRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Delete ¶
func (*UnimplementedTenantServiceServer) Delete(context.Context, *TenantDeleteRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Find ¶
func (*UnimplementedTenantServiceServer) Find(context.Context, *TenantFindRequest) (*TenantListResponse, error)
func (*UnimplementedTenantServiceServer) Get ¶
func (*UnimplementedTenantServiceServer) Get(context.Context, *TenantGetRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) GetHistory ¶ added in v0.7.0
func (*UnimplementedTenantServiceServer) GetHistory(context.Context, *TenantGetHistoryRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Update ¶
func (*UnimplementedTenantServiceServer) Update(context.Context, *TenantUpdateRequest) (*TenantResponse, error)