Documentation ¶
Index ¶
- Constants
- type Action
- type ApiDeployment
- type ApiEntity
- type ApiImport
- type ApiKeyEntity
- type ApiListItem
- type Application
- type ApplicationMetaData
- type DefinitionContext
- type Env
- type Group
- type Page
- type PageImport
- type PageSource
- type PagesQuery
- type Plan
- type PlanSecurityType
- type PlanStatus
- type Resource
- type Subscription
- type User
Constants ¶
View Source
const ( OriginManagement = "management" OriginKubernetes = "kubernetes" ModeFullyManaged = "fully_managed" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiDeployment ¶
type ApiDeployment struct {
DeploymentLabel string `json:"deploymentLabel"`
}
type ApiEntity ¶
type ApiEntity struct { ID string `json:"id"` CrossID string `json:"crossId"` Name string `json:"name"` State string `json:"state"` Visibility string `json:"visibility"` ApiLifecycleState string `json:"lifecycle_state"` Plans []*Plan `json:"plans"` Resources []*Resource `json:"resources,omitempty"` DefinitionContext *DefinitionContext `json:"definition_context,omitempty"` }
func (*ApiEntity) ShouldSetKubernetesContext ¶
type ApiImport ¶
type ApiImport struct { *v2.Api `json:",inline"` DisableMembershipNotifications bool `json:"disable_membership_notifications,omitempty"` Pages []*PageImport `json:"pages,omitempty"` }
func ToApiImport ¶
type ApiKeyEntity ¶
type ApiListItem ¶
type Application ¶
type Application struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Status string `json:"status,omitempty"` Description string `json:"description,omitempty"` Settings *application.Setting `json:"settings,omitempty"` Background string `json:"background,omitempty"` Domain string `json:"domain,omitempty"` Groups []string `json:"groups,omitempty"` Picture string `json:"picture,omitempty"` AppType string `json:"type,omitempty"` }
type ApplicationMetaData ¶
type ApplicationMetaData struct { Name string `json:"name"` ApplicationID string `json:"applicationId,omitempty"` Value string `json:"value,omitempty"` DefaultValue string `json:"defaultValue,omitempty"` Format *application.MetaDataFormat `json:"format,omitempty"` Hidden bool `json:"hidden,omitempty"` Key string `json:"key,omitempty"` }
type DefinitionContext ¶
type DefinitionContext struct { Origin string `json:"origin,omitempty"` Mode string `json:"mode,omitempty"` }
func NewKubernetesContext ¶
func NewKubernetesContext() *DefinitionContext
type Page ¶
type Page struct { ID string `json:"id,omitempty"` Content string `json:"content,omitempty"` Type string `json:"type,omitempty"` Source *PageSource `json:"source,omitempty"` }
type PageImport ¶
type PageImport struct { *v2.Page `json:",inline"` DefinitionContext *v2.DefinitionContext `json:"definition_context"` }
type PageSource ¶
type PageSource struct { Type string `json:"type,omitempty"` Configuration *utils.GenericStringMap `json:"configuration,omitempty"` }
type PagesQuery ¶
type PagesQuery struct {
Type string
}
func NewPageQuery ¶
func NewPageQuery() *PagesQuery
func (*PagesQuery) AsMap ¶
func (query *PagesQuery) AsMap() map[string]string
func (*PagesQuery) WithType ¶
func (query *PagesQuery) WithType(t string) *PagesQuery
type Plan ¶
type Plan struct { ID string `json:"id"` CrossID string `json:"crossId"` Name string `json:"name"` Security PlanSecurityType `json:"security"` Status PlanStatus `json:"status"` Api string `json:"api"` }
type PlanSecurityType ¶
type PlanSecurityType string
type PlanStatus ¶
type PlanStatus string
type Subscription ¶
type Subscription struct {
ID string `json:"id"`
}
Click to show internal directories.
Click to hide internal directories.