Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the v1alpha1 API group +kubebuilder:object:generate=true +groupName=gravitee.io
Index ¶
- Variables
- type ApiDefinition
- func (api *ApiDefinition) ContextRef() core.ObjectRef
- func (in *ApiDefinition) DeepCopy() *ApiDefinition
- func (in *ApiDefinition) DeepCopyInto(out *ApiDefinition)
- func (in *ApiDefinition) DeepCopyObject() runtime.Object
- func (api *ApiDefinition) DeepCopyResource() core.Object
- func (api *ApiDefinition) GetContextPaths() []string
- func (api *ApiDefinition) GetDefinition() core.ApiDefinitionModel
- func (api *ApiDefinition) GetDefinitionContext() core.DefinitionContext
- func (api *ApiDefinition) GetDefinitionVersion() core.ApiDefinitionVersion
- func (api *ApiDefinition) GetEnvID() string
- func (api *ApiDefinition) GetID() string
- func (api *ApiDefinition) GetNamespacedName() *refs.NamespacedName
- func (api *ApiDefinition) GetOrgID() string
- func (api *ApiDefinition) GetRef() core.ObjectRef
- func (api *ApiDefinition) GetResources() []core.ObjectOrRef[core.ResourceModel]
- func (api *ApiDefinition) GetSpec() core.Spec
- func (api *ApiDefinition) GetState() string
- func (api *ApiDefinition) GetStatus() core.Status
- func (api *ApiDefinition) HasContext() bool
- func (api *ApiDefinition) HasPlans() bool
- func (api *ApiDefinition) PopulateIDs(_ core.ContextModel)
- func (api *ApiDefinition) SetDefinitionContext(ctx core.DefinitionContext)
- type ApiDefinitionList
- type ApiDefinitionStatus
- func (in *ApiDefinitionStatus) DeepCopy() *ApiDefinitionStatus
- func (s *ApiDefinitionStatus) DeepCopyFrom(obj client.Object) error
- func (in *ApiDefinitionStatus) DeepCopyInto(out *ApiDefinitionStatus)
- func (s *ApiDefinitionStatus) DeepCopyTo(obj client.Object) error
- func (s *ApiDefinitionStatus) SetProcessingStatus(status core.ProcessingStatus)
- type ApiDefinitionV2Spec
- type ApiResource
- func (in *ApiResource) DeepCopy() *ApiResource
- func (in *ApiResource) DeepCopyInto(out *ApiResource)
- func (in *ApiResource) DeepCopyObject() runtime.Object
- func (res *ApiResource) DeepCopyResource() core.Object
- func (res *ApiResource) GetConfig() *utils.GenericStringMap
- func (res *ApiResource) GetRef() core.ObjectRef
- func (res *ApiResource) GetResourceName() string
- func (res *ApiResource) GetSpec() core.Spec
- func (res *ApiResource) GetStatus() core.Status
- func (res *ApiResource) GetType() string
- func (res *ApiResource) IsBeingDeleted() bool
- type ApiResourceList
- type ApiResourceSpec
- type ApiResourceStatus
- func (in *ApiResourceStatus) DeepCopy() *ApiResourceStatus
- func (s *ApiResourceStatus) DeepCopyFrom(obj client.Object) error
- func (in *ApiResourceStatus) DeepCopyInto(out *ApiResourceStatus)
- func (s *ApiResourceStatus) DeepCopyTo(obj client.Object) error
- func (s *ApiResourceStatus) SetProcessingStatus(status core.ProcessingStatus)
- type ApiV4Definition
- func (api *ApiV4Definition) ContextRef() core.ObjectRef
- func (in *ApiV4Definition) DeepCopy() *ApiV4Definition
- func (in *ApiV4Definition) DeepCopyInto(out *ApiV4Definition)
- func (in *ApiV4Definition) DeepCopyObject() runtime.Object
- func (api *ApiV4Definition) DeepCopyResource() core.Object
- func (api *ApiV4Definition) GetContextPaths() []string
- func (api *ApiV4Definition) GetDefinition() core.ApiDefinitionModel
- func (api *ApiV4Definition) GetDefinitionContext() core.DefinitionContext
- func (api *ApiV4Definition) GetDefinitionVersion() core.ApiDefinitionVersion
- func (api *ApiV4Definition) GetEnvID() string
- func (api *ApiV4Definition) GetID() string
- func (api *ApiV4Definition) GetNamespacedName() *refs.NamespacedName
- func (api *ApiV4Definition) GetObjectMeta() *metav1.ObjectMeta
- func (api *ApiV4Definition) GetOrgID() string
- func (api *ApiV4Definition) GetRef() core.ObjectRef
- func (api *ApiV4Definition) GetResources() []core.ObjectOrRef[core.ResourceModel]
- func (api *ApiV4Definition) GetSpec() core.Spec
- func (api *ApiV4Definition) GetState() string
- func (api *ApiV4Definition) GetStatus() core.Status
- func (api *ApiV4Definition) HasContext() bool
- func (api *ApiV4Definition) HasPlans() bool
- func (api *ApiV4Definition) IsBeingDeleted() bool
- func (api *ApiV4Definition) PopulateIDs(context core.ContextModel)
- func (api *ApiV4Definition) SetDefinitionContext(ctx core.DefinitionContext)
- func (api *ApiV4Definition) ToGatewayDefinition() v4.GatewayDefinitionApi
- func (api *ApiV4Definition) Version() core.ApiDefinitionVersion
- type ApiV4DefinitionList
- type ApiV4DefinitionSpec
- type ApiV4DefinitionStatus
- func (in *ApiV4DefinitionStatus) DeepCopy() *ApiV4DefinitionStatus
- func (s *ApiV4DefinitionStatus) DeepCopyFrom(api client.Object) error
- func (in *ApiV4DefinitionStatus) DeepCopyInto(out *ApiV4DefinitionStatus)
- func (s *ApiV4DefinitionStatus) DeepCopyTo(api client.Object) error
- func (s *ApiV4DefinitionStatus) SetProcessingStatus(status core.ProcessingStatus)
- type Application
- func (app *Application) ContextRef() core.ObjectRef
- func (in *Application) DeepCopy() *Application
- func (in *Application) DeepCopyInto(out *Application)
- func (in *Application) DeepCopyObject() runtime.Object
- func (app *Application) DeepCopyResource() core.Object
- func (app *Application) GetEnvID() string
- func (app *Application) GetID() string
- func (app *Application) GetModel() core.ApplicationModel
- func (app *Application) GetOrgID() string
- func (app *Application) GetRef() core.ObjectRef
- func (app *Application) GetSpec() core.Spec
- func (app *Application) GetStatus() core.Status
- func (app *Application) HasContext() bool
- func (app *Application) IsBeingDeleted() bool
- func (app *Application) PopulateIDs(mCtx core.ContextModel)
- type ApplicationList
- type ApplicationSpec
- type ApplicationStatus
- func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
- func (s *ApplicationStatus) DeepCopyFrom(obj client.Object) error
- func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
- func (s *ApplicationStatus) DeepCopyTo(api client.Object) error
- func (s *ApplicationStatus) SetProcessingStatus(status core.ProcessingStatus)
- type ManagementContext
- func (ctx *ManagementContext) ConfigureCloud(url string, orgID string, envID string)
- func (in *ManagementContext) DeepCopy() *ManagementContext
- func (in *ManagementContext) DeepCopyInto(out *ManagementContext)
- func (in *ManagementContext) DeepCopyObject() runtime.Object
- func (ctx *ManagementContext) DeepCopyResource() core.Object
- func (ctx *ManagementContext) GetAuth() core.Auth
- func (ctx *ManagementContext) GetCloud() core.Cloud
- func (ctx *ManagementContext) GetContext() core.ContextModel
- func (ctx *ManagementContext) GetEnvID() string
- func (ctx *ManagementContext) GetNamespacedName() *refs.NamespacedName
- func (ctx *ManagementContext) GetOrgID() string
- func (ctx *ManagementContext) GetRef() core.ObjectRef
- func (ctx *ManagementContext) GetSecretRef() core.ObjectRef
- func (ctx *ManagementContext) GetSpec() core.Spec
- func (ctx *ManagementContext) GetStatus() core.Status
- func (ctx *ManagementContext) GetURL() string
- func (ctx *ManagementContext) HasAuthentication() bool
- func (ctx *ManagementContext) HasCloud() bool
- func (ctx *ManagementContext) HasSecretRef() bool
- func (ctx *ManagementContext) IsBeingDeleted() bool
- type ManagementContextList
- type ManagementContextSpec
- type ManagementContextStatus
- func (in *ManagementContextStatus) DeepCopy() *ManagementContextStatus
- func (st *ManagementContextStatus) DeepCopyFrom(obj client.Object) error
- func (in *ManagementContextStatus) DeepCopyInto(out *ManagementContextStatus)
- func (st *ManagementContextStatus) DeepCopyTo(obj client.Object) error
- func (st *ManagementContextStatus) SetProcessingStatus(status core.ProcessingStatus)
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "gravitee.io", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ApiDefinition ¶
type ApiDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApiDefinitionV2Spec `json:"spec,omitempty"` Status ApiDefinitionStatus `json:"status,omitempty"` }
ApiDefinition is the Schema for the apidefinitions API. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Entrypoint",type=string,JSONPath=`.spec.proxy.virtual_hosts[*].path`,description="API entrypoint." +kubebuilder:printcolumn:name="Endpoint",type=string,JSONPath=`.spec.proxy.groups[*].endpoints[*].target`,description="API endpoint." +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.version`,description="API version." +kubebuilder:resource:shortName=graviteeapis +kubebuilder:storageversion
func (*ApiDefinition) ContextRef ¶
func (api *ApiDefinition) ContextRef() core.ObjectRef
func (*ApiDefinition) DeepCopy ¶
func (in *ApiDefinition) DeepCopy() *ApiDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiDefinition.
func (*ApiDefinition) DeepCopyInto ¶
func (in *ApiDefinition) DeepCopyInto(out *ApiDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiDefinition) DeepCopyObject ¶
func (in *ApiDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApiDefinition) DeepCopyResource ¶
func (api *ApiDefinition) DeepCopyResource() core.Object
func (*ApiDefinition) GetContextPaths ¶
func (api *ApiDefinition) GetContextPaths() []string
func (*ApiDefinition) GetDefinition ¶
func (api *ApiDefinition) GetDefinition() core.ApiDefinitionModel
func (*ApiDefinition) GetDefinitionContext ¶
func (api *ApiDefinition) GetDefinitionContext() core.DefinitionContext
func (*ApiDefinition) GetDefinitionVersion ¶
func (api *ApiDefinition) GetDefinitionVersion() core.ApiDefinitionVersion
func (*ApiDefinition) GetEnvID ¶
func (api *ApiDefinition) GetEnvID() string
func (*ApiDefinition) GetID ¶
func (api *ApiDefinition) GetID() string
func (*ApiDefinition) GetNamespacedName ¶
func (api *ApiDefinition) GetNamespacedName() *refs.NamespacedName
func (*ApiDefinition) GetOrgID ¶
func (api *ApiDefinition) GetOrgID() string
func (*ApiDefinition) GetRef ¶
func (api *ApiDefinition) GetRef() core.ObjectRef
func (*ApiDefinition) GetResources ¶
func (api *ApiDefinition) GetResources() []core.ObjectOrRef[core.ResourceModel]
GetResources implements core.ApiDefinitionModel.
func (*ApiDefinition) GetSpec ¶
func (api *ApiDefinition) GetSpec() core.Spec
func (*ApiDefinition) GetState ¶
func (api *ApiDefinition) GetState() string
func (*ApiDefinition) GetStatus ¶
func (api *ApiDefinition) GetStatus() core.Status
func (*ApiDefinition) HasContext ¶
func (api *ApiDefinition) HasContext() bool
func (*ApiDefinition) HasPlans ¶
func (api *ApiDefinition) HasPlans() bool
func (*ApiDefinition) PopulateIDs ¶
func (api *ApiDefinition) PopulateIDs(_ core.ContextModel)
func (*ApiDefinition) SetDefinitionContext ¶
func (api *ApiDefinition) SetDefinitionContext(ctx core.DefinitionContext)
type ApiDefinitionList ¶
type ApiDefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApiDefinition `json:"items"` }
ApiDefinitionList contains a list of ApiDefinition. +kubebuilder:object:root=true
func (*ApiDefinitionList) DeepCopy ¶
func (in *ApiDefinitionList) DeepCopy() *ApiDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiDefinitionList.
func (*ApiDefinitionList) DeepCopyInto ¶
func (in *ApiDefinitionList) DeepCopyInto(out *ApiDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiDefinitionList) DeepCopyObject ¶
func (in *ApiDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApiDefinitionStatus ¶
ApiDefinitionStatus defines the observed state of API Definition.
func (*ApiDefinitionStatus) DeepCopy ¶
func (in *ApiDefinitionStatus) DeepCopy() *ApiDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiDefinitionStatus.
func (*ApiDefinitionStatus) DeepCopyFrom ¶
func (s *ApiDefinitionStatus) DeepCopyFrom(obj client.Object) error
func (*ApiDefinitionStatus) DeepCopyInto ¶
func (in *ApiDefinitionStatus) DeepCopyInto(out *ApiDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiDefinitionStatus) DeepCopyTo ¶
func (s *ApiDefinitionStatus) DeepCopyTo(obj client.Object) error
func (*ApiDefinitionStatus) SetProcessingStatus ¶
func (s *ApiDefinitionStatus) SetProcessingStatus(status core.ProcessingStatus)
type ApiDefinitionV2Spec ¶
type ApiDefinitionV2Spec struct { v2.Api `json:",inline"` Context *refs.NamespacedName `json:"contextRef,omitempty"` // local defines if the api is local or not. // // If true, the Operator will create the ConfigMaps for the Gateway and pushes the API to the Management API // but without setting the update flag in the datastore. // // If false, the Operator will not create the ConfigMaps for the Gateway. // Instead, it pushes the API to the Management API and forces it to update the event in the datastore. // This will cause Gateways to fetch the APIs from the datastore // // +kubebuilder:validation:Optional // +kubebuilder:default:=true IsLocal bool `json:"local"` }
The API definition is the main resource handled by the Kubernetes Operator Most of the configuration properties defined here are already documented in the APIM Console API Reference. See https://docs.gravitee.io/apim/3.x/apim_installguide_rest_apis_documentation.html +kubebuilder:object:generate=true
func (*ApiDefinitionV2Spec) DeepCopy ¶
func (in *ApiDefinitionV2Spec) DeepCopy() *ApiDefinitionV2Spec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiDefinitionV2Spec.
func (*ApiDefinitionV2Spec) DeepCopyInto ¶
func (in *ApiDefinitionV2Spec) DeepCopyInto(out *ApiDefinitionV2Spec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiDefinitionV2Spec) EnsureDefinitionContext ¶
func (spec *ApiDefinitionV2Spec) EnsureDefinitionContext()
func (*ApiDefinitionV2Spec) Hash ¶
func (spec *ApiDefinitionV2Spec) Hash() string
type ApiResource ¶
type ApiResource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApiResourceSpec `json:"spec,omitempty"` Status ApiResourceStatus `json:"status,omitempty"` }
func (*ApiResource) DeepCopy ¶
func (in *ApiResource) DeepCopy() *ApiResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiResource.
func (*ApiResource) DeepCopyInto ¶
func (in *ApiResource) DeepCopyInto(out *ApiResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiResource) DeepCopyObject ¶
func (in *ApiResource) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApiResource) DeepCopyResource ¶
func (res *ApiResource) DeepCopyResource() core.Object
func (*ApiResource) GetConfig ¶
func (res *ApiResource) GetConfig() *utils.GenericStringMap
GetConfig implements core.ResourceModel.
func (*ApiResource) GetRef ¶
func (res *ApiResource) GetRef() core.ObjectRef
func (*ApiResource) GetResourceName ¶
func (res *ApiResource) GetResourceName() string
GetResourceName implements core.ResourceModel.
func (*ApiResource) GetSpec ¶
func (res *ApiResource) GetSpec() core.Spec
func (*ApiResource) GetStatus ¶
func (res *ApiResource) GetStatus() core.Status
func (*ApiResource) GetType ¶
func (res *ApiResource) GetType() string
GetType implements core.ResourceModel.
func (*ApiResource) IsBeingDeleted ¶
func (res *ApiResource) IsBeingDeleted() bool
type ApiResourceList ¶
type ApiResourceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApiResource `json:"items"` }
func (*ApiResourceList) DeepCopy ¶
func (in *ApiResourceList) DeepCopy() *ApiResourceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiResourceList.
func (*ApiResourceList) DeepCopyInto ¶
func (in *ApiResourceList) DeepCopyInto(out *ApiResourceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiResourceList) DeepCopyObject ¶
func (in *ApiResourceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApiResourceSpec ¶
ApiResourceSpec defines the desired state of ApiResource. +kubebuilder:object:generate=true
func (*ApiResourceSpec) DeepCopy ¶
func (in *ApiResourceSpec) DeepCopy() *ApiResourceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiResourceSpec.
func (*ApiResourceSpec) DeepCopyInto ¶
func (in *ApiResourceSpec) DeepCopyInto(out *ApiResourceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApiResourceStatus ¶
type ApiResourceStatus struct { }
func (*ApiResourceStatus) DeepCopy ¶
func (in *ApiResourceStatus) DeepCopy() *ApiResourceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiResourceStatus.
func (*ApiResourceStatus) DeepCopyFrom ¶
func (s *ApiResourceStatus) DeepCopyFrom(obj client.Object) error
DeepCopyFrom implements core.Status.
func (*ApiResourceStatus) DeepCopyInto ¶
func (in *ApiResourceStatus) DeepCopyInto(out *ApiResourceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiResourceStatus) DeepCopyTo ¶
func (s *ApiResourceStatus) DeepCopyTo(obj client.Object) error
DeepCopyTo implements core.Status.
func (*ApiResourceStatus) SetProcessingStatus ¶
func (s *ApiResourceStatus) SetProcessingStatus(status core.ProcessingStatus)
SetProcessingStatus implements core.Status.
type ApiV4Definition ¶
type ApiV4Definition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApiV4DefinitionSpec `json:"spec,omitempty"` Status ApiV4DefinitionStatus `json:"status,omitempty"` }
ApiV4Definition is the Schema for the v4 apidefinitions API. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="State",type=string,JSONPath=`.spec.state`,description="State" +kubebuilder:printcolumn:name="Lifecycle State",type=string,JSONPath=`.spec.lifecycleState`,description="Lifecycle State" +kubebuilder:printcolumn:name="Version",type=string,JSONPath=`.spec.version`,description="API version." +kubebuilder:resource:shortName=graviteev4apis +kubebuilder:storageversion
func (*ApiV4Definition) ContextRef ¶
func (api *ApiV4Definition) ContextRef() core.ObjectRef
func (*ApiV4Definition) DeepCopy ¶
func (in *ApiV4Definition) DeepCopy() *ApiV4Definition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiV4Definition.
func (*ApiV4Definition) DeepCopyInto ¶
func (in *ApiV4Definition) DeepCopyInto(out *ApiV4Definition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiV4Definition) DeepCopyObject ¶
func (in *ApiV4Definition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ApiV4Definition) DeepCopyResource ¶
func (api *ApiV4Definition) DeepCopyResource() core.Object
func (*ApiV4Definition) GetContextPaths ¶
func (api *ApiV4Definition) GetContextPaths() []string
func (*ApiV4Definition) GetDefinition ¶
func (api *ApiV4Definition) GetDefinition() core.ApiDefinitionModel
func (*ApiV4Definition) GetDefinitionContext ¶
func (api *ApiV4Definition) GetDefinitionContext() core.DefinitionContext
func (*ApiV4Definition) GetDefinitionVersion ¶
func (api *ApiV4Definition) GetDefinitionVersion() core.ApiDefinitionVersion
func (*ApiV4Definition) GetEnvID ¶
func (api *ApiV4Definition) GetEnvID() string
GetEnvID implements custom.ApiDefinition.
func (*ApiV4Definition) GetID ¶
func (api *ApiV4Definition) GetID() string
GetID implements custom.ApiDefinition.
func (*ApiV4Definition) GetNamespacedName ¶
func (api *ApiV4Definition) GetNamespacedName() *refs.NamespacedName
func (*ApiV4Definition) GetObjectMeta ¶
func (api *ApiV4Definition) GetObjectMeta() *metav1.ObjectMeta
func (*ApiV4Definition) GetOrgID ¶
func (api *ApiV4Definition) GetOrgID() string
GetOrgID implements custom.ApiDefinition.
func (*ApiV4Definition) GetRef ¶
func (api *ApiV4Definition) GetRef() core.ObjectRef
func (*ApiV4Definition) GetResources ¶
func (api *ApiV4Definition) GetResources() []core.ObjectOrRef[core.ResourceModel]
func (*ApiV4Definition) GetSpec ¶
func (api *ApiV4Definition) GetSpec() core.Spec
func (*ApiV4Definition) GetState ¶
func (api *ApiV4Definition) GetState() string
func (*ApiV4Definition) GetStatus ¶
func (api *ApiV4Definition) GetStatus() core.Status
func (*ApiV4Definition) HasContext ¶
func (api *ApiV4Definition) HasContext() bool
func (*ApiV4Definition) HasPlans ¶
func (api *ApiV4Definition) HasPlans() bool
func (*ApiV4Definition) IsBeingDeleted ¶
func (api *ApiV4Definition) IsBeingDeleted() bool
func (*ApiV4Definition) PopulateIDs ¶
func (api *ApiV4Definition) PopulateIDs(context core.ContextModel)
func (*ApiV4Definition) SetDefinitionContext ¶
func (api *ApiV4Definition) SetDefinitionContext(ctx core.DefinitionContext)
func (*ApiV4Definition) ToGatewayDefinition ¶
func (api *ApiV4Definition) ToGatewayDefinition() v4.GatewayDefinitionApi
func (*ApiV4Definition) Version ¶
func (api *ApiV4Definition) Version() core.ApiDefinitionVersion
type ApiV4DefinitionList ¶
type ApiV4DefinitionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ApiV4Definition `json:"items"` }
ApiV4DefinitionList contains a list of ApiV4Definition. +kubebuilder:object:root=true
func (*ApiV4DefinitionList) DeepCopy ¶
func (in *ApiV4DefinitionList) DeepCopy() *ApiV4DefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiV4DefinitionList.
func (*ApiV4DefinitionList) DeepCopyInto ¶
func (in *ApiV4DefinitionList) DeepCopyInto(out *ApiV4DefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiV4DefinitionList) DeepCopyObject ¶
func (in *ApiV4DefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApiV4DefinitionSpec ¶
type ApiV4DefinitionSpec struct { v4.Api `json:",inline"` Context *refs.NamespacedName `json:"contextRef,omitempty"` }
ApiV4DefinitionSpec defines the desired state of ApiDefinition. +kubebuilder:object:generate=true
func (*ApiV4DefinitionSpec) DeepCopy ¶
func (in *ApiV4DefinitionSpec) DeepCopy() *ApiV4DefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiV4DefinitionSpec.
func (*ApiV4DefinitionSpec) DeepCopyInto ¶
func (in *ApiV4DefinitionSpec) DeepCopyInto(out *ApiV4DefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiV4DefinitionSpec) GetManagementContext ¶
func (spec *ApiV4DefinitionSpec) GetManagementContext() *refs.NamespacedName
func (*ApiV4DefinitionSpec) Hash ¶
func (spec *ApiV4DefinitionSpec) Hash() string
type ApiV4DefinitionStatus ¶
ApiV4DefinitionStatus defines the observed state of API Definition.
func (*ApiV4DefinitionStatus) DeepCopy ¶
func (in *ApiV4DefinitionStatus) DeepCopy() *ApiV4DefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApiV4DefinitionStatus.
func (*ApiV4DefinitionStatus) DeepCopyFrom ¶
func (s *ApiV4DefinitionStatus) DeepCopyFrom(api client.Object) error
func (*ApiV4DefinitionStatus) DeepCopyInto ¶
func (in *ApiV4DefinitionStatus) DeepCopyInto(out *ApiV4DefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApiV4DefinitionStatus) DeepCopyTo ¶
func (s *ApiV4DefinitionStatus) DeepCopyTo(api client.Object) error
func (*ApiV4DefinitionStatus) SetProcessingStatus ¶
func (s *ApiV4DefinitionStatus) SetProcessingStatus(status core.ProcessingStatus)
type Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec,omitempty"` Status ApplicationStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="Name",type=string,JSONPath=`.spec.name` +kubebuilder:printcolumn:name="Type",type=string,JSONPath=`.spec.applicationType` +kubebuilder:resource:shortName=graviteeapplications
func (*Application) ContextRef ¶
func (app *Application) ContextRef() core.ObjectRef
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) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Application) DeepCopyResource ¶
func (app *Application) DeepCopyResource() core.Object
func (*Application) GetEnvID ¶
func (app *Application) GetEnvID() string
func (*Application) GetID ¶
func (app *Application) GetID() string
func (*Application) GetModel ¶
func (app *Application) GetModel() core.ApplicationModel
func (*Application) GetOrgID ¶
func (app *Application) GetOrgID() string
func (*Application) GetRef ¶
func (app *Application) GetRef() core.ObjectRef
func (*Application) GetSpec ¶
func (app *Application) GetSpec() core.Spec
GetSpec implements custom.Resource.
func (*Application) GetStatus ¶
func (app *Application) GetStatus() core.Status
GetStatus implements custom.Resource.
func (*Application) HasContext ¶
func (app *Application) HasContext() bool
func (*Application) IsBeingDeleted ¶
func (app *Application) IsBeingDeleted() bool
func (*Application) PopulateIDs ¶
func (app *Application) PopulateIDs(mCtx core.ContextModel)
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
+kubebuilder:object:root=true
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationSpec ¶
type ApplicationSpec struct { application.Application `json:",inline"` // +kubebuilder:validation:Required Context *refs.NamespacedName `json:"contextRef"` }
Application is the main resource handled by the Kubernetes Operator +kubebuilder:object:generate=true
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationSpec) Hash ¶
func (spec *ApplicationSpec) Hash() string
type ApplicationStatus ¶
type ApplicationStatus struct {
application.Status `json:",inline"`
}
ApplicationStatus defines the observed state of Application.
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyFrom ¶
func (s *ApplicationStatus) DeepCopyFrom(obj client.Object) error
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationStatus) DeepCopyTo ¶
func (s *ApplicationStatus) DeepCopyTo(api client.Object) error
func (*ApplicationStatus) SetProcessingStatus ¶
func (s *ApplicationStatus) SetProcessingStatus(status core.ProcessingStatus)
type ManagementContext ¶
type ManagementContext struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementContextSpec `json:"spec,omitempty"` Status ManagementContextStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster +kubebuilder:printcolumn:name="BaseUrl",type=string,JSONPath=`.spec.baseUrl` +kubebuilder:resource:shortName=graviteecontexts
func (*ManagementContext) ConfigureCloud ¶
func (ctx *ManagementContext) ConfigureCloud(url string, orgID string, envID string)
func (*ManagementContext) DeepCopy ¶
func (in *ManagementContext) DeepCopy() *ManagementContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementContext.
func (*ManagementContext) DeepCopyInto ¶
func (in *ManagementContext) DeepCopyInto(out *ManagementContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementContext) DeepCopyObject ¶
func (in *ManagementContext) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagementContext) DeepCopyResource ¶
func (ctx *ManagementContext) DeepCopyResource() core.Object
DeepCopyResource implements custom.Context.
func (*ManagementContext) GetAuth ¶
func (ctx *ManagementContext) GetAuth() core.Auth
GetAuth implements custom.Context.
func (*ManagementContext) GetCloud ¶
func (ctx *ManagementContext) GetCloud() core.Cloud
func (*ManagementContext) GetContext ¶
func (ctx *ManagementContext) GetContext() core.ContextModel
func (*ManagementContext) GetEnvID ¶
func (ctx *ManagementContext) GetEnvID() string
GetEnvID implements custom.Context.
func (*ManagementContext) GetNamespacedName ¶
func (ctx *ManagementContext) GetNamespacedName() *refs.NamespacedName
func (*ManagementContext) GetOrgID ¶
func (ctx *ManagementContext) GetOrgID() string
GetOrgID implements custom.Context.
func (*ManagementContext) GetRef ¶
func (ctx *ManagementContext) GetRef() core.ObjectRef
func (*ManagementContext) GetSecretRef ¶
func (ctx *ManagementContext) GetSecretRef() core.ObjectRef
GetSecretRef implements custom.Context.
func (*ManagementContext) GetSpec ¶
func (ctx *ManagementContext) GetSpec() core.Spec
GetSpec implements custom.Context.
func (*ManagementContext) GetStatus ¶
func (ctx *ManagementContext) GetStatus() core.Status
GetStatus implements custom.Context.
func (*ManagementContext) GetURL ¶
func (ctx *ManagementContext) GetURL() string
GetURL implements custom.Context.
func (*ManagementContext) HasAuthentication ¶
func (ctx *ManagementContext) HasAuthentication() bool
HasAuthentication implements custom.Context.
func (*ManagementContext) HasCloud ¶
func (ctx *ManagementContext) HasCloud() bool
func (*ManagementContext) HasSecretRef ¶
func (ctx *ManagementContext) HasSecretRef() bool
HasSecretRef implements custom.Context.
func (*ManagementContext) IsBeingDeleted ¶
func (ctx *ManagementContext) IsBeingDeleted() bool
type ManagementContextList ¶
type ManagementContextList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagementContext `json:"items"` }
+kubebuilder:object:root=true ManagementContextList contains a list of API Contexts.
func (*ManagementContextList) DeepCopy ¶
func (in *ManagementContextList) DeepCopy() *ManagementContextList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementContextList.
func (*ManagementContextList) DeepCopyInto ¶
func (in *ManagementContextList) DeepCopyInto(out *ManagementContextList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementContextList) DeepCopyObject ¶
func (in *ManagementContextList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementContextSpec ¶
type ManagementContextSpec struct {
*management.Context `json:",inline"`
}
ManagementContext represents the configuration for a specific environment +kubebuilder:object:generate=true
func (*ManagementContextSpec) DeepCopy ¶
func (in *ManagementContextSpec) DeepCopy() *ManagementContextSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementContextSpec.
func (*ManagementContextSpec) DeepCopyInto ¶
func (in *ManagementContextSpec) DeepCopyInto(out *ManagementContextSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementContextSpec) Hash ¶
func (spec *ManagementContextSpec) Hash() string
Hash implements custom.Spec.
type ManagementContextStatus ¶
type ManagementContextStatus struct { }
ManagementContextStatus defines the observed state of an API Context.
func (*ManagementContextStatus) DeepCopy ¶
func (in *ManagementContextStatus) DeepCopy() *ManagementContextStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementContextStatus.
func (*ManagementContextStatus) DeepCopyFrom ¶
func (st *ManagementContextStatus) DeepCopyFrom(obj client.Object) error
DeepCopyFrom implements custom.Status.
func (*ManagementContextStatus) DeepCopyInto ¶
func (in *ManagementContextStatus) DeepCopyInto(out *ManagementContextStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementContextStatus) DeepCopyTo ¶
func (st *ManagementContextStatus) DeepCopyTo(obj client.Object) error
DeepCopyTo implements custom.Status.
func (*ManagementContextStatus) SetProcessingStatus ¶
func (st *ManagementContextStatus) SetProcessingStatus(status core.ProcessingStatus)
SetProcessingStatus implements custom.Status.