v1alpha1

package
v0.0.0-...-1aaef2a Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0, BSD-3-Clause, CC-BY-3.0, + 1 more Imports: 13 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the osb v1alpha1 API group +kubebuilder:object:generate=true +groupName=osb.servicefabrik.io

Index

Constants

View Source
const (
	ProvisionAction            = "provision"
	StatusAction               = "status"
	BindAction                 = "bind"
	UnbindAction               = "unbind"
	SourcesAction              = "sources"
	ClusterLabelSelectorAction = "clusterSelector"
)

List of templates to be provided for a service plan

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "osb.servicefabrik.io", Version: "v1alpha1"}
	// SchemeGroupVersion also used for code-generator
	SchemeGroupVersion = GroupVersion

	// 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 APIVersionKind

type APIVersionKind struct {
	APIVersion string `yaml:"apiVersion" json:"apiVersion"`
	Kind       string `yaml:"kind" json:"kind"`
}

APIVersionKind unambiguously identifies a kind.

func (*APIVersionKind) DeepCopy

func (in *APIVersionKind) DeepCopy() *APIVersionKind

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

func (*APIVersionKind) DeepCopyInto

func (in *APIVersionKind) DeepCopyInto(out *APIVersionKind)

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

func (APIVersionKind) GetAPIVersion

func (r APIVersionKind) GetAPIVersion() string

GetAPIVersion returns the APIVersion of the resource

func (APIVersionKind) GetKind

func (r APIVersionKind) GetKind() string

GetKind returns the Kind of the resource

func (APIVersionKind) String

func (r APIVersionKind) String() string

type BindingResponse

type BindingResponse struct {
	SecretRef string `yaml:"secretRef,omitempty" json:"secretRef,omitempty"`
}

BindingResponse defines the details of the binding response

func (*BindingResponse) DeepCopy

func (in *BindingResponse) DeepCopy() *BindingResponse

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

func (*BindingResponse) DeepCopyInto

func (in *BindingResponse) DeepCopyInto(out *BindingResponse)

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

type DashboardClient

type DashboardClient struct {
	ID          string `json:"id,omitempty"`
	Secret      string `json:"secret,omitempty"`
	RedirectURI string `json:"redirectUri,omitempty"`
}

DashboardClient contains the data necessary to activate the Dashboard SSO feature for this service

func (*DashboardClient) DeepCopy

func (in *DashboardClient) DeepCopy() *DashboardClient

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

func (*DashboardClient) DeepCopyInto

func (in *DashboardClient) DeepCopyInto(out *DashboardClient)

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

type MaintenanceInfo

type MaintenanceInfo struct {
	Version     string `json:"version"`
	Description string `json:"description,omitempty"`
}

MaintenanceInfo captures any maintainance related information for give plan

func (*MaintenanceInfo) DeepCopy

func (in *MaintenanceInfo) DeepCopy() *MaintenanceInfo

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

func (*MaintenanceInfo) DeepCopyInto

func (in *MaintenanceInfo) DeepCopyInto(out *MaintenanceInfo)

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

type MetadataSpec

type MetadataSpec struct {
	Labels     map[string]string `json:"labels,omitempty"`
	Attributes map[string]string `json:"attributes,omitempty"`
}

MetadataSpec defines an optional object containing metadata for the Service Instance.

func (*MetadataSpec) DeepCopy

func (in *MetadataSpec) DeepCopy() *MetadataSpec

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

func (*MetadataSpec) DeepCopyInto

func (in *MetadataSpec) DeepCopyInto(out *MetadataSpec)

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

type SFPlan

type SFPlan struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFPlanSpec   `json:"spec,omitempty"`
	Status SFPlanStatus `json:"status,omitempty"`
}

SFPlan is the Schema for the sfplans API

func (*SFPlan) DeepCopy

func (in *SFPlan) DeepCopy() *SFPlan

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

func (*SFPlan) DeepCopyInto

func (in *SFPlan) DeepCopyInto(out *SFPlan)

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

func (*SFPlan) DeepCopyObject

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

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

func (*SFPlan) GetTemplate

func (sfPlan *SFPlan) GetTemplate(action string) (*TemplateSpec, error)

GetTemplate fetches the Template spec with the given action

type SFPlanList

type SFPlanList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFPlan `json:"items"`
}

SFPlanList contains a list of SFPlan

func (*SFPlanList) DeepCopy

func (in *SFPlanList) DeepCopy() *SFPlanList

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

func (*SFPlanList) DeepCopyInto

func (in *SFPlanList) DeepCopyInto(out *SFPlanList)

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

func (*SFPlanList) DeepCopyObject

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

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

type SFPlanSpec

type SFPlanSpec struct {
	Name        string `json:"name"`
	ID          string `json:"id"`
	Description string `json:"description"`

	// +kubebuilder:pruning:PreserveUnknownFields
	Metadata               *runtime.RawExtension `json:"metadata,omitempty"`
	MaintenanceInfo        *MaintenanceInfo      `json:"maintenance_info,omitempty"`
	MaximumPollingDuration int                   `json:"maximum_polling_duration,omitempty"`
	Free                   bool                  `json:"free"`
	Bindable               bool                  `json:"bindable"`
	PlanUpdatable          bool                  `json:"planUpdatable,omitempty"`
	AutoUpdateInstances    bool                  `json:"autoUpdateInstances,omitempty"`
	Schemas                *ServiceSchemas       `json:"schemas,omitempty"`
	Templates              []TemplateSpec        `json:"templates"`
	ServiceID              string                `json:"serviceId"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawContext *runtime.RawExtension `json:"context,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	Manager *runtime.RawExtension `json:"manager,omitempty"`
}

SFPlanSpec defines the desired state of SFPlan

func (*SFPlanSpec) DeepCopy

func (in *SFPlanSpec) DeepCopy() *SFPlanSpec

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

func (*SFPlanSpec) DeepCopyInto

func (in *SFPlanSpec) DeepCopyInto(out *SFPlanSpec)

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

type SFPlanStatus

type SFPlanStatus struct {
	SpecHash string `json:"specHash,omitempty"`
}

SFPlanStatus defines the observed state of SFPlan

func (*SFPlanStatus) DeepCopy

func (in *SFPlanStatus) DeepCopy() *SFPlanStatus

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

func (*SFPlanStatus) DeepCopyInto

func (in *SFPlanStatus) DeepCopyInto(out *SFPlanStatus)

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

type SFService

type SFService struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFServiceSpec   `json:"spec,omitempty"`
	Status SFServiceStatus `json:"status,omitempty"`
}

SFService is the Schema for the sfservices API

func (*SFService) DeepCopy

func (in *SFService) DeepCopy() *SFService

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

func (*SFService) DeepCopyInto

func (in *SFService) DeepCopyInto(out *SFService)

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

func (*SFService) DeepCopyObject

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

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

type SFServiceBinding

type SFServiceBinding struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFServiceBindingSpec   `json:"spec,omitempty"`
	Status SFServiceBindingStatus `json:"status,omitempty"`
}

SFServiceBinding is the Schema for the sfservicebindings API

func (*SFServiceBinding) DeepCopy

func (in *SFServiceBinding) DeepCopy() *SFServiceBinding

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

func (*SFServiceBinding) DeepCopyInto

func (in *SFServiceBinding) DeepCopyInto(out *SFServiceBinding)

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

func (*SFServiceBinding) DeepCopyObject

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

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

func (*SFServiceBinding) GetClusterID

func (r *SFServiceBinding) GetClusterID(c kubernetes.Client) (string, error)

GetClusterID fetches the ClusterID of the SFServiceBinding WARN: This will fetch the corresponding SFServiceInstance

func (*SFServiceBinding) GetDeletionTimestampForMetrics

func (r *SFServiceBinding) GetDeletionTimestampForMetrics() string

GetDeletionTimestampForMetrics return DeletionTimestamp of the SFServiceBinding if exists else return empty string.

func (*SFServiceBinding) GetLabelsForMetrics

func (r *SFServiceBinding) GetLabelsForMetrics() string

GetLabelsForMetrics : Get Labels converted to string from map[string]string for Metrics

func (*SFServiceBinding) GetLastOperation

func (r *SFServiceBinding) GetLastOperation() string

GetLastOperation returns lastOperation label of the SFServiceBinding if exist, else returns empty string.

func (*SFServiceBinding) GetState

func (r *SFServiceBinding) GetState() string

GetState fetches the state of the SFServiceBinding

func (*SFServiceBinding) SetState

func (r *SFServiceBinding) SetState(state string)

SetState updates the state of the SFServiceBinding

type SFServiceBindingList

type SFServiceBindingList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFServiceBinding `json:"items"`
}

SFServiceBindingList contains a list of SFServiceBinding

func (*SFServiceBindingList) DeepCopy

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

func (*SFServiceBindingList) DeepCopyInto

func (in *SFServiceBindingList) DeepCopyInto(out *SFServiceBindingList)

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

func (*SFServiceBindingList) DeepCopyObject

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

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

type SFServiceBindingSpec

type SFServiceBindingSpec struct {
	ID         string `json:"id,omitempty"`
	InstanceID string `json:"instanceId"`
	PlanID     string `json:"planId"`
	ServiceID  string `json:"serviceId"`
	AppGUID    string `json:"appGuid,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	BindResource *runtime.RawExtension `json:"bindResource,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawContext *runtime.RawExtension `json:"context,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawParameters     *runtime.RawExtension `json:"parameters,omitempty"`
	AcceptsIncomplete bool                  `json:"acceptsIncomplete,omitempty"`
}

SFServiceBindingSpec defines the desired state of SFServiceBinding

func (*SFServiceBindingSpec) DeepCopy

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

func (*SFServiceBindingSpec) DeepCopyInto

func (in *SFServiceBindingSpec) DeepCopyInto(out *SFServiceBindingSpec)

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

type SFServiceBindingStatus

type SFServiceBindingStatus struct {
	State       string               `yaml:"state,omitempty" json:"state,omitempty"`
	Error       string               `yaml:"error,omitempty" json:"error,omitempty"`
	Response    BindingResponse      `yaml:"response,omitempty" json:"response,omitempty"`
	AppliedSpec SFServiceBindingSpec `yaml:"appliedSpec,omitempty" json:"appliedSpec,omitempty"`
	Resources   []Source             `yaml:"resources,omitempty" json:"resources,omitempty"`
}

SFServiceBindingStatus defines the observed state of SFServiceBinding

func (*SFServiceBindingStatus) DeepCopy

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

func (*SFServiceBindingStatus) DeepCopyInto

func (in *SFServiceBindingStatus) DeepCopyInto(out *SFServiceBindingStatus)

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

type SFServiceInstance

type SFServiceInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SFServiceInstanceSpec   `json:"spec,omitempty"`
	Status SFServiceInstanceStatus `json:"status,omitempty"`
}

SFServiceInstance is the Schema for the sfserviceinstances API

func (*SFServiceInstance) DeepCopy

func (in *SFServiceInstance) DeepCopy() *SFServiceInstance

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

func (*SFServiceInstance) DeepCopyInto

func (in *SFServiceInstance) DeepCopyInto(out *SFServiceInstance)

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

func (*SFServiceInstance) DeepCopyObject

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

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

func (*SFServiceInstance) GetClusterID

func (r *SFServiceInstance) GetClusterID() (string, error)

GetClusterID fetches the ClusterID of the SFServiceInstance

func (*SFServiceInstance) GetDeletionTimestampForMetrics

func (r *SFServiceInstance) GetDeletionTimestampForMetrics() string

GetDeletionTimestampForMetrics return DeletionTimestamp of the SFServiceInstance if exists else return empty string.

func (*SFServiceInstance) GetLabelsForMetrics

func (r *SFServiceInstance) GetLabelsForMetrics() string

GetLabelsForMetrics : Get Labels converted to string from map[string]string for Metrics

func (*SFServiceInstance) GetLastOperation

func (r *SFServiceInstance) GetLastOperation() string

GetLastOperation returns lastOperation label of the SFServiceInstance if exist, else returns empty string.

func (*SFServiceInstance) GetState

func (r *SFServiceInstance) GetState() string

GetState fetches the state of the SFServiceInstance

func (*SFServiceInstance) SetState

func (r *SFServiceInstance) SetState(state string)

SetState updates the state of the SFServiceInstance

type SFServiceInstanceList

type SFServiceInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFServiceInstance `json:"items"`
}

SFServiceInstanceList contains a list of SFServiceInstance

func (*SFServiceInstanceList) DeepCopy

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

func (*SFServiceInstanceList) DeepCopyInto

func (in *SFServiceInstanceList) DeepCopyInto(out *SFServiceInstanceList)

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

func (*SFServiceInstanceList) DeepCopyObject

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

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

type SFServiceInstanceSpec

type SFServiceInstanceSpec struct {
	InstanceID string `json:"instanceId,omitempty"`
	ServiceID  string `json:"serviceId"`
	PlanID     string `json:"planId"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawContext       *runtime.RawExtension `json:"context,omitempty"`
	OrganizationGUID string                `json:"organizationGuid,omitempty"`
	SpaceGUID        string                `json:"spaceGuid,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawParameters *runtime.RawExtension `json:"parameters,omitempty"`
	Metadata      *MetadataSpec         `json:"metadata,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	PreviousValues *runtime.RawExtension `json:"previousValues,omitempty"`
	ClusterID      string                `json:"clusterId,omitempty"`
}

SFServiceInstanceSpec defines the desired state of SFServiceInstance

func (*SFServiceInstanceSpec) DeepCopy

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

func (*SFServiceInstanceSpec) DeepCopyInto

func (in *SFServiceInstanceSpec) DeepCopyInto(out *SFServiceInstanceSpec)

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

type SFServiceInstanceStatus

type SFServiceInstanceStatus struct {
	DashboardURL     string                `yaml:"dashboardUrl,omitempty" json:"dashboardUrl,omitempty"`
	State            string                `yaml:"state" json:"state"`
	Error            string                `yaml:"error,omitempty" json:"error,omitempty"`
	Description      string                `yaml:"description,omitempty" json:"description,omitempty"`
	InstanceUsable   string                `yaml:"instanceUsable,omitempty" json:"instanceUsable,omitempty"`
	UpdateRepeatable string                `yaml:"updateRepeatable,omitempty" json:"updateRepeatable,omitempty"`
	AppliedSpec      SFServiceInstanceSpec `yaml:"appliedSpec,omitempty" json:"appliedSpec,omitempty"`
	Resources        []Source              `yaml:"resources,omitempty" json:"resources,omitempty"`
}

SFServiceInstanceStatus defines the observed state of SFServiceInstance

func (*SFServiceInstanceStatus) DeepCopy

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

func (*SFServiceInstanceStatus) DeepCopyInto

func (in *SFServiceInstanceStatus) DeepCopyInto(out *SFServiceInstanceStatus)

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

type SFServiceList

type SFServiceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []SFService `json:"items"`
}

SFServiceList contains a list of SFService

func (*SFServiceList) DeepCopy

func (in *SFServiceList) DeepCopy() *SFServiceList

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

func (*SFServiceList) DeepCopyInto

func (in *SFServiceList) DeepCopyInto(out *SFServiceList)

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

func (*SFServiceList) DeepCopyObject

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

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

type SFServiceSpec

type SFServiceSpec struct {
	Name                 string   `json:"name"`
	ID                   string   `json:"id"`
	Description          string   `json:"description"`
	Tags                 []string `json:"tags,omitempty"`
	Requires             []string `json:"requires,omitempty"`
	Bindable             bool     `json:"bindable"`
	InstancesRetrievable bool     `json:"instancesRetrievable,omitempty"`
	BindingsRetrievable  bool     `json:"bindingsRetrievable,omitempty"`
	AllowContextUpdates  bool     `json:"allowContextUpdates,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	Metadata        *runtime.RawExtension `json:"metadata,omitempty"`
	DashboardClient *DashboardClient      `json:"dashboardClient,omitempty"`
	PlanUpdatable   bool                  `json:"planUpdatable,omitempty"`

	// +kubebuilder:pruning:PreserveUnknownFields
	RawContext *runtime.RawExtension `json:"context,omitempty"`
}

SFServiceSpec defines the desired state of SFService

func (*SFServiceSpec) DeepCopy

func (in *SFServiceSpec) DeepCopy() *SFServiceSpec

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

func (*SFServiceSpec) DeepCopyInto

func (in *SFServiceSpec) DeepCopyInto(out *SFServiceSpec)

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

type SFServiceStatus

type SFServiceStatus struct {
}

SFServiceStatus defines the observed state of SFService

func (*SFServiceStatus) DeepCopy

func (in *SFServiceStatus) DeepCopy() *SFServiceStatus

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

func (*SFServiceStatus) DeepCopyInto

func (in *SFServiceStatus) DeepCopyInto(out *SFServiceStatus)

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

type Schema

type Schema struct {
	// +kubebuilder:pruning:PreserveUnknownFields
	Parameters *runtime.RawExtension `json:"parameters"`
}

Schema definition for the input parameters.

func (*Schema) DeepCopy

func (in *Schema) DeepCopy() *Schema

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

func (*Schema) DeepCopyInto

func (in *Schema) DeepCopyInto(out *Schema)

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

type ServiceBindingSchema

type ServiceBindingSchema struct {
	Create *Schema `json:"create,omitempty"`
}

ServiceBindingSchema is the schema definition for creating a Service Binding. Used only if the Service Plan is bindable.

func (*ServiceBindingSchema) DeepCopy

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

func (*ServiceBindingSchema) DeepCopyInto

func (in *ServiceBindingSchema) DeepCopyInto(out *ServiceBindingSchema)

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

type ServiceInstanceSchema

type ServiceInstanceSchema struct {
	Create *Schema `json:"create,omitempty"`
	Update *Schema `json:"update,omitempty"`
}

ServiceInstanceSchema is the schema definitions for creating and updating a Service Instance.

func (*ServiceInstanceSchema) DeepCopy

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

func (*ServiceInstanceSchema) DeepCopyInto

func (in *ServiceInstanceSchema) DeepCopyInto(out *ServiceInstanceSchema)

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

type ServiceSchemas

type ServiceSchemas struct {
	Instance ServiceInstanceSchema `json:"service_instance,omitempty"`
	Binding  ServiceBindingSchema  `json:"service_binding,omitempty"`
}

ServiceSchemas is definitions for Service Instances and Service Bindings for the Service Plan.

func (*ServiceSchemas) DeepCopy

func (in *ServiceSchemas) DeepCopy() *ServiceSchemas

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

func (*ServiceSchemas) DeepCopyInto

func (in *ServiceSchemas) DeepCopyInto(out *ServiceSchemas)

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

type Source

type Source struct {
	APIVersion string `yaml:"apiVersion" json:"apiVersion"`
	Kind       string `yaml:"kind" json:"kind"`
	Name       string `yaml:"name" json:"name"`
	Namespace  string `yaml:"namespace" json:"namespace"`
}

Source is the details for identifying each resource sources.yaml file is unmarshalled to a map[string]Source

func (*Source) DeepCopy

func (in *Source) DeepCopy() *Source

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

func (*Source) DeepCopyInto

func (in *Source) DeepCopyInto(out *Source)

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

func (Source) GetAPIVersion

func (r Source) GetAPIVersion() string

GetAPIVersion returns the APIVersion of the resource

func (Source) GetKind

func (r Source) GetKind() string

GetKind returns the Kind of the resource

func (Source) GetName

func (r Source) GetName() string

GetName returns the Name of the resource

func (Source) GetNamespace

func (r Source) GetNamespace() string

GetNamespace returns the Namespace of the resource

func (Source) String

func (r Source) String() string

type TemplateSpec

type TemplateSpec struct {
	// +kubebuilder:validation:Enum=provision;status;bind;unbind;sources;clusterSelector
	Action string `yaml:"action" json:"action"`

	// +kubebuilder:validation:Enum=gotemplate;helm
	Type           string `yaml:"type" json:"type"`
	URL            string `yaml:"url,omitempty" json:"url,omitempty"`
	Content        string `yaml:"content,omitempty" json:"content,omitempty"`
	ContentEncoded string `yaml:"contentEncoded,omitempty" json:"contentEncoded,omitempty"`
}

TemplateSpec is the specifcation of a template

func (*TemplateSpec) DeepCopy

func (in *TemplateSpec) DeepCopy() *TemplateSpec

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

func (*TemplateSpec) DeepCopyInto

func (in *TemplateSpec) DeepCopyInto(out *TemplateSpec)

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