Documentation
¶
Index ¶
Constants ¶
View Source
const ( AuthorizationHeader = "Authorization" TenantHeader = "Tenant" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRuntimeResponse ¶
type DeleteRuntimeResponse ¶
type DirectorClient ¶
type DirectorClient interface { CreateRuntime(config *gqlschema.RuntimeInput, tenant string) (string, apperrors.AppError) GetRuntime(id, tenant string) (graphql.RuntimeExt, apperrors.AppError) UpdateRuntime(id string, config *graphql.RuntimeInput, tenant string) apperrors.AppError DeleteRuntime(id, tenant string) apperrors.AppError SetRuntimeStatusCondition(id string, statusCondition graphql.RuntimeStatusCondition, tenant string) apperrors.AppError GetConnectionToken(id, tenant string) (graphql.OneTimeTokenForRuntimeExt, apperrors.AppError) RuntimeExists(gardenerClusterName, tenant string) (bool, apperrors.AppError) }
func NewDirectorClient ¶
func NewDirectorClient(gqlClient gql.Client, oauthClient oauth.Client) DirectorClient
type GetRuntimeResponse ¶
type GetRuntimeResponse struct {
Result *graphql.RuntimeExt `json:"result"`
}
type GetRuntimesResponse ¶
type GetRuntimesResponse struct {
Result *graphql.RuntimePage `json:"result"`
}
type OneTimeTokenResponse ¶
type OneTimeTokenResponse struct {
Result *graphql.OneTimeTokenForRuntimeExt `json:"result"`
}
type RuntimeInput ¶
type UpdateRuntimeResponse ¶
Click to show internal directories.
Click to hide internal directories.