Documentation
¶
Index ¶
- 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)
- func (m *ConnectorConfig) GetIdmAccessCode() string
- func (m *ConnectorConfig) GetIdmApiPassword() string
- func (m *ConnectorConfig) GetIdmApiUrl() string
- func (m *ConnectorConfig) GetIdmApiUser() string
- func (m *ConnectorConfig) GetIdmCustomerId() string
- func (m *ConnectorConfig) GetIdmDomainName() string
- func (m *ConnectorConfig) GetIdmGroupOu() string
- func (m *ConnectorConfig) GetIdmGroupnameTemplate() *wrappers.StringValue
- func (m *ConnectorConfig) GetIdmJobInfo() string
- func (m *ConnectorConfig) GetIdmReqEmail() string
- func (m *ConnectorConfig) GetIdmReqSystem() string
- func (m *ConnectorConfig) GetIdmReqUser() string
- func (m *ConnectorConfig) GetIdmSubmitter() string
- func (m *ConnectorConfig) GetIdmSystemId() string
- func (m *ConnectorConfig) GetIdmTenantPrefix() string
- func (*ConnectorConfig) ProtoMessage()
- func (m *ConnectorConfig) Reset()
- func (m *ConnectorConfig) String() string
- func (m *ConnectorConfig) XXX_DiscardUnknown()
- func (m *ConnectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConnectorConfig) XXX_Merge(src proto.Message)
- func (m *ConnectorConfig) XXX_Size() int
- func (m *ConnectorConfig) XXX_Unmarshal(b []byte) error
- type IAMConfig
- func (*IAMConfig) Descriptor() ([]byte, []int)
- func (m *IAMConfig) GetGroupConfig() *NamespaceGroupConfig
- func (m *IAMConfig) GetIdmConfig() *IDMConfig
- func (m *IAMConfig) GetIssuerConfig() *IssuerConfig
- func (*IAMConfig) ProtoMessage()
- func (m *IAMConfig) Reset()
- func (m *IAMConfig) String() string
- func (m *IAMConfig) XXX_DiscardUnknown()
- func (m *IAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IAMConfig) XXX_Merge(src proto.Message)
- func (m *IAMConfig) XXX_Size() int
- func (m *IAMConfig) XXX_Unmarshal(b []byte) error
- type IDMConfig
- func (*IDMConfig) Descriptor() ([]byte, []int)
- func (m *IDMConfig) GetConnectorConfig() *ConnectorConfig
- func (m *IDMConfig) GetIdmType() string
- func (*IDMConfig) ProtoMessage()
- func (m *IDMConfig) Reset()
- func (m *IDMConfig) String() string
- func (m *IDMConfig) XXX_DiscardUnknown()
- func (m *IDMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IDMConfig) XXX_Merge(src proto.Message)
- func (m *IDMConfig) XXX_Size() int
- func (m *IDMConfig) XXX_Unmarshal(b []byte) error
- type IssuerConfig
- func (*IssuerConfig) Descriptor() ([]byte, []int)
- func (m *IssuerConfig) GetClientId() string
- func (m *IssuerConfig) GetUrl() string
- func (*IssuerConfig) ProtoMessage()
- func (m *IssuerConfig) Reset()
- func (m *IssuerConfig) String() string
- func (m *IssuerConfig) XXX_DiscardUnknown()
- func (m *IssuerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IssuerConfig) XXX_Merge(src proto.Message)
- func (m *IssuerConfig) XXX_Size() int
- func (m *IssuerConfig) XXX_Unmarshal(b []byte) error
- type Meta
- func (*Meta) Descriptor() ([]byte, []int)
- func (m *Meta) GetAnnotations() map[string]string
- func (m *Meta) GetApiversion() string
- func (m *Meta) GetCreatedTime() *timestamp.Timestamp
- func (m *Meta) GetId() string
- func (m *Meta) GetKind() string
- func (m *Meta) GetLabels() []string
- func (m *Meta) GetUpdatedTime() *timestamp.Timestamp
- func (m *Meta) GetVersion() int64
- func (*Meta) ProtoMessage()
- func (m *Meta) Reset()
- func (m *Meta) SetAnnotations(annotations map[string]string)
- func (m *Meta) SetCreatedTime(time *timestamp.Timestamp)
- func (m *Meta) SetId(id string)
- func (m *Meta) SetLabels(labels []string)
- func (m *Meta) SetUpdatedTime(time *timestamp.Timestamp)
- func (m *Meta) SetVersion(version int64)
- func (m *Meta) String() string
- func (m *Meta) XXX_DiscardUnknown()
- func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Meta) XXX_Merge(src proto.Message)
- func (m *Meta) XXX_Size() int
- func (m *Meta) XXX_Unmarshal(b []byte) error
- type NamespaceGroupConfig
- func (*NamespaceGroupConfig) Descriptor() ([]byte, []int)
- func (m *NamespaceGroupConfig) GetClusterGroupnameTemplate() string
- func (m *NamespaceGroupConfig) GetExcludedNamespaces() string
- func (m *NamespaceGroupConfig) GetExpectedGroupsList() string
- func (m *NamespaceGroupConfig) GetNamespaceMaxLength() int32
- func (m *NamespaceGroupConfig) GetRolebindingNameTemplate() string
- func (*NamespaceGroupConfig) ProtoMessage()
- func (m *NamespaceGroupConfig) Reset()
- func (m *NamespaceGroupConfig) String() string
- func (m *NamespaceGroupConfig) XXX_DiscardUnknown()
- func (m *NamespaceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NamespaceGroupConfig) XXX_Merge(src proto.Message)
- func (m *NamespaceGroupConfig) XXX_Size() int
- func (m *NamespaceGroupConfig) XXX_Unmarshal(b []byte) error
- type Project
- func (*Project) Descriptor() ([]byte, []int)
- func (m *Project) GetDescription() string
- func (m *Project) GetMeta() *Meta
- func (m *Project) GetName() string
- func (m *Project) GetQuotas() *QuotaSet
- func (m *Project) GetTenantId() string
- func (m Project) JSONField() string
- func (m *Project) NewProjectResponse() *ProjectResponse
- func (*Project) ProtoMessage()
- func (m *Project) Reset()
- func (m *Project) Scan(value interface{}) error
- func (m Project) Schema() string
- func (m *Project) String() string
- func (m Project) TableName() string
- func (m Project) Value() (driver.Value, error)
- func (m *Project) XXX_DiscardUnknown()
- func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Project) XXX_Merge(src proto.Message)
- func (m *Project) XXX_Size() int
- func (m *Project) XXX_Unmarshal(b []byte) error
- type ProjectCreateRequest
- func (*ProjectCreateRequest) Descriptor() ([]byte, []int)
- func (m *ProjectCreateRequest) GetProject() *Project
- func (*ProjectCreateRequest) ProtoMessage()
- func (m *ProjectCreateRequest) Reset()
- func (m *ProjectCreateRequest) String() string
- func (m *ProjectCreateRequest) XXX_DiscardUnknown()
- func (m *ProjectCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectCreateRequest) XXX_Merge(src proto.Message)
- func (m *ProjectCreateRequest) XXX_Size() int
- func (m *ProjectCreateRequest) XXX_Unmarshal(b []byte) error
- type ProjectDeleteRequest
- func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)
- func (m *ProjectDeleteRequest) GetId() string
- func (m *ProjectDeleteRequest) NewProject() *Project
- func (*ProjectDeleteRequest) ProtoMessage()
- func (m *ProjectDeleteRequest) Reset()
- func (m *ProjectDeleteRequest) String() string
- func (m *ProjectDeleteRequest) XXX_DiscardUnknown()
- func (m *ProjectDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectDeleteRequest) XXX_Merge(src proto.Message)
- func (m *ProjectDeleteRequest) XXX_Size() int
- func (m *ProjectDeleteRequest) XXX_Unmarshal(b []byte) error
- type ProjectFindRequest
- func (*ProjectFindRequest) Descriptor() ([]byte, []int)
- func (m *ProjectFindRequest) GetDescription() *wrappers.StringValue
- func (m *ProjectFindRequest) GetId() *wrappers.StringValue
- func (m *ProjectFindRequest) GetName() *wrappers.StringValue
- func (m *ProjectFindRequest) GetTenantId() *wrappers.StringValue
- func (*ProjectFindRequest) ProtoMessage()
- func (m *ProjectFindRequest) Reset()
- func (m *ProjectFindRequest) String() string
- func (m *ProjectFindRequest) XXX_DiscardUnknown()
- func (m *ProjectFindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectFindRequest) XXX_Merge(src proto.Message)
- func (m *ProjectFindRequest) XXX_Size() int
- func (m *ProjectFindRequest) XXX_Unmarshal(b []byte) error
- type ProjectGetRequest
- func (*ProjectGetRequest) Descriptor() ([]byte, []int)
- func (m *ProjectGetRequest) GetId() string
- func (*ProjectGetRequest) ProtoMessage()
- func (m *ProjectGetRequest) Reset()
- func (m *ProjectGetRequest) String() string
- func (m *ProjectGetRequest) XXX_DiscardUnknown()
- func (m *ProjectGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectGetRequest) XXX_Merge(src proto.Message)
- func (m *ProjectGetRequest) XXX_Size() int
- func (m *ProjectGetRequest) XXX_Unmarshal(b []byte) error
- type ProjectListResponse
- func (*ProjectListResponse) Descriptor() ([]byte, []int)
- func (m *ProjectListResponse) GetProjects() []*Project
- func (*ProjectListResponse) ProtoMessage()
- func (m *ProjectListResponse) Reset()
- func (m *ProjectListResponse) String() string
- func (m *ProjectListResponse) XXX_DiscardUnknown()
- func (m *ProjectListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectListResponse) XXX_Merge(src proto.Message)
- func (m *ProjectListResponse) XXX_Size() int
- func (m *ProjectListResponse) XXX_Unmarshal(b []byte) error
- type ProjectResponse
- func (*ProjectResponse) Descriptor() ([]byte, []int)
- func (m *ProjectResponse) GetProject() *Project
- func (*ProjectResponse) ProtoMessage()
- func (m *ProjectResponse) Reset()
- func (m *ProjectResponse) String() string
- func (m *ProjectResponse) XXX_DiscardUnknown()
- func (m *ProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectResponse) XXX_Merge(src proto.Message)
- func (m *ProjectResponse) XXX_Size() int
- func (m *ProjectResponse) XXX_Unmarshal(b []byte) error
- type ProjectServiceClient
- type ProjectServiceServer
- type ProjectUpdateRequest
- func (*ProjectUpdateRequest) Descriptor() ([]byte, []int)
- func (m *ProjectUpdateRequest) GetDescription() *wrappers.StringValue
- func (m *ProjectUpdateRequest) GetId() string
- func (m *ProjectUpdateRequest) GetName() *wrappers.StringValue
- func (m *ProjectUpdateRequest) GetQuotas() *QuotaSet
- func (m *ProjectUpdateRequest) NewProject() *Project
- func (*ProjectUpdateRequest) ProtoMessage()
- func (m *ProjectUpdateRequest) Reset()
- func (m *ProjectUpdateRequest) String() string
- func (m *ProjectUpdateRequest) XXX_DiscardUnknown()
- func (m *ProjectUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProjectUpdateRequest) XXX_Merge(src proto.Message)
- func (m *ProjectUpdateRequest) XXX_Size() int
- func (m *ProjectUpdateRequest) XXX_Unmarshal(b []byte) error
- type Quota
- func (*Quota) Descriptor() ([]byte, []int)
- func (m *Quota) GetQuota() *wrappers.Int32Value
- func (*Quota) ProtoMessage()
- func (m *Quota) Reset()
- func (m *Quota) String() string
- func (m *Quota) XXX_DiscardUnknown()
- func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Quota) XXX_Merge(src proto.Message)
- func (m *Quota) XXX_Size() int
- func (m *Quota) XXX_Unmarshal(b []byte) error
- type QuotaSet
- func (*QuotaSet) Descriptor() ([]byte, []int)
- func (m *QuotaSet) GetCluster() *Quota
- func (m *QuotaSet) GetIp() *Quota
- func (m *QuotaSet) GetMachine() *Quota
- func (m *QuotaSet) GetProject() *Quota
- func (*QuotaSet) ProtoMessage()
- func (m *QuotaSet) Reset()
- func (m *QuotaSet) String() string
- func (m *QuotaSet) XXX_DiscardUnknown()
- func (m *QuotaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuotaSet) XXX_Merge(src proto.Message)
- func (m *QuotaSet) XXX_Size() int
- func (m *QuotaSet) XXX_Unmarshal(b []byte) error
- type Tenant
- func (*Tenant) Descriptor() ([]byte, []int)
- func (m *Tenant) GetDefaultQuotas() *QuotaSet
- func (m *Tenant) GetDescription() string
- func (m *Tenant) GetIamConfig() *IAMConfig
- func (m *Tenant) GetMeta() *Meta
- func (m *Tenant) GetName() string
- func (m *Tenant) GetQuotas() *QuotaSet
- func (m Tenant) JSONField() string
- func (m *Tenant) NewTenantResponse() *TenantResponse
- func (*Tenant) ProtoMessage()
- func (m *Tenant) Reset()
- func (m *Tenant) Scan(value interface{}) error
- func (m Tenant) Schema() string
- func (m *Tenant) String() string
- func (m Tenant) TableName() string
- func (m Tenant) Value() (driver.Value, error)
- func (m *Tenant) XXX_DiscardUnknown()
- func (m *Tenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tenant) XXX_Merge(src proto.Message)
- func (m *Tenant) XXX_Size() int
- func (m *Tenant) XXX_Unmarshal(b []byte) error
- type TenantCreateRequest
- func (*TenantCreateRequest) Descriptor() ([]byte, []int)
- func (m *TenantCreateRequest) GetTenant() *Tenant
- func (*TenantCreateRequest) ProtoMessage()
- func (m *TenantCreateRequest) Reset()
- func (m *TenantCreateRequest) String() string
- func (m *TenantCreateRequest) XXX_DiscardUnknown()
- func (m *TenantCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantCreateRequest) XXX_Merge(src proto.Message)
- func (m *TenantCreateRequest) XXX_Size() int
- func (m *TenantCreateRequest) XXX_Unmarshal(b []byte) error
- type TenantDeleteRequest
- func (*TenantDeleteRequest) Descriptor() ([]byte, []int)
- func (m *TenantDeleteRequest) GetId() string
- func (m *TenantDeleteRequest) NewTenant() *Tenant
- func (*TenantDeleteRequest) ProtoMessage()
- func (m *TenantDeleteRequest) Reset()
- func (m *TenantDeleteRequest) String() string
- func (m *TenantDeleteRequest) XXX_DiscardUnknown()
- func (m *TenantDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantDeleteRequest) XXX_Merge(src proto.Message)
- func (m *TenantDeleteRequest) XXX_Size() int
- func (m *TenantDeleteRequest) XXX_Unmarshal(b []byte) error
- type TenantFindRequest
- func (*TenantFindRequest) Descriptor() ([]byte, []int)
- func (m *TenantFindRequest) GetId() *wrappers.StringValue
- func (m *TenantFindRequest) GetName() *wrappers.StringValue
- func (*TenantFindRequest) ProtoMessage()
- func (m *TenantFindRequest) Reset()
- func (m *TenantFindRequest) String() string
- func (m *TenantFindRequest) XXX_DiscardUnknown()
- func (m *TenantFindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantFindRequest) XXX_Merge(src proto.Message)
- func (m *TenantFindRequest) XXX_Size() int
- func (m *TenantFindRequest) XXX_Unmarshal(b []byte) error
- type TenantGetRequest
- func (*TenantGetRequest) Descriptor() ([]byte, []int)
- func (m *TenantGetRequest) GetId() string
- func (*TenantGetRequest) ProtoMessage()
- func (m *TenantGetRequest) Reset()
- func (m *TenantGetRequest) String() string
- func (m *TenantGetRequest) XXX_DiscardUnknown()
- func (m *TenantGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantGetRequest) XXX_Merge(src proto.Message)
- func (m *TenantGetRequest) XXX_Size() int
- func (m *TenantGetRequest) XXX_Unmarshal(b []byte) error
- type TenantListResponse
- func (*TenantListResponse) Descriptor() ([]byte, []int)
- func (m *TenantListResponse) GetTenants() []*Tenant
- func (*TenantListResponse) ProtoMessage()
- func (m *TenantListResponse) Reset()
- func (m *TenantListResponse) String() string
- func (m *TenantListResponse) XXX_DiscardUnknown()
- func (m *TenantListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantListResponse) XXX_Merge(src proto.Message)
- func (m *TenantListResponse) XXX_Size() int
- func (m *TenantListResponse) XXX_Unmarshal(b []byte) error
- type TenantResponse
- func (*TenantResponse) Descriptor() ([]byte, []int)
- func (m *TenantResponse) GetTenant() *Tenant
- func (*TenantResponse) ProtoMessage()
- func (m *TenantResponse) Reset()
- func (m *TenantResponse) String() string
- func (m *TenantResponse) XXX_DiscardUnknown()
- func (m *TenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantResponse) XXX_Merge(src proto.Message)
- func (m *TenantResponse) XXX_Size() int
- func (m *TenantResponse) XXX_Unmarshal(b []byte) error
- type TenantServiceClient
- type TenantServiceServer
- type TenantUpdateRequest
- func (*TenantUpdateRequest) Descriptor() ([]byte, []int)
- func (m *TenantUpdateRequest) GetTenant() *Tenant
- func (*TenantUpdateRequest) ProtoMessage()
- func (m *TenantUpdateRequest) Reset()
- func (m *TenantUpdateRequest) String() string
- func (m *TenantUpdateRequest) XXX_DiscardUnknown()
- func (m *TenantUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TenantUpdateRequest) XXX_Merge(src proto.Message)
- func (m *TenantUpdateRequest) XXX_Size() int
- func (m *TenantUpdateRequest) XXX_Unmarshal(b []byte) error
- type UnimplementedProjectServiceServer
- func (*UnimplementedProjectServiceServer) Create(ctx context.Context, req *ProjectCreateRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Delete(ctx context.Context, req *ProjectDeleteRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Find(ctx context.Context, req *ProjectFindRequest) (*ProjectListResponse, error)
- func (*UnimplementedProjectServiceServer) Get(ctx context.Context, req *ProjectGetRequest) (*ProjectResponse, error)
- func (*UnimplementedProjectServiceServer) Update(ctx context.Context, req *ProjectUpdateRequest) (*ProjectResponse, error)
- type UnimplementedTenantServiceServer
- func (*UnimplementedTenantServiceServer) Create(ctx context.Context, req *TenantCreateRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Delete(ctx context.Context, req *TenantDeleteRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Find(ctx context.Context, req *TenantFindRequest) (*TenantListResponse, error)
- func (*UnimplementedTenantServiceServer) Get(ctx context.Context, req *TenantGetRequest) (*TenantResponse, error)
- func (*UnimplementedTenantServiceServer) Update(ctx context.Context, req *TenantUpdateRequest) (*TenantResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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 *wrappers.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
optional config if idm webhook is used to automatically create/delete groups/roles in the tenant idm
func (*ConnectorConfig) Descriptor ¶
func (*ConnectorConfig) Descriptor() ([]byte, []int)
func (*ConnectorConfig) GetIdmAccessCode ¶
func (m *ConnectorConfig) GetIdmAccessCode() string
func (*ConnectorConfig) GetIdmApiPassword ¶
func (m *ConnectorConfig) GetIdmApiPassword() string
func (*ConnectorConfig) GetIdmApiUrl ¶
func (m *ConnectorConfig) GetIdmApiUrl() string
func (*ConnectorConfig) GetIdmApiUser ¶
func (m *ConnectorConfig) GetIdmApiUser() string
func (*ConnectorConfig) GetIdmCustomerId ¶
func (m *ConnectorConfig) GetIdmCustomerId() string
func (*ConnectorConfig) GetIdmDomainName ¶
func (m *ConnectorConfig) GetIdmDomainName() string
func (*ConnectorConfig) GetIdmGroupOu ¶
func (m *ConnectorConfig) GetIdmGroupOu() string
func (*ConnectorConfig) GetIdmGroupnameTemplate ¶
func (m *ConnectorConfig) GetIdmGroupnameTemplate() *wrappers.StringValue
func (*ConnectorConfig) GetIdmJobInfo ¶
func (m *ConnectorConfig) GetIdmJobInfo() string
func (*ConnectorConfig) GetIdmReqEmail ¶
func (m *ConnectorConfig) GetIdmReqEmail() string
func (*ConnectorConfig) GetIdmReqSystem ¶
func (m *ConnectorConfig) GetIdmReqSystem() string
func (*ConnectorConfig) GetIdmReqUser ¶
func (m *ConnectorConfig) GetIdmReqUser() string
func (*ConnectorConfig) GetIdmSubmitter ¶
func (m *ConnectorConfig) GetIdmSubmitter() string
func (*ConnectorConfig) GetIdmSystemId ¶
func (m *ConnectorConfig) GetIdmSystemId() string
func (*ConnectorConfig) GetIdmTenantPrefix ¶
func (m *ConnectorConfig) GetIdmTenantPrefix() string
func (*ConnectorConfig) ProtoMessage ¶
func (*ConnectorConfig) ProtoMessage()
func (*ConnectorConfig) Reset ¶
func (m *ConnectorConfig) Reset()
func (*ConnectorConfig) String ¶
func (m *ConnectorConfig) String() string
func (*ConnectorConfig) XXX_DiscardUnknown ¶
func (m *ConnectorConfig) XXX_DiscardUnknown()
func (*ConnectorConfig) XXX_Marshal ¶
func (m *ConnectorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConnectorConfig) XXX_Merge ¶
func (m *ConnectorConfig) XXX_Merge(src proto.Message)
func (*ConnectorConfig) XXX_Size ¶
func (m *ConnectorConfig) XXX_Size() int
func (*ConnectorConfig) XXX_Unmarshal ¶
func (m *ConnectorConfig) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IAMConfig) Descriptor ¶
func (*IAMConfig) GetGroupConfig ¶
func (m *IAMConfig) GetGroupConfig() *NamespaceGroupConfig
func (*IAMConfig) GetIdmConfig ¶
func (*IAMConfig) GetIssuerConfig ¶
func (m *IAMConfig) GetIssuerConfig() *IssuerConfig
func (*IAMConfig) ProtoMessage ¶
func (*IAMConfig) ProtoMessage()
func (*IAMConfig) XXX_DiscardUnknown ¶
func (m *IAMConfig) XXX_DiscardUnknown()
func (*IAMConfig) XXX_Marshal ¶
func (*IAMConfig) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
mandatory config
func (*IDMConfig) Descriptor ¶
func (*IDMConfig) GetConnectorConfig ¶
func (m *IDMConfig) GetConnectorConfig() *ConnectorConfig
func (*IDMConfig) GetIdmType ¶
func (*IDMConfig) ProtoMessage ¶
func (*IDMConfig) ProtoMessage()
func (*IDMConfig) XXX_DiscardUnknown ¶
func (m *IDMConfig) XXX_DiscardUnknown()
func (*IDMConfig) XXX_Marshal ¶
func (*IDMConfig) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IssuerConfig) Descriptor ¶
func (*IssuerConfig) Descriptor() ([]byte, []int)
func (*IssuerConfig) GetClientId ¶
func (m *IssuerConfig) GetClientId() string
func (*IssuerConfig) GetUrl ¶
func (m *IssuerConfig) GetUrl() string
func (*IssuerConfig) ProtoMessage ¶
func (*IssuerConfig) ProtoMessage()
func (*IssuerConfig) Reset ¶
func (m *IssuerConfig) Reset()
func (*IssuerConfig) String ¶
func (m *IssuerConfig) String() string
func (*IssuerConfig) XXX_DiscardUnknown ¶
func (m *IssuerConfig) XXX_DiscardUnknown()
func (*IssuerConfig) XXX_Marshal ¶
func (m *IssuerConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IssuerConfig) XXX_Merge ¶
func (m *IssuerConfig) XXX_Merge(src proto.Message)
func (*IssuerConfig) XXX_Size ¶
func (m *IssuerConfig) XXX_Size() int
func (*IssuerConfig) XXX_Unmarshal ¶
func (m *IssuerConfig) XXX_Unmarshal(b []byte) error
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 *timestamp.Timestamp `protobuf:"bytes,5,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"` UpdatedTime *timestamp.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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Meta) Descriptor ¶
func (*Meta) GetAnnotations ¶ added in v0.5.0
func (*Meta) GetApiversion ¶
func (*Meta) GetCreatedTime ¶
func (*Meta) GetUpdatedTime ¶
func (*Meta) GetVersion ¶
func (*Meta) ProtoMessage ¶
func (*Meta) ProtoMessage()
func (*Meta) SetAnnotations ¶ added in v0.5.0
func (*Meta) SetCreatedTime ¶
func (*Meta) SetUpdatedTime ¶
func (*Meta) SetVersion ¶
func (*Meta) XXX_DiscardUnknown ¶
func (m *Meta) XXX_DiscardUnknown()
func (*Meta) XXX_Unmarshal ¶
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 */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Config for group-rolebinding-controller
func (*NamespaceGroupConfig) Descriptor ¶
func (*NamespaceGroupConfig) Descriptor() ([]byte, []int)
func (*NamespaceGroupConfig) GetClusterGroupnameTemplate ¶
func (m *NamespaceGroupConfig) GetClusterGroupnameTemplate() string
func (*NamespaceGroupConfig) GetExcludedNamespaces ¶
func (m *NamespaceGroupConfig) GetExcludedNamespaces() string
func (*NamespaceGroupConfig) GetExpectedGroupsList ¶
func (m *NamespaceGroupConfig) GetExpectedGroupsList() string
func (*NamespaceGroupConfig) GetNamespaceMaxLength ¶
func (m *NamespaceGroupConfig) GetNamespaceMaxLength() int32
func (*NamespaceGroupConfig) GetRolebindingNameTemplate ¶
func (m *NamespaceGroupConfig) GetRolebindingNameTemplate() string
func (*NamespaceGroupConfig) ProtoMessage ¶
func (*NamespaceGroupConfig) ProtoMessage()
func (*NamespaceGroupConfig) Reset ¶
func (m *NamespaceGroupConfig) Reset()
func (*NamespaceGroupConfig) String ¶
func (m *NamespaceGroupConfig) String() string
func (*NamespaceGroupConfig) XXX_DiscardUnknown ¶
func (m *NamespaceGroupConfig) XXX_DiscardUnknown()
func (*NamespaceGroupConfig) XXX_Marshal ¶
func (m *NamespaceGroupConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NamespaceGroupConfig) XXX_Merge ¶
func (m *NamespaceGroupConfig) XXX_Merge(src proto.Message)
func (*NamespaceGroupConfig) XXX_Size ¶
func (m *NamespaceGroupConfig) XXX_Size() int
func (*NamespaceGroupConfig) XXX_Unmarshal ¶
func (m *NamespaceGroupConfig) XXX_Unmarshal(b []byte) error
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Project is the database model
func (*Project) Descriptor ¶
func (*Project) GetDescription ¶
func (*Project) GetTenantId ¶
func (*Project) NewProjectResponse ¶
func (m *Project) NewProjectResponse() *ProjectResponse
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) Scan ¶
Scan make the Project struct implement the sql.Scanner interface. This method simply decodes a JSON-encoded value into the struct fields.
func (Project) Value ¶
Value make the Project struct implement the driver.Valuer interface. This method simply returns the JSON-encoded representation of the struct.
func (*Project) XXX_DiscardUnknown ¶
func (m *Project) XXX_DiscardUnknown()
func (*Project) XXX_Marshal ¶
func (*Project) XXX_Unmarshal ¶
type ProjectCreateRequest ¶
type ProjectCreateRequest struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectCreateRequest) Descriptor ¶
func (*ProjectCreateRequest) Descriptor() ([]byte, []int)
func (*ProjectCreateRequest) GetProject ¶
func (m *ProjectCreateRequest) GetProject() *Project
func (*ProjectCreateRequest) ProtoMessage ¶
func (*ProjectCreateRequest) ProtoMessage()
func (*ProjectCreateRequest) Reset ¶
func (m *ProjectCreateRequest) Reset()
func (*ProjectCreateRequest) String ¶
func (m *ProjectCreateRequest) String() string
func (*ProjectCreateRequest) XXX_DiscardUnknown ¶
func (m *ProjectCreateRequest) XXX_DiscardUnknown()
func (*ProjectCreateRequest) XXX_Marshal ¶
func (m *ProjectCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectCreateRequest) XXX_Merge ¶
func (m *ProjectCreateRequest) XXX_Merge(src proto.Message)
func (*ProjectCreateRequest) XXX_Size ¶
func (m *ProjectCreateRequest) XXX_Size() int
func (*ProjectCreateRequest) XXX_Unmarshal ¶
func (m *ProjectCreateRequest) XXX_Unmarshal(b []byte) error
type ProjectDeleteRequest ¶
type ProjectDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectDeleteRequest) Descriptor ¶
func (*ProjectDeleteRequest) Descriptor() ([]byte, []int)
func (*ProjectDeleteRequest) GetId ¶
func (m *ProjectDeleteRequest) GetId() string
func (*ProjectDeleteRequest) NewProject ¶
func (m *ProjectDeleteRequest) NewProject() *Project
func (*ProjectDeleteRequest) ProtoMessage ¶
func (*ProjectDeleteRequest) ProtoMessage()
func (*ProjectDeleteRequest) Reset ¶
func (m *ProjectDeleteRequest) Reset()
func (*ProjectDeleteRequest) String ¶
func (m *ProjectDeleteRequest) String() string
func (*ProjectDeleteRequest) XXX_DiscardUnknown ¶
func (m *ProjectDeleteRequest) XXX_DiscardUnknown()
func (*ProjectDeleteRequest) XXX_Marshal ¶
func (m *ProjectDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectDeleteRequest) XXX_Merge ¶
func (m *ProjectDeleteRequest) XXX_Merge(src proto.Message)
func (*ProjectDeleteRequest) XXX_Size ¶
func (m *ProjectDeleteRequest) XXX_Size() int
func (*ProjectDeleteRequest) XXX_Unmarshal ¶
func (m *ProjectDeleteRequest) XXX_Unmarshal(b []byte) error
type ProjectFindRequest ¶
type ProjectFindRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` TenantId *wrappers.StringValue `protobuf:"bytes,4,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectFindRequest) Descriptor ¶
func (*ProjectFindRequest) Descriptor() ([]byte, []int)
func (*ProjectFindRequest) GetDescription ¶
func (m *ProjectFindRequest) GetDescription() *wrappers.StringValue
func (*ProjectFindRequest) GetId ¶
func (m *ProjectFindRequest) GetId() *wrappers.StringValue
func (*ProjectFindRequest) GetName ¶
func (m *ProjectFindRequest) GetName() *wrappers.StringValue
func (*ProjectFindRequest) GetTenantId ¶
func (m *ProjectFindRequest) GetTenantId() *wrappers.StringValue
func (*ProjectFindRequest) ProtoMessage ¶
func (*ProjectFindRequest) ProtoMessage()
func (*ProjectFindRequest) Reset ¶
func (m *ProjectFindRequest) Reset()
func (*ProjectFindRequest) String ¶
func (m *ProjectFindRequest) String() string
func (*ProjectFindRequest) XXX_DiscardUnknown ¶
func (m *ProjectFindRequest) XXX_DiscardUnknown()
func (*ProjectFindRequest) XXX_Marshal ¶
func (m *ProjectFindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectFindRequest) XXX_Merge ¶
func (m *ProjectFindRequest) XXX_Merge(src proto.Message)
func (*ProjectFindRequest) XXX_Size ¶
func (m *ProjectFindRequest) XXX_Size() int
func (*ProjectFindRequest) XXX_Unmarshal ¶
func (m *ProjectFindRequest) XXX_Unmarshal(b []byte) error
type ProjectGetRequest ¶
type ProjectGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectGetRequest) Descriptor ¶
func (*ProjectGetRequest) Descriptor() ([]byte, []int)
func (*ProjectGetRequest) GetId ¶
func (m *ProjectGetRequest) GetId() string
func (*ProjectGetRequest) ProtoMessage ¶
func (*ProjectGetRequest) ProtoMessage()
func (*ProjectGetRequest) Reset ¶
func (m *ProjectGetRequest) Reset()
func (*ProjectGetRequest) String ¶
func (m *ProjectGetRequest) String() string
func (*ProjectGetRequest) XXX_DiscardUnknown ¶
func (m *ProjectGetRequest) XXX_DiscardUnknown()
func (*ProjectGetRequest) XXX_Marshal ¶
func (m *ProjectGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectGetRequest) XXX_Merge ¶
func (m *ProjectGetRequest) XXX_Merge(src proto.Message)
func (*ProjectGetRequest) XXX_Size ¶
func (m *ProjectGetRequest) XXX_Size() int
func (*ProjectGetRequest) XXX_Unmarshal ¶
func (m *ProjectGetRequest) XXX_Unmarshal(b []byte) error
type ProjectListResponse ¶
type ProjectListResponse struct { Projects []*Project `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectListResponse) Descriptor ¶
func (*ProjectListResponse) Descriptor() ([]byte, []int)
func (*ProjectListResponse) GetProjects ¶
func (m *ProjectListResponse) GetProjects() []*Project
func (*ProjectListResponse) ProtoMessage ¶
func (*ProjectListResponse) ProtoMessage()
func (*ProjectListResponse) Reset ¶
func (m *ProjectListResponse) Reset()
func (*ProjectListResponse) String ¶
func (m *ProjectListResponse) String() string
func (*ProjectListResponse) XXX_DiscardUnknown ¶
func (m *ProjectListResponse) XXX_DiscardUnknown()
func (*ProjectListResponse) XXX_Marshal ¶
func (m *ProjectListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectListResponse) XXX_Merge ¶
func (m *ProjectListResponse) XXX_Merge(src proto.Message)
func (*ProjectListResponse) XXX_Size ¶
func (m *ProjectListResponse) XXX_Size() int
func (*ProjectListResponse) XXX_Unmarshal ¶
func (m *ProjectListResponse) XXX_Unmarshal(b []byte) error
type ProjectResponse ¶
type ProjectResponse struct { Project *Project `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectResponse) Descriptor ¶
func (*ProjectResponse) Descriptor() ([]byte, []int)
func (*ProjectResponse) GetProject ¶
func (m *ProjectResponse) GetProject() *Project
func (*ProjectResponse) ProtoMessage ¶
func (*ProjectResponse) ProtoMessage()
func (*ProjectResponse) Reset ¶
func (m *ProjectResponse) Reset()
func (*ProjectResponse) String ¶
func (m *ProjectResponse) String() string
func (*ProjectResponse) XXX_DiscardUnknown ¶
func (m *ProjectResponse) XXX_DiscardUnknown()
func (*ProjectResponse) XXX_Marshal ¶
func (m *ProjectResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectResponse) XXX_Merge ¶
func (m *ProjectResponse) XXX_Merge(src proto.Message)
func (*ProjectResponse) XXX_Size ¶
func (m *ProjectResponse) XXX_Size() int
func (*ProjectResponse) XXX_Unmarshal ¶
func (m *ProjectResponse) XXX_Unmarshal(b []byte) error
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) 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) Find(context.Context, *ProjectFindRequest) (*ProjectListResponse, error) }
ProjectServiceServer is the server API for ProjectService service.
type ProjectUpdateRequest ¶
type ProjectUpdateRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Quotas *QuotaSet `protobuf:"bytes,4,opt,name=quotas,proto3" json:"quotas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProjectUpdateRequest) Descriptor ¶
func (*ProjectUpdateRequest) Descriptor() ([]byte, []int)
func (*ProjectUpdateRequest) GetDescription ¶
func (m *ProjectUpdateRequest) GetDescription() *wrappers.StringValue
func (*ProjectUpdateRequest) GetId ¶
func (m *ProjectUpdateRequest) GetId() string
func (*ProjectUpdateRequest) GetName ¶
func (m *ProjectUpdateRequest) GetName() *wrappers.StringValue
func (*ProjectUpdateRequest) GetQuotas ¶
func (m *ProjectUpdateRequest) GetQuotas() *QuotaSet
func (*ProjectUpdateRequest) NewProject ¶
func (m *ProjectUpdateRequest) NewProject() *Project
func (*ProjectUpdateRequest) ProtoMessage ¶
func (*ProjectUpdateRequest) ProtoMessage()
func (*ProjectUpdateRequest) Reset ¶
func (m *ProjectUpdateRequest) Reset()
func (*ProjectUpdateRequest) String ¶
func (m *ProjectUpdateRequest) String() string
func (*ProjectUpdateRequest) XXX_DiscardUnknown ¶
func (m *ProjectUpdateRequest) XXX_DiscardUnknown()
func (*ProjectUpdateRequest) XXX_Marshal ¶
func (m *ProjectUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProjectUpdateRequest) XXX_Merge ¶
func (m *ProjectUpdateRequest) XXX_Merge(src proto.Message)
func (*ProjectUpdateRequest) XXX_Size ¶
func (m *ProjectUpdateRequest) XXX_Size() int
func (*ProjectUpdateRequest) XXX_Unmarshal ¶
func (m *ProjectUpdateRequest) XXX_Unmarshal(b []byte) error
type Quota ¶
type Quota struct { // quota is the maximum amount for the current QuotaSet, can be nil Quota *wrappers.Int32Value `protobuf:"bytes,1,opt,name=quota,proto3" json:"quota,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Quota is the actual maximum amount
func (*Quota) Descriptor ¶
func (*Quota) GetQuota ¶
func (m *Quota) GetQuota() *wrappers.Int32Value
func (*Quota) ProtoMessage ¶
func (*Quota) ProtoMessage()
func (*Quota) XXX_DiscardUnknown ¶
func (m *Quota) XXX_DiscardUnknown()
func (*Quota) XXX_Marshal ¶
func (*Quota) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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 ¶
func (*QuotaSet) GetCluster ¶
func (*QuotaSet) GetMachine ¶
func (*QuotaSet) GetProject ¶
func (*QuotaSet) ProtoMessage ¶
func (*QuotaSet) ProtoMessage()
func (*QuotaSet) XXX_DiscardUnknown ¶
func (m *QuotaSet) XXX_DiscardUnknown()
func (*QuotaSet) XXX_Marshal ¶
func (*QuotaSet) XXX_Unmarshal ¶
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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Tenant) Descriptor ¶
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) Scan ¶
Scan make the Tenant struct implement the sql.Scanner interface. This method simply decodes a JSON-encoded value into the struct fields.
func (Tenant) Value ¶
Value make the Tenant struct implement the driver.Valuer interface. This method simply returns the JSON-encoded representation of the struct.
func (*Tenant) XXX_DiscardUnknown ¶
func (m *Tenant) XXX_DiscardUnknown()
func (*Tenant) XXX_Marshal ¶
func (*Tenant) XXX_Unmarshal ¶
type TenantCreateRequest ¶
type TenantCreateRequest struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantCreateRequest) Descriptor ¶
func (*TenantCreateRequest) Descriptor() ([]byte, []int)
func (*TenantCreateRequest) GetTenant ¶
func (m *TenantCreateRequest) GetTenant() *Tenant
func (*TenantCreateRequest) ProtoMessage ¶
func (*TenantCreateRequest) ProtoMessage()
func (*TenantCreateRequest) Reset ¶
func (m *TenantCreateRequest) Reset()
func (*TenantCreateRequest) String ¶
func (m *TenantCreateRequest) String() string
func (*TenantCreateRequest) XXX_DiscardUnknown ¶
func (m *TenantCreateRequest) XXX_DiscardUnknown()
func (*TenantCreateRequest) XXX_Marshal ¶
func (m *TenantCreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantCreateRequest) XXX_Merge ¶
func (m *TenantCreateRequest) XXX_Merge(src proto.Message)
func (*TenantCreateRequest) XXX_Size ¶
func (m *TenantCreateRequest) XXX_Size() int
func (*TenantCreateRequest) XXX_Unmarshal ¶
func (m *TenantCreateRequest) XXX_Unmarshal(b []byte) error
type TenantDeleteRequest ¶
type TenantDeleteRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantDeleteRequest) Descriptor ¶
func (*TenantDeleteRequest) Descriptor() ([]byte, []int)
func (*TenantDeleteRequest) GetId ¶
func (m *TenantDeleteRequest) GetId() string
func (*TenantDeleteRequest) NewTenant ¶
func (m *TenantDeleteRequest) NewTenant() *Tenant
func (*TenantDeleteRequest) ProtoMessage ¶
func (*TenantDeleteRequest) ProtoMessage()
func (*TenantDeleteRequest) Reset ¶
func (m *TenantDeleteRequest) Reset()
func (*TenantDeleteRequest) String ¶
func (m *TenantDeleteRequest) String() string
func (*TenantDeleteRequest) XXX_DiscardUnknown ¶
func (m *TenantDeleteRequest) XXX_DiscardUnknown()
func (*TenantDeleteRequest) XXX_Marshal ¶
func (m *TenantDeleteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantDeleteRequest) XXX_Merge ¶
func (m *TenantDeleteRequest) XXX_Merge(src proto.Message)
func (*TenantDeleteRequest) XXX_Size ¶
func (m *TenantDeleteRequest) XXX_Size() int
func (*TenantDeleteRequest) XXX_Unmarshal ¶
func (m *TenantDeleteRequest) XXX_Unmarshal(b []byte) error
type TenantFindRequest ¶
type TenantFindRequest struct { Id *wrappers.StringValue `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantFindRequest) Descriptor ¶
func (*TenantFindRequest) Descriptor() ([]byte, []int)
func (*TenantFindRequest) GetId ¶
func (m *TenantFindRequest) GetId() *wrappers.StringValue
func (*TenantFindRequest) GetName ¶
func (m *TenantFindRequest) GetName() *wrappers.StringValue
func (*TenantFindRequest) ProtoMessage ¶
func (*TenantFindRequest) ProtoMessage()
func (*TenantFindRequest) Reset ¶
func (m *TenantFindRequest) Reset()
func (*TenantFindRequest) String ¶
func (m *TenantFindRequest) String() string
func (*TenantFindRequest) XXX_DiscardUnknown ¶
func (m *TenantFindRequest) XXX_DiscardUnknown()
func (*TenantFindRequest) XXX_Marshal ¶
func (m *TenantFindRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantFindRequest) XXX_Merge ¶
func (m *TenantFindRequest) XXX_Merge(src proto.Message)
func (*TenantFindRequest) XXX_Size ¶
func (m *TenantFindRequest) XXX_Size() int
func (*TenantFindRequest) XXX_Unmarshal ¶
func (m *TenantFindRequest) XXX_Unmarshal(b []byte) error
type TenantGetRequest ¶
type TenantGetRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantGetRequest) Descriptor ¶
func (*TenantGetRequest) Descriptor() ([]byte, []int)
func (*TenantGetRequest) GetId ¶
func (m *TenantGetRequest) GetId() string
func (*TenantGetRequest) ProtoMessage ¶
func (*TenantGetRequest) ProtoMessage()
func (*TenantGetRequest) Reset ¶
func (m *TenantGetRequest) Reset()
func (*TenantGetRequest) String ¶
func (m *TenantGetRequest) String() string
func (*TenantGetRequest) XXX_DiscardUnknown ¶
func (m *TenantGetRequest) XXX_DiscardUnknown()
func (*TenantGetRequest) XXX_Marshal ¶
func (m *TenantGetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantGetRequest) XXX_Merge ¶
func (m *TenantGetRequest) XXX_Merge(src proto.Message)
func (*TenantGetRequest) XXX_Size ¶
func (m *TenantGetRequest) XXX_Size() int
func (*TenantGetRequest) XXX_Unmarshal ¶
func (m *TenantGetRequest) XXX_Unmarshal(b []byte) error
type TenantListResponse ¶
type TenantListResponse struct { Tenants []*Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantListResponse) Descriptor ¶
func (*TenantListResponse) Descriptor() ([]byte, []int)
func (*TenantListResponse) GetTenants ¶
func (m *TenantListResponse) GetTenants() []*Tenant
func (*TenantListResponse) ProtoMessage ¶
func (*TenantListResponse) ProtoMessage()
func (*TenantListResponse) Reset ¶
func (m *TenantListResponse) Reset()
func (*TenantListResponse) String ¶
func (m *TenantListResponse) String() string
func (*TenantListResponse) XXX_DiscardUnknown ¶
func (m *TenantListResponse) XXX_DiscardUnknown()
func (*TenantListResponse) XXX_Marshal ¶
func (m *TenantListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantListResponse) XXX_Merge ¶
func (m *TenantListResponse) XXX_Merge(src proto.Message)
func (*TenantListResponse) XXX_Size ¶
func (m *TenantListResponse) XXX_Size() int
func (*TenantListResponse) XXX_Unmarshal ¶
func (m *TenantListResponse) XXX_Unmarshal(b []byte) error
type TenantResponse ¶
type TenantResponse struct { Tenant *Tenant `protobuf:"bytes,1,opt,name=tenant,proto3" json:"tenant,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantResponse) Descriptor ¶
func (*TenantResponse) Descriptor() ([]byte, []int)
func (*TenantResponse) GetTenant ¶
func (m *TenantResponse) GetTenant() *Tenant
func (*TenantResponse) ProtoMessage ¶
func (*TenantResponse) ProtoMessage()
func (*TenantResponse) Reset ¶
func (m *TenantResponse) Reset()
func (*TenantResponse) String ¶
func (m *TenantResponse) String() string
func (*TenantResponse) XXX_DiscardUnknown ¶
func (m *TenantResponse) XXX_DiscardUnknown()
func (*TenantResponse) XXX_Marshal ¶
func (m *TenantResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantResponse) XXX_Merge ¶
func (m *TenantResponse) XXX_Merge(src proto.Message)
func (*TenantResponse) XXX_Size ¶
func (m *TenantResponse) XXX_Size() int
func (*TenantResponse) XXX_Unmarshal ¶
func (m *TenantResponse) XXX_Unmarshal(b []byte) error
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) 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) 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TenantUpdateRequest) Descriptor ¶
func (*TenantUpdateRequest) Descriptor() ([]byte, []int)
func (*TenantUpdateRequest) GetTenant ¶
func (m *TenantUpdateRequest) GetTenant() *Tenant
func (*TenantUpdateRequest) ProtoMessage ¶
func (*TenantUpdateRequest) ProtoMessage()
func (*TenantUpdateRequest) Reset ¶
func (m *TenantUpdateRequest) Reset()
func (*TenantUpdateRequest) String ¶
func (m *TenantUpdateRequest) String() string
func (*TenantUpdateRequest) XXX_DiscardUnknown ¶
func (m *TenantUpdateRequest) XXX_DiscardUnknown()
func (*TenantUpdateRequest) XXX_Marshal ¶
func (m *TenantUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TenantUpdateRequest) XXX_Merge ¶
func (m *TenantUpdateRequest) XXX_Merge(src proto.Message)
func (*TenantUpdateRequest) XXX_Size ¶
func (m *TenantUpdateRequest) XXX_Size() int
func (*TenantUpdateRequest) XXX_Unmarshal ¶
func (m *TenantUpdateRequest) XXX_Unmarshal(b []byte) error
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct { }
UnimplementedProjectServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedProjectServiceServer) Create ¶
func (*UnimplementedProjectServiceServer) Create(ctx context.Context, req *ProjectCreateRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Delete ¶
func (*UnimplementedProjectServiceServer) Delete(ctx context.Context, req *ProjectDeleteRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Find ¶
func (*UnimplementedProjectServiceServer) Find(ctx context.Context, req *ProjectFindRequest) (*ProjectListResponse, error)
func (*UnimplementedProjectServiceServer) Get ¶
func (*UnimplementedProjectServiceServer) Get(ctx context.Context, req *ProjectGetRequest) (*ProjectResponse, error)
func (*UnimplementedProjectServiceServer) Update ¶
func (*UnimplementedProjectServiceServer) Update(ctx context.Context, req *ProjectUpdateRequest) (*ProjectResponse, error)
type UnimplementedTenantServiceServer ¶
type UnimplementedTenantServiceServer struct { }
UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTenantServiceServer) Create ¶
func (*UnimplementedTenantServiceServer) Create(ctx context.Context, req *TenantCreateRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Delete ¶
func (*UnimplementedTenantServiceServer) Delete(ctx context.Context, req *TenantDeleteRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Find ¶
func (*UnimplementedTenantServiceServer) Find(ctx context.Context, req *TenantFindRequest) (*TenantListResponse, error)
func (*UnimplementedTenantServiceServer) Get ¶
func (*UnimplementedTenantServiceServer) Get(ctx context.Context, req *TenantGetRequest) (*TenantResponse, error)
func (*UnimplementedTenantServiceServer) Update ¶
func (*UnimplementedTenantServiceServer) Update(ctx context.Context, req *TenantUpdateRequest) (*TenantResponse, error)