v1alpha1

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=apigateway.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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

func (in *Endpoint) DeepCopy() *Endpoint

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Endpoint.

func (*Endpoint) DeepCopyInto

func (in *Endpoint) DeepCopyInto(out *Endpoint)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Endpoint) DeepCopyObject

func (in *Endpoint) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Endpoint) SetupWebhookWithManager

func (r *Endpoint) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Endpoint) ValidateCreate

func (r *Endpoint) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Endpoint) ValidateDelete

func (r *Endpoint) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Endpoint) ValidateUpdate

func (r *Endpoint) ValidateUpdate(old runtime.Object) error

ValidateUpdate 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"`
	// The Shared status of an endpoint
	// +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

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

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

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionSpecResource.

func (*EndpointSubscriptionSpecResource) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointSubscriptionStatus.

func (*EndpointSubscriptionStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL