Documentation ¶
Overview ¶
+kubebuilder:object:generate=true
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { // +kubebuilder:validation:Required // Application name Name string `json:"name"` // +kubebuilder:validation:Required // Application Description Description string `json:"description"` // io.gravitee.definition.model.Application // Application ID ID string `json:"id,omitempty"` // The base64 encoded background to use for this application when displaying it on the portal Background string `json:"background,omitempty"` // Application domain Domain string `json:"domain,omitempty"` // Application groups Groups []string `json:"groups,omitempty"` // The base64 encoded picture to use for this application when displaying it on the portal (if not relying on an URL) Picture string `json:"picture,omitempty"` // A URL pointing to the picture to use when displaying the application on the portal PictureURL string `json:"pictureUrl,omitempty"` // Application settings // +kubebuilder:validation:Required Settings *Setting `json:"settings"` // +kubebuilder:validation:Optional // Notify members when they are added to the application NotifyMembers bool `json:"notifyMembers"` // Application metadata Metadata *[]Metadata `json:"metadata,omitempty"` // Application members Members *[]Member `json:"members,omitempty"` }
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) GetSettings ¶
func (in *Application) GetSettings() core.ApplicationSettings
GetSettings implements core.ApplicationModel.
type Member ¶
type Member struct { // Member source // +kubebuilder:validation:Required // +kubebuilder:example:=gravitee Source string `json:"source"` // Member source ID // +kubebuilder:validation:Required // +kubebuilder:example:=user@email.com SourceID string `json:"sourceId"` // Member display name DisplayName string `json:"displayName,omitempty"` // The API role associated with this Member // +kubebuilder:default:=USER Role string `json:"role,omitempty"` }
func (*Member) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Member.
func (*Member) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetaDataFormat ¶
type MetaDataFormat string
+kubebuilder:validation:Enum=STRING;NUMERIC;BOOLEAN;DATE;MAIL;URL;
type Metadata ¶
type Metadata struct { // +kubebuilder:validation:Required // Metadata Name Name string `json:"name"` // Metadata Value Value string `json:"value,omitempty"` // Metadata DefaultValue DefaultValue string `json:"defaultValue,omitempty"` // Metadata Format Format *MetaDataFormat `json:"format,omitempty"` // Metadata is hidden or not? Hidden bool `json:"hidden,omitempty"` }
func (*Metadata) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Metadata.
func (*Metadata) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OAuthClientSettings ¶
type OAuthClientSettings struct { // Oauth client application type ApplicationType string `json:"applicationType"` // List of Oauth client grant types GrantTypes []string `json:"grantTypes"` // List of Oauth client redirect uris RedirectUris []string `json:"redirectUris,omitempty"` }
func (*OAuthClientSettings) DeepCopy ¶
func (in *OAuthClientSettings) DeepCopy() *OAuthClientSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OAuthClientSettings.
func (*OAuthClientSettings) DeepCopyInto ¶
func (in *OAuthClientSettings) DeepCopyInto(out *OAuthClientSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Setting ¶
type Setting struct { App *SimpleSettings `json:"app,omitempty"` Oauth *OAuthClientSettings `json:"oauth,omitempty"` }
func (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Setting) GetOAuthType ¶
GetOAuthType implements core.ApplicationSettings.
type SimpleSettings ¶
type SimpleSettings struct { // Application Type AppType string `json:"type"` // ClientID is the client id of the application ClientID string `json:"clientId,omitempty"` }
func (*SimpleSettings) DeepCopy ¶
func (in *SimpleSettings) DeepCopy() *SimpleSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SimpleSettings.
func (*SimpleSettings) DeepCopyInto ¶
func (in *SimpleSettings) DeepCopyInto(out *SimpleSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Status ¶
type Status struct { // The organization ID, if a management context has been defined to sync with an APIM instance OrgID string `json:"organizationId,omitempty"` // The environment ID, if a management context has been defined to sync with an APIM instance EnvID string `json:"environmentId,omitempty"` // The ID of the Application, if a management context has been defined to sync with an APIM instance ID string `json:"id,omitempty"` // The processing status of the Application. // The value is `Completed` if the sync with APIM succeeded, Failed otherwise. ProcessingStatus core.ProcessingStatus `json:"processingStatus,omitempty"` // When API has been created regardless of errors, this field is // used to persist the error message encountered during admission Errors status.Errors `json:"errors,omitempty"` }
func (*Status) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Status.
func (*Status) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.