v1

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckErrorCode

func CheckErrorCode(err error, code codes.Code) bool

CheckErrorCode returns true, if the given err is not nil, is of type grpc Status and the code equals the given code.

func IsConflict

func IsConflict(err error) bool

IsConflict checks if the given error is a conflict error. Example: key already exists on create.

func IsInternal

func IsInternal(err error) bool

IsInternal checks if the given error is an internal server error.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound checks if the given error is a notfound error.

func IsOptimistickLockError

func IsOptimistickLockError(err error) bool

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) Descriptor() ([]byte, []int)

func (*IAMConfig) GetGroupConfig

func (m *IAMConfig) GetGroupConfig() *NamespaceGroupConfig

func (*IAMConfig) GetIdmConfig

func (m *IAMConfig) GetIdmConfig() *IDMConfig

func (*IAMConfig) GetIssuerConfig

func (m *IAMConfig) GetIssuerConfig() *IssuerConfig

func (*IAMConfig) ProtoMessage

func (*IAMConfig) ProtoMessage()

func (*IAMConfig) Reset

func (m *IAMConfig) Reset()

func (*IAMConfig) String

func (m *IAMConfig) String() string

func (*IAMConfig) XXX_DiscardUnknown

func (m *IAMConfig) XXX_DiscardUnknown()

func (*IAMConfig) XXX_Marshal

func (m *IAMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IAMConfig) XXX_Merge

func (m *IAMConfig) XXX_Merge(src proto.Message)

func (*IAMConfig) XXX_Size

func (m *IAMConfig) XXX_Size() int

func (*IAMConfig) XXX_Unmarshal

func (m *IAMConfig) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*IDMConfig) GetConnectorConfig

func (m *IDMConfig) GetConnectorConfig() *ConnectorConfig

func (*IDMConfig) GetIdmType

func (m *IDMConfig) GetIdmType() string

func (*IDMConfig) ProtoMessage

func (*IDMConfig) ProtoMessage()

func (*IDMConfig) Reset

func (m *IDMConfig) Reset()

func (*IDMConfig) String

func (m *IDMConfig) String() string

func (*IDMConfig) XXX_DiscardUnknown

func (m *IDMConfig) XXX_DiscardUnknown()

func (*IDMConfig) XXX_Marshal

func (m *IDMConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*IDMConfig) XXX_Merge

func (m *IDMConfig) XXX_Merge(src proto.Message)

func (*IDMConfig) XXX_Size

func (m *IDMConfig) XXX_Size() int

func (*IDMConfig) XXX_Unmarshal

func (m *IDMConfig) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Meta) GetAnnotations added in v0.5.0

func (m *Meta) GetAnnotations() map[string]string

func (*Meta) GetApiversion

func (m *Meta) GetApiversion() string

func (*Meta) GetCreatedTime

func (m *Meta) GetCreatedTime() *timestamp.Timestamp

func (*Meta) GetId

func (m *Meta) GetId() string

func (*Meta) GetKind

func (m *Meta) GetKind() string

func (*Meta) GetLabels added in v0.5.0

func (m *Meta) GetLabels() []string

func (*Meta) GetUpdatedTime

func (m *Meta) GetUpdatedTime() *timestamp.Timestamp

func (*Meta) GetVersion

func (m *Meta) GetVersion() int64

func (*Meta) ProtoMessage

func (*Meta) ProtoMessage()

func (*Meta) Reset

func (m *Meta) Reset()

func (*Meta) SetAnnotations added in v0.5.0

func (m *Meta) SetAnnotations(annotations map[string]string)

func (*Meta) SetCreatedTime

func (m *Meta) SetCreatedTime(time *timestamp.Timestamp)

func (*Meta) SetId

func (m *Meta) SetId(id string)

func (*Meta) SetLabels added in v0.5.0

func (m *Meta) SetLabels(labels []string)

func (*Meta) SetUpdatedTime

func (m *Meta) SetUpdatedTime(time *timestamp.Timestamp)

func (*Meta) SetVersion

func (m *Meta) SetVersion(version int64)

func (*Meta) String

func (m *Meta) String() string

func (*Meta) XXX_DiscardUnknown

func (m *Meta) XXX_DiscardUnknown()

func (*Meta) XXX_Marshal

func (m *Meta) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Meta) XXX_Merge

func (m *Meta) XXX_Merge(src proto.Message)

func (*Meta) XXX_Size

func (m *Meta) XXX_Size() int

func (*Meta) XXX_Unmarshal

