Documentation ¶
Index ¶
Constants ¶
View Source
const (
TenantHeader = "Tenant"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { ID string `json:"id"` Name string `json:"name"` ProviderName *string `json:"providerName"` Description *string `json:"description"` Labels map[string]interface{} `json:"labels"` Auths []*graphql.AppSystemAuth `json:"auths"` Bundles *graphql.BundlePageExt `json:"bundles"` }
func (Application) ToApplication ¶
func (app Application) ToApplication() kymamodel.Application
type ApplicationPage ¶
type ApplicationPage struct { Data []*Application `json:"data"` PageInfo *graphql.PageInfo `json:"pageInfo"` TotalCount int `json:"totalCount"` }
type ApplicationsAndLabelsForRuntimeResponse ¶
type ApplicationsAndLabelsForRuntimeResponse struct { Runtime *Runtime `json:"runtime"` ApplicationsPage *ApplicationPage `json:"applicationsForRuntime"` }
type DirectorClient ¶
type DirectorClient interface { FetchConfiguration(ctx context.Context) ([]kymamodel.Application, graphql.Labels, error) SetURLsLabels(ctx context.Context, urlsCfg RuntimeURLsConfig, actualLabels graphql.Labels) (graphql.Labels, error) }
func NewConfigurationClient ¶
func NewConfigurationClient(gqlClient gql.Client, runtimeConfig config.RuntimeConfig) DirectorClient
type RuntimeURLsConfig ¶
type SetRuntimeLabelResponse ¶
Click to show internal directories.
Click to hide internal directories.