Documentation ¶
Index ¶
- type ClusterNameProject
- type IAMConfig
- type IDMConfig
- type IssuerConfig
- type MasterdataLookupRequest
- type MasterdataLookupResponse
- type Meta
- type Paging
- type Project
- type ProjectCreateRequest
- type ProjectFindRequest
- type ProjectIDTime
- type ProjectListResponse
- type ProjectResponse
- type ProjectUpdateRequest
- type Quota
- type QuotaSet
- type Tenant
- type TenantCreateRequest
- type TenantFindRequest
- type TenantListResponse
- type TenantResponse
- type TenantUpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterNameProject ¶
type ClusterNameProject struct { ClusterName string `json:"cluster_name,omitempty" description:"cluster name"` Project string `json:"project,omitempty" description:"generated middle-part of gardener shoot namespace, e.g. 'ps5d42'"` }
cluster-identification e.g. from prometheus-metrics
type IAMConfig ¶ added in v0.8.5
type IAMConfig struct { IssuerConfig *IssuerConfig `json:"issuer_config,omitempty"` IDMConfig *IDMConfig `json:"idm_config,omitempty"` }
type IDMConfig ¶ added in v0.8.5
type IDMConfig struct {
IDMType string `json:"idm_type,omitempty"`
}
type IssuerConfig ¶ added in v0.8.5
type MasterdataLookupRequest ¶
type MasterdataLookupRequest struct { // search by name and project ClusterNameProject *ClusterNameProject `json:"cluster_name_project,omitempty" description:"lookup by clustername and shoot-project"` // OR search by ClusterID as returned by cloud-api (e.g. 345abc12-3321-4dbc-8d17-55c6ea4fcb38) ClusterID *string `` /* 130-byte string literal not displayed */ // OR search by ProjectID as returned by cloud-api (e.g. 10241dd7-a8de-4856-8ac0-b55830b22036) at some point in time ProjectIDTime *ProjectIDTime `` /* 157-byte string literal not displayed */ }
MasterdataLookupRequest to specify which masterdata tenant and project to return
func (*MasterdataLookupRequest) Validate ¶
func (mlr *MasterdataLookupRequest) Validate() error
Validate validates the request.
type MasterdataLookupResponse ¶
type MasterdataLookupResponse struct { Tenant *Tenant `json:"tenant,omitempty" description:"tenant to which the project belongs"` Project *Project `json:"project,omitempty" description:"project"` }
MasterdataLookupResponse contains the masterdata tenant and project
type Meta ¶
type Meta struct { Id string `json:"id,omitempty"` Kind string `json:"kind,omitempty"` Apiversion string `json:"apiversion,omitempty"` Version int64 `json:"version,omitempty"` CreatedTime *time.Time `json:"created_time,omitempty"` UpdatedTime *time.Time `json:"updated_time,omitempty"` Annotations map[string]string `json:"annotations,omitempty"` Labels []string `json:"labels,omitempty"` }
type ProjectCreateRequest ¶
type ProjectCreateRequest struct {
Project
}
type ProjectFindRequest ¶
type ProjectIDTime ¶
type ProjectListResponse ¶
type ProjectListResponse struct {
Projects []*ProjectResponse `json:"projects,omitempty"`
}
type ProjectResponse ¶
type ProjectResponse struct {
Project
}
type ProjectUpdateRequest ¶
type ProjectUpdateRequest struct {
Project
}
type TenantCreateRequest ¶ added in v0.10.0
type TenantCreateRequest struct {
Tenant
}
type TenantFindRequest ¶ added in v0.8.12
type TenantListResponse ¶ added in v0.8.5
type TenantListResponse struct {
Tenants []*TenantResponse `json:"tenants,omitempty"`
}
type TenantResponse ¶
type TenantResponse struct {
Tenant
}
type TenantUpdateRequest ¶
type TenantUpdateRequest struct {
Tenant
}
Click to show internal directories.
Click to hide internal directories.