servicecatalog

package
v0.0.1-RC2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package servicecatalog contains all of the sources needed to make servicebrokers and their related service objects. +groupName=

Index

Constants

View Source
const GroupName = "servicecatalog.k8s.io"

GroupName is the group name use in this package

Variables

View Source
var (
	// SchemeBuilder needs to be exported as `SchemeBuilder` so
	// the code-generation can find it.
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is exposed for API installation
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: runtime.APIVersionInternal}

SchemeGroupVersion is group version used to register these objects

Functions

func DeepCopy_servicecatalog_Binding

func DeepCopy_servicecatalog_Binding(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BindingCondition

func DeepCopy_servicecatalog_BindingCondition(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BindingList

func DeepCopy_servicecatalog_BindingList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BindingSpec

func DeepCopy_servicecatalog_BindingSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BindingStatus

func DeepCopy_servicecatalog_BindingStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_Broker

func DeepCopy_servicecatalog_Broker(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BrokerCondition

func DeepCopy_servicecatalog_BrokerCondition(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BrokerList

func DeepCopy_servicecatalog_BrokerList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BrokerSpec

func DeepCopy_servicecatalog_BrokerSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_BrokerStatus

func DeepCopy_servicecatalog_BrokerStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_Instance

func DeepCopy_servicecatalog_Instance(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_InstanceCondition

func DeepCopy_servicecatalog_InstanceCondition(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_InstanceList

func DeepCopy_servicecatalog_InstanceList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_InstanceSpec

func DeepCopy_servicecatalog_InstanceSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_InstanceStatus

func DeepCopy_servicecatalog_InstanceStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_ServiceClass

func DeepCopy_servicecatalog_ServiceClass(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_ServiceClassList

func DeepCopy_servicecatalog_ServiceClassList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_servicecatalog_ServicePlan

func DeepCopy_servicecatalog_ServicePlan(in interface{}, out interface{}, c *conversion.Cloner) error

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDeepCopies

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Binding

type Binding struct {
	metav1.TypeMeta
	kapi.ObjectMeta

	Spec   BindingSpec
	Status BindingStatus
}

Binding represents a "used by" relationship between an application and an Instance.

type BindingCondition

type BindingCondition struct {
	Type    BindingConditionType
	Status  ConditionStatus
	Reason  string
	Message string
}

BindingCondition represents an aspect of a Binding's status.

type BindingConditionType

type BindingConditionType string

BindingConditionType represents a binding condition value

const (
	// BindingConditionReady represents a binding condition is in ready state
	BindingConditionReady BindingConditionType = "Ready"
)

type BindingList

type BindingList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []Binding
}

BindingList is a list of Bindings

type BindingSpec

type BindingSpec struct {
	// InstanceRef is the reference to the Instance this binding is to.
	// Immutable.
	InstanceRef v1.LocalObjectReference

	// Parameters is a YAML representation of the properties to be
	// passed to the underlying broker.
	Parameters *runtime.RawExtension

	// Names of subordinate objects to create
	SecretName string

	// OSB-specific
	// OSBGUID is the identity of this object for use with the OSB API.
	// Immutable.
	OSBGUID string

	// Checksum is the checksum of the BindingSpec that was last successfully
	// reconciled against the broker.
	Checksum *string
}

BindingSpec represents a description of a Binding.

type BindingStatus

type BindingStatus struct {
	Conditions []BindingCondition
}

BindingStatus represents the current status of a Binding.

type Broker

type Broker struct {
	metav1.TypeMeta
	kapi.ObjectMeta

	Spec   BrokerSpec
	Status BrokerStatus
}

Broker represents an entity that provides ServiceClasses for use in the service catalog.

type BrokerCondition

type BrokerCondition struct {
	Type    BrokerConditionType
	Status  ConditionStatus
	Reason  string
	Message string
}

BrokerCondition represents an aspect of a Broker's status.

type BrokerConditionType

type BrokerConditionType string

BrokerConditionType represents a broker condition value

const (
	// BrokerConditionReady represents the fact that a given broker condition is in ready state
	BrokerConditionReady BrokerConditionType = "Ready"
)

type BrokerList

type BrokerList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []Broker
}

BrokerList is a list of Brokers.

type BrokerSpec

type BrokerSpec struct {
	// The URL to communicate with the Broker via..
	URL string

	// AuthSecret is a reference to a Secret containing auth information the
	// catalog should use to authenticate to this Broker.
	AuthSecret *v1.ObjectReference
}

BrokerSpec represents a description of a Broker.

type BrokerStatus

type BrokerStatus struct {
	Conditions []BrokerCondition
}

BrokerStatus represents the current status of a Broker.

type ConditionStatus

type ConditionStatus string

ConditionStatus represents a condition's status

const (
	// ConditionTrue represents the fact that a given condition is true
	ConditionTrue ConditionStatus = "True"
	// ConditionFalse represents the fact that a given condition is false
	ConditionFalse ConditionStatus = "False"
	// ConditionUnknown represents the fact that a given condition is unknown
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means kubernetes can't decide if a resource is in the condition or not. In the future, we could add other intermediate conditions, e.g. ConditionDegraded.

type Instance

type Instance struct {
	metav1.TypeMeta
	kapi.ObjectMeta

	Spec   InstanceSpec
	Status InstanceStatus
}

Instance represents a provisioned instance of a ServiceClass.

type InstanceCondition

type InstanceCondition struct {
	Type    InstanceConditionType
	Status  ConditionStatus
	Reason  string
	Message string
}

InstanceCondition represents an aspect of an Instance's status.

type InstanceConditionType

type InstanceConditionType string

InstanceConditionType represents a instance condition value

const (
	// InstanceConditionReady represents that a given instance condition is in
	// ready state
	InstanceConditionReady InstanceConditionType = "Ready"
)

type InstanceList

type InstanceList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []Instance
}

InstanceList is a list of instances.

type InstanceSpec

type InstanceSpec struct {
	// ServiceClassName is the reference to the ServiceClass this is an
	// instance of.  Immutable.
	ServiceClassName string
	// ServicePlanName is the reference to the ServicePlan for this instance.
	PlanName string

	// Parameters is a YAML representation of the properties to be
	// passed to the underlying broker.
	Parameters *runtime.RawExtension

	// OSB-specific
	// OSBGUID is the identity of this object for use with the OSB API.
	// Immutable.
	OSBGUID string

	// OSB-specific
	OSBDashboardURL  *string
	OSBLastOperation *string

	// Checksum is the checksum of the InstanceSpec that was last successfully
	// reconciled against the broker.
	Checksum *string
}

InstanceSpec represents a description of an Instance.

type InstanceStatus

type InstanceStatus struct {
	Conditions []InstanceCondition
}

InstanceStatus represents the current status of an Instance.

type ServiceClass

type ServiceClass struct {
	metav1.TypeMeta
	kapi.ObjectMeta

	// BrokerName is the reference to the Broker that provides this service.
	// Immutable.
	BrokerName string

	Bindable      bool
	Plans         []ServicePlan
	PlanUpdatable bool // Do we support this?

	// OSB-specific
	// OSBGUID is the identity of this object for use with the OSB API.
	// Immutable.
	OSBGUID string

	// OSB-specific
	OSBTags                    []string
	OSBRequires                []string
	OSBMaxDBPerNode            *string
	OSBDashboardOAuth2ClientID *string
	OSBDashboardSecret         *string
	OSBDashboardRedirectURI    *string
	OSBMetadata                *runtime.RawExtension
}

ServiceClass represents an offering in the service catalog.

type ServiceClassList

type ServiceClassList struct {
	metav1.TypeMeta
	metav1.ListMeta

	Items []ServiceClass
}

ServiceClassList is a list of ServiceClasses

type ServicePlan

type ServicePlan struct {
	// CLI-friendly name of this plan
	Name string

	// OSB-specific
	// OSBGUID is the identity of this object for use with the OSB API.
	// Immutable.
	OSBGUID string

	// OSB-specific
	OSBFree     bool
	Description *string
	OSBMetadata *runtime.RawExtension
}

ServicePlan represents a tier of a ServiceClass.

Directories

Path Synopsis
checksum
Package install registers the service-catalog API group
Package install registers the service-catalog API group
Package v1alpha1 defines all of the versioned (v1alpha1) definitions of the service catalog model.
Package v1alpha1 defines all of the versioned (v1alpha1) definitions of the service catalog model.

Jump to

Keyboard shortcuts

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