Documentation ¶
Overview ¶
+groupName=apigateway.ibm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Endpoint
- func (in *Endpoint) DeepCopy() *Endpoint
- func (in *Endpoint) DeepCopyInto(out *Endpoint)
- func (in *Endpoint) DeepCopyObject() runtime.Object
- func (r *Endpoint) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Endpoint) ValidateCreate() error
- func (r *Endpoint) ValidateDelete() error
- func (r *Endpoint) ValidateUpdate(old runtime.Object) error
- type EndpointList
- type EndpointSpec
- type EndpointSpecResource
- type EndpointStatus
- type EndpointSubscription
- func (in *EndpointSubscription) DeepCopy() *EndpointSubscription
- func (in *EndpointSubscription) DeepCopyInto(out *EndpointSubscription)
- func (in *EndpointSubscription) DeepCopyObject() runtime.Object
- func (r *EndpointSubscription) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *EndpointSubscription) ValidateCreate() error
- func (r *EndpointSubscription) ValidateDelete() error
- func (r *EndpointSubscription) ValidateUpdate(old runtime.Object) error
- type EndpointSubscriptionList
- type EndpointSubscriptionSpec
- type EndpointSubscriptionSpecResource
- type EndpointSubscriptionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: apigateway.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Endpoint ¶
type Endpoint struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EndpointSpec `json:"spec,omitempty"` Status EndpointStatus `json:"status,omitempty"` }
func (*Endpoint) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.
func (*Endpoint) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Endpoint) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Endpoint) SetupWebhookWithManager ¶
func (*Endpoint) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Endpoint) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type EndpointList ¶
type EndpointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Endpoint CRD objects Items []Endpoint `json:"items,omitempty"` }
EndpointList is a list of Endpoints
func (*EndpointList) DeepCopy ¶
func (in *EndpointList) DeepCopy() *EndpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointList.
func (*EndpointList) DeepCopyInto ¶
func (in *EndpointList) DeepCopyInto(out *EndpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointList) DeepCopyObject ¶
func (in *EndpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EndpointSpec ¶
type EndpointSpec struct { State *EndpointSpecResource `json:"state,omitempty" tf:"-"` Resource EndpointSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*EndpointSpec) DeepCopy ¶
func (in *EndpointSpec) DeepCopy() *EndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpec.
func (*EndpointSpec) DeepCopyInto ¶
func (in *EndpointSpec) DeepCopyInto(out *EndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointSpecResource ¶
type EndpointSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Base path of an endpoint // +optional BasePath *string `json:"basePath,omitempty" tf:"base_path"` // Endpoint ID // +optional EndpointID *string `json:"endpointID,omitempty" tf:"endpoint_id"` // Managed indicates if endpoint is online or offline. // +optional Managed *bool `json:"managed,omitempty" tf:"managed"` // Endpoint name Name *string `json:"name" tf:"name"` // Json File path OpenAPIDocName *string `json:"openAPIDocName" tf:"open_api_doc_name"` // Provider ID of an endpoint allowable values user-defined and whisk // +optional ProviderID *string `json:"providerID,omitempty" tf:"provider_id"` // Invokable routes for an endpoint // +optional Routes []string `json:"routes,omitempty" tf:"routes"` // Api Gateway Service Instance Crn ServiceInstanceCrn *string `json:"serviceInstanceCrn" tf:"service_instance_crn"` // +optional Shared *bool `json:"shared,omitempty" tf:"shared"` // Action type of Endpoint ALoowable values are share, unshare, manage, unmanage // +optional Type *string `json:"type,omitempty" tf:"type"` }
func (*EndpointSpecResource) DeepCopy ¶
func (in *EndpointSpecResource) DeepCopy() *EndpointSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSpecResource.
func (*EndpointSpecResource) DeepCopyInto ¶
func (in *EndpointSpecResource) DeepCopyInto(out *EndpointSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointStatus ¶
type EndpointStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*EndpointStatus) DeepCopy ¶
func (in *EndpointStatus) DeepCopy() *EndpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointStatus.
func (*EndpointStatus) DeepCopyInto ¶
func (in *EndpointStatus) DeepCopyInto(out *EndpointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointSubscription ¶
type EndpointSubscription struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec EndpointSubscriptionSpec `json:"spec,omitempty"` Status EndpointSubscriptionStatus `json:"status,omitempty"` }
func (*EndpointSubscription) DeepCopy ¶
func (in *EndpointSubscription) DeepCopy() *EndpointSubscription
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscription.
func (*EndpointSubscription) DeepCopyInto ¶
func (in *EndpointSubscription) DeepCopyInto(out *EndpointSubscription)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointSubscription) DeepCopyObject ¶
func (in *EndpointSubscription) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*EndpointSubscription) SetupWebhookWithManager ¶
func (r *EndpointSubscription) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*EndpointSubscription) ValidateCreate ¶
func (r *EndpointSubscription) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*EndpointSubscription) ValidateDelete ¶
func (r *EndpointSubscription) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*EndpointSubscription) ValidateUpdate ¶
func (r *EndpointSubscription) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type EndpointSubscriptionList ¶
type EndpointSubscriptionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of EndpointSubscription CRD objects Items []EndpointSubscription `json:"items,omitempty"` }
EndpointSubscriptionList is a list of EndpointSubscriptions
func (*EndpointSubscriptionList) DeepCopy ¶
func (in *EndpointSubscriptionList) DeepCopy() *EndpointSubscriptionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionList.
func (*EndpointSubscriptionList) DeepCopyInto ¶
func (in *EndpointSubscriptionList) DeepCopyInto(out *EndpointSubscriptionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointSubscriptionList) DeepCopyObject ¶
func (in *EndpointSubscriptionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EndpointSubscriptionSpec ¶
type EndpointSubscriptionSpec struct { State *EndpointSubscriptionSpecResource `json:"state,omitempty" tf:"-"` Resource EndpointSubscriptionSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` SecretRef *core.LocalObjectReference `json:"secretRef,omitempty" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*EndpointSubscriptionSpec) DeepCopy ¶
func (in *EndpointSubscriptionSpec) DeepCopy() *EndpointSubscriptionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionSpec.
func (*EndpointSubscriptionSpec) DeepCopyInto ¶
func (in *EndpointSubscriptionSpec) DeepCopyInto(out *EndpointSubscriptionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointSubscriptionSpecResource ¶
type EndpointSubscriptionSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // Endpoint ID ArtifactID *string `json:"artifactID" tf:"artifact_id"` // Subscription Id, API key that is used to create subscription // +optional ClientID *string `json:"clientID,omitempty" tf:"client_id"` // Client Sercret of a Subscription // +optional ClientSecret *string `json:"-" sensitive:"true" tf:"client_secret"` // Indicates if Client Sercret has to be autogenerated // +optional GenerateSecret *bool `json:"generateSecret,omitempty" tf:"generate_secret"` // Subscription name Name *string `json:"name" tf:"name"` // Indicates if client secret is provided to subscription or not // +optional SecretProvided *bool `json:"secretProvided,omitempty" tf:"secret_provided"` // Subscription type. Allowable values are external, internal Type *string `json:"type" tf:"type"` }
func (*EndpointSubscriptionSpecResource) DeepCopy ¶
func (in *EndpointSubscriptionSpecResource) DeepCopy() *EndpointSubscriptionSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionSpecResource.
func (*EndpointSubscriptionSpecResource) DeepCopyInto ¶
func (in *EndpointSubscriptionSpecResource) DeepCopyInto(out *EndpointSubscriptionSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EndpointSubscriptionStatus ¶
type EndpointSubscriptionStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*EndpointSubscriptionStatus) DeepCopy ¶
func (in *EndpointSubscriptionStatus) DeepCopy() *EndpointSubscriptionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionStatus.
func (*EndpointSubscriptionStatus) DeepCopyInto ¶
func (in *EndpointSubscriptionStatus) DeepCopyInto(out *EndpointSubscriptionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.