func (m *Meta) XXX_Unmarshal(b []byte) error

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) APIVersion added in v0.6.1

func (m Project) APIVersion() string

func (*Project) Descriptor

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

func (*Project) GetDescription

func (m *Project) GetDescription() string

func (*Project) GetMeta

func (m *Project) GetMeta() *Meta

func (*Project) GetName

func (m *Project) GetName() string

func (*Project) GetQuotas

func (m *Project) GetQuotas() *QuotaSet

func (*Project) GetTenantId

func (m *Project) GetTenantId() string

func (Project) JSONField

func (m Project) JSONField() string

func (Project) Kind added in v0.6.1

func (m Project) Kind() string

func (*Project) NewProjectResponse

func (m *Project) NewProjectResponse() *ProjectResponse

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Scan

func (m *Project) Scan(value interface{}) error

Scan make the Project struct implement the sql.Scanner interface. This method simply decodes a JSON-encoded value into the struct fields.

func (Project) Schema

func (m Project) Schema() string

func (*Project) String

func (m *Project) String() string

func (Project) TableName

func (m Project) TableName() string

func (Project) Value

func (m Project) Value() (driver.Value, error)

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 (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

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 (*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 ProjectGetHistoryRequest added in v0.7.0

type ProjectGetHistoryRequest struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	At                   *timestamp.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*ProjectGetHistoryRequest) Descriptor added in v0.7.0

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

func (*ProjectGetHistoryRequest) GetAt added in v0.7.0

func (*ProjectGetHistoryRequest) GetId added in v0.7.0

func (m *ProjectGetHistoryRequest) GetId() string

func (*ProjectGetHistoryRequest) ProtoMessage added in v0.7.0

func (*ProjectGetHistoryRequest) ProtoMessage()

func (*ProjectGetHistoryRequest) Reset added in v0.7.0

func (m *ProjectGetHistoryRequest) Reset()

func (*ProjectGetHistoryRequest) String added in v0.7.0

func (m *ProjectGetHistoryRequest) String() string

func (*ProjectGetHistoryRequest) XXX_DiscardUnknown added in v0.7.0

func (m *ProjectGetHistoryRequest) XXX_DiscardUnknown()

func (*ProjectGetHistoryRequest) XXX_Marshal added in v0.7.0

func (m *ProjectGetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectGetHistoryRequest) XXX_Merge added in v0.7.0

func (m *ProjectGetHistoryRequest) XXX_Merge(src proto.Message)

func (*ProjectGetHistoryRequest) XXX_Size added in v0.7.0

func (m *ProjectGetHistoryRequest) XXX_Size() int

func (*ProjectGetHistoryRequest) XXX_Unmarshal added in v0.7.0

func (m *ProjectGetHistoryRequest) 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

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.

type ProjectUpdateRequest

type ProjectUpdateRequest 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 (*ProjectUpdateRequest) Descriptor

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

func (*ProjectUpdateRequest) GetProject added in v0.6.0

func (m *ProjectUpdateRequest) GetProject() *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) Descriptor() ([]byte, []int)

func (*Quota) GetQuota

func (m *Quota) GetQuota() *wrappers.Int32Value

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) Reset

func (m *Quota) Reset()

func (*Quota) String

func (m *Quota) String() string

func (*Quota) XXX_DiscardUnknown

func (m *Quota) XXX_DiscardUnknown()

func (*Quota) XXX_Marshal

func (m *Quota) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Quota) XXX_Merge

func (m *Quota) XXX_Merge(src proto.Message)

func (*Quota) XXX_Size

func (m *Quota) XXX_Size() int

func (*Quota) XXX_Unmarshal

func (m *Quota) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*QuotaSet) GetCluster

func (m *QuotaSet) GetCluster() *Quota

func (*QuotaSet) GetIp

func (m *QuotaSet) GetIp() *Quota

func (*QuotaSet) GetMachine

func (m *QuotaSet) GetMachine() *Quota

func (*QuotaSet) GetProject

func (m *QuotaSet) GetProject() *Quota

func (*QuotaSet) ProtoMessage

func (*QuotaSet) ProtoMessage()

func (*QuotaSet) Reset

func (m *QuotaSet) Reset()

func (*QuotaSet) String

func (m *QuotaSet) String() string

func (*QuotaSet) XXX_DiscardUnknown

func (m *QuotaSet) XXX_DiscardUnknown()

func (*QuotaSet) XXX_Marshal

func (m *QuotaSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QuotaSet) XXX_Merge

func (m *QuotaSet) XXX_Merge(src proto.Message)

func (*QuotaSet) XXX_Size

func (m *QuotaSet) XXX_Size() int

func (*QuotaSet) XXX_Unmarshal

func (m *QuotaSet) XXX_Unmarshal(b []byte) error

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) APIVersion added in v0.6.1

func (m Tenant) APIVersion() string

func (*Tenant) Descriptor

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

func (*Tenant) GetDefaultQuotas

func (m *Tenant) GetDefaultQuotas() *QuotaSet

func (*Tenant) GetDescription

func (m *Tenant) GetDescription() string

func (*Tenant) GetIamConfig

func (m *Tenant) GetIamConfig() *IAMConfig

func (*Tenant) GetMeta

func (m *Tenant) GetMeta() *Meta

func (*Tenant) GetName

func (m *Tenant) GetName() string

func (*Tenant) GetQuotas

func (m *Tenant) GetQuotas() *QuotaSet

func (Tenant) JSONField

func (m Tenant) JSONField() string

func (Tenant) Kind added in v0.6.1

func (m Tenant) Kind() string

func (*Tenant) NewTenantResponse

func (m *Tenant) NewTenantResponse() *TenantResponse

func (*Tenant) ProtoMessage

func (*Tenant) ProtoMessage()

func (*Tenant) Reset

func (m *Tenant) Reset()

func (*Tenant) Scan

func (m *Tenant) Scan(value interface{}) error

Scan make the Tenant struct implement the sql.Scanner interface. This method simply decodes a JSON-encoded value into the struct fields.

func (Tenant) Schema

func (m Tenant) Schema() string

func (*Tenant) String

func (m *Tenant) String() string

func (Tenant) TableName

func (m Tenant) TableName() string

func (Tenant) Value

func (m Tenant) Value() (driver.Value, error)

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 (m *Tenant) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Tenant) XXX_Merge

func (m *Tenant) XXX_Merge(src proto.Message)

func (*Tenant) XXX_Size

func (m *Tenant) XXX_Size() int

func (*Tenant) XXX_Unmarshal

func (m *Tenant) XXX_Unmarshal(b []byte) error

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 (*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 TenantGetHistoryRequest added in v0.7.0

type TenantGetHistoryRequest struct {
	Id                   string               `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	At                   *timestamp.Timestamp `protobuf:"bytes,2,opt,name=at,proto3" json:"at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (*TenantGetHistoryRequest) Descriptor added in v0.7.0

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

func (*TenantGetHistoryRequest) GetAt added in v0.7.0

func (*TenantGetHistoryRequest) GetId added in v0.7.0

func (m *TenantGetHistoryRequest) GetId() string

func (*TenantGetHistoryRequest) ProtoMessage added in v0.7.0

func (*TenantGetHistoryRequest) ProtoMessage()

func (*TenantGetHistoryRequest) Reset added in v0.7.0

func (m *TenantGetHistoryRequest) Reset()

func (*TenantGetHistoryRequest) String added in v0.7.0

func (m *TenantGetHistoryRequest) String() string

func (*TenantGetHistoryRequest) XXX_DiscardUnknown added in v0.7.0

func (m *TenantGetHistoryRequest) XXX_DiscardUnknown()

func (*TenantGetHistoryRequest) XXX_Marshal added in v0.7.0

func (m *TenantGetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TenantGetHistoryRequest) XXX_Merge added in v0.7.0

func (m *TenantGetHistoryRequest) XXX_Merge(src proto.Message)

func (*TenantGetHistoryRequest) XXX_Size added in v0.7.0

func (m *TenantGetHistoryRequest) XXX_Size() int

func (*TenantGetHistoryRequest) XXX_Unmarshal added in v0.7.0

func (m *TenantGetHistoryRequest) 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

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.

type TenantServiceServer

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) Delete

func (*UnimplementedProjectServiceServer) Find

func (*UnimplementedProjectServiceServer) Get

func (*UnimplementedProjectServiceServer) GetHistory added in v0.7.0

func (*UnimplementedProjectServiceServer) Update

type UnimplementedTenantServiceServer

type UnimplementedTenantServiceServer struct {
}

UnimplementedTenantServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTenantServiceServer) Create

func (*UnimplementedTenantServiceServer) Delete

func (*UnimplementedTenantServiceServer) Find

func (*UnimplementedTenantServiceServer) Get

func (*UnimplementedTenantServiceServer) GetHistory added in v0.7.0

func (*UnimplementedTenantServiceServer) Update

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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