services

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package services contains models for the CF Services API

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BrokerCatalogFeatures

type BrokerCatalogFeatures struct {
	PlanUpdateable       bool `json:"plan_updateable"`
	Bindable             bool `json:"bindable"`
	InstancesRetrievable bool `json:"instances_retrievable"`
	BindingsRetrievable  bool `json:"bindings_retrievable"`
	AllowContextUpdates  bool `json:"allow_context_updates"`
}

type BrokerCredentials

type BrokerCredentials struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

func (BrokerCredentials) Validate

func (c BrokerCredentials) Validate() error

type InputParameterSchema

type InputParameterSchema struct {
	// +kubebuilder:validation:Optional
	Parameters *runtime.RawExtension `json:"parameters,omitempty"`
}

+kubebuilder:object:generate=true

func (*InputParameterSchema) DeepCopy

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

func (*InputParameterSchema) DeepCopyInto

func (in *InputParameterSchema) DeepCopyInto(out *InputParameterSchema)

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

type LastOperation added in v0.14.0

type LastOperation struct {
	// +kubebuilder:validation:Enum=create;update;delete
	Type string `json:"type"`
	// +kubebuilder:validation:Enum=initial;in progress;succeeded;failed
	State string `json:"state"`

	//+kubebuilder:validation:Optional
	Description string `json:"description"`
}

type ServiceBindingSchema

type ServiceBindingSchema struct {
	Create InputParameterSchema `json:"create"`
}

+kubebuilder:object:generate=true

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 ServiceBroker

type ServiceBroker struct {
	Name string `json:"name"`
	URL  string `json:"url"`
}

+kubebuilder:object:generate=true

func (*ServiceBroker) DeepCopy

func (in *ServiceBroker) DeepCopy() *ServiceBroker

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

func (*ServiceBroker) DeepCopyInto

func (in *ServiceBroker) DeepCopyInto(out *ServiceBroker)

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

type ServiceBrokerCatalog

type ServiceBrokerCatalog struct {
	ID string `json:"id"`
	// +kubebuilder:validation:Optional
	Metadata *runtime.RawExtension `json:"metadata"`
	Features BrokerCatalogFeatures `json:"features"`
}

+kubebuilder:object:generate=true

func (*ServiceBrokerCatalog) DeepCopy

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

func (*ServiceBrokerCatalog) DeepCopyInto

func (in *ServiceBrokerCatalog) DeepCopyInto(out *ServiceBrokerCatalog)

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

type ServiceInstanceSchema

type ServiceInstanceSchema struct {
	Create InputParameterSchema `json:"create"`
	Update InputParameterSchema `json:"update"`
}

+kubebuilder:object:generate=true

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 ServiceOffering

type ServiceOffering struct {
	Name        string   `json:"name"`
	Description string   `json:"description"`
	Tags        []string `json:"tags,omitempty"`
	Requires    []string `json:"required,omitempty"`
	// +kubebuilder:validation:Optional
	DocumentationURL *string              `json:"documentation_url"`
	BrokerCatalog    ServiceBrokerCatalog `json:"broker_catalog"`
}

+kubebuilder:object:generate=true

func (*ServiceOffering) DeepCopy

func (in *ServiceOffering) DeepCopy() *ServiceOffering

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

func (*ServiceOffering) DeepCopyInto

func (in *ServiceOffering) DeepCopyInto(out *ServiceOffering)

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

type ServicePlan

type ServicePlan struct {
	Name          string                   `json:"name"`
	Free          bool                     `json:"free"`
	Description   string                   `json:"description,omitempty"`
	BrokerCatalog ServicePlanBrokerCatalog `json:"broker_catalog"`
	Schemas       ServicePlanSchemas       `json:"schemas"`
}

+kubebuilder:object:generate=true

func (*ServicePlan) DeepCopy

func (in *ServicePlan) DeepCopy() *ServicePlan

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

func (*ServicePlan) DeepCopyInto

func (in *ServicePlan) DeepCopyInto(out *ServicePlan)

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

type ServicePlanBrokerCatalog

type ServicePlanBrokerCatalog struct {
	ID string `json:"id"`
	// +kubebuilder:validation:Optional
	Metadata *runtime.RawExtension `json:"metadata,omitempty"`
	// +kubebuilder:validation:Optional
	Features ServicePlanFeatures `json:"features"`
}

+kubebuilder:object:generate=true

func (*ServicePlanBrokerCatalog) DeepCopy

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

func (*ServicePlanBrokerCatalog) DeepCopyInto

func (in *ServicePlanBrokerCatalog) DeepCopyInto(out *ServicePlanBrokerCatalog)

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

type ServicePlanFeatures

type ServicePlanFeatures struct {
	PlanUpdateable bool `json:"plan_updateable"`
	Bindable       bool `json:"bindable"`
}

type ServicePlanSchemas

type ServicePlanSchemas struct {
	ServiceInstance ServiceInstanceSchema `json:"service_instance"`
	ServiceBinding  ServiceBindingSchema  `json:"service_binding"`
}

+kubebuilder:object:generate=true

func (*ServicePlanSchemas) DeepCopy

func (in *ServicePlanSchemas) DeepCopy() *ServicePlanSchemas

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

func (*ServicePlanSchemas) DeepCopyInto

func (in *ServicePlanSchemas) DeepCopyInto(out *ServicePlanSchemas)

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

type VisibilityOrganization

type VisibilityOrganization struct {
	GUID string `json:"guid"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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