Documentation ¶
Overview ¶
Package v1alpha1 defines all of the versioned (v1alpha1) definitions of the service catalog model. +groupName=servicecatalog.k8s.io
Index ¶
- Constants
- Variables
- func Convert_servicecatalog_BasicAuthConfig_To_v1alpha1_BasicAuthConfig(in *servicecatalog.BasicAuthConfig, out *BasicAuthConfig, s conversion.Scope) error
- func Convert_servicecatalog_BearerTokenAuthConfig_To_v1alpha1_BearerTokenAuthConfig(in *servicecatalog.BearerTokenAuthConfig, out *BearerTokenAuthConfig, ...) error
- func Convert_servicecatalog_BindingCondition_To_v1alpha1_BindingCondition(in *servicecatalog.BindingCondition, out *BindingCondition, s conversion.Scope) error
- func Convert_servicecatalog_BindingList_To_v1alpha1_BindingList(in *servicecatalog.BindingList, out *BindingList, s conversion.Scope) error
- func Convert_servicecatalog_BindingSpec_To_v1alpha1_BindingSpec(in *servicecatalog.BindingSpec, out *BindingSpec, s conversion.Scope) error
- func Convert_servicecatalog_BindingStatus_To_v1alpha1_BindingStatus(in *servicecatalog.BindingStatus, out *BindingStatus, s conversion.Scope) error
- func Convert_servicecatalog_Binding_To_v1alpha1_Binding(in *servicecatalog.Binding, out *Binding, s conversion.Scope) error
- func Convert_servicecatalog_BrokerAuthInfo_To_v1alpha1_BrokerAuthInfo(in *servicecatalog.BrokerAuthInfo, out *BrokerAuthInfo, s conversion.Scope) error
- func Convert_servicecatalog_BrokerCondition_To_v1alpha1_BrokerCondition(in *servicecatalog.BrokerCondition, out *BrokerCondition, s conversion.Scope) error
- func Convert_servicecatalog_BrokerList_To_v1alpha1_BrokerList(in *servicecatalog.BrokerList, out *BrokerList, s conversion.Scope) error
- func Convert_servicecatalog_BrokerSpec_To_v1alpha1_BrokerSpec(in *servicecatalog.BrokerSpec, out *BrokerSpec, s conversion.Scope) error
- func Convert_servicecatalog_BrokerStatus_To_v1alpha1_BrokerStatus(in *servicecatalog.BrokerStatus, out *BrokerStatus, s conversion.Scope) error
- func Convert_servicecatalog_Broker_To_v1alpha1_Broker(in *servicecatalog.Broker, out *Broker, s conversion.Scope) error
- func Convert_servicecatalog_InstanceCondition_To_v1alpha1_InstanceCondition(in *servicecatalog.InstanceCondition, out *InstanceCondition, ...) error
- func Convert_servicecatalog_InstanceList_To_v1alpha1_InstanceList(in *servicecatalog.InstanceList, out *InstanceList, s conversion.Scope) error
- func Convert_servicecatalog_InstanceSpec_To_v1alpha1_InstanceSpec(in *servicecatalog.InstanceSpec, out *InstanceSpec, s conversion.Scope) error
- func Convert_servicecatalog_InstanceStatus_To_v1alpha1_InstanceStatus(in *servicecatalog.InstanceStatus, out *InstanceStatus, s conversion.Scope) error
- func Convert_servicecatalog_Instance_To_v1alpha1_Instance(in *servicecatalog.Instance, out *Instance, s conversion.Scope) error
- func Convert_servicecatalog_ParametersFromSource_To_v1alpha1_ParametersFromSource(in *servicecatalog.ParametersFromSource, out *ParametersFromSource, ...) error
- func Convert_servicecatalog_SecretKeyReference_To_v1alpha1_SecretKeyReference(in *servicecatalog.SecretKeyReference, out *SecretKeyReference, ...) error
- func Convert_servicecatalog_ServiceClassList_To_v1alpha1_ServiceClassList(in *servicecatalog.ServiceClassList, out *ServiceClassList, s conversion.Scope) error
- func Convert_servicecatalog_ServiceClass_To_v1alpha1_ServiceClass(in *servicecatalog.ServiceClass, out *ServiceClass, s conversion.Scope) error
- func Convert_servicecatalog_ServicePlan_To_v1alpha1_ServicePlan(in *servicecatalog.ServicePlan, out *ServicePlan, s conversion.Scope) error
- func Convert_v1alpha1_BasicAuthConfig_To_servicecatalog_BasicAuthConfig(in *BasicAuthConfig, out *servicecatalog.BasicAuthConfig, s conversion.Scope) error
- func Convert_v1alpha1_BearerTokenAuthConfig_To_servicecatalog_BearerTokenAuthConfig(in *BearerTokenAuthConfig, out *servicecatalog.BearerTokenAuthConfig, ...) error
- func Convert_v1alpha1_BindingCondition_To_servicecatalog_BindingCondition(in *BindingCondition, out *servicecatalog.BindingCondition, s conversion.Scope) error
- func Convert_v1alpha1_BindingList_To_servicecatalog_BindingList(in *BindingList, out *servicecatalog.BindingList, s conversion.Scope) error
- func Convert_v1alpha1_BindingSpec_To_servicecatalog_BindingSpec(in *BindingSpec, out *servicecatalog.BindingSpec, s conversion.Scope) error
- func Convert_v1alpha1_BindingStatus_To_servicecatalog_BindingStatus(in *BindingStatus, out *servicecatalog.BindingStatus, s conversion.Scope) error
- func Convert_v1alpha1_Binding_To_servicecatalog_Binding(in *Binding, out *servicecatalog.Binding, s conversion.Scope) error
- func Convert_v1alpha1_BrokerAuthInfo_To_servicecatalog_BrokerAuthInfo(in *BrokerAuthInfo, out *servicecatalog.BrokerAuthInfo, s conversion.Scope) error
- func Convert_v1alpha1_BrokerCondition_To_servicecatalog_BrokerCondition(in *BrokerCondition, out *servicecatalog.BrokerCondition, s conversion.Scope) error
- func Convert_v1alpha1_BrokerList_To_servicecatalog_BrokerList(in *BrokerList, out *servicecatalog.BrokerList, s conversion.Scope) error
- func Convert_v1alpha1_BrokerSpec_To_servicecatalog_BrokerSpec(in *BrokerSpec, out *servicecatalog.BrokerSpec, s conversion.Scope) error
- func Convert_v1alpha1_BrokerStatus_To_servicecatalog_BrokerStatus(in *BrokerStatus, out *servicecatalog.BrokerStatus, s conversion.Scope) error
- func Convert_v1alpha1_Broker_To_servicecatalog_Broker(in *Broker, out *servicecatalog.Broker, s conversion.Scope) error
- func Convert_v1alpha1_InstanceCondition_To_servicecatalog_InstanceCondition(in *InstanceCondition, out *servicecatalog.InstanceCondition, ...) error
- func Convert_v1alpha1_InstanceList_To_servicecatalog_InstanceList(in *InstanceList, out *servicecatalog.InstanceList, s conversion.Scope) error
- func Convert_v1alpha1_InstanceSpec_To_servicecatalog_InstanceSpec(in *InstanceSpec, out *servicecatalog.InstanceSpec, s conversion.Scope) error
- func Convert_v1alpha1_InstanceStatus_To_servicecatalog_InstanceStatus(in *InstanceStatus, out *servicecatalog.InstanceStatus, s conversion.Scope) error
- func Convert_v1alpha1_Instance_To_servicecatalog_Instance(in *Instance, out *servicecatalog.Instance, s conversion.Scope) error
- func Convert_v1alpha1_ParametersFromSource_To_servicecatalog_ParametersFromSource(in *ParametersFromSource, out *servicecatalog.ParametersFromSource, ...) error
- func Convert_v1alpha1_SecretKeyReference_To_servicecatalog_SecretKeyReference(in *SecretKeyReference, out *servicecatalog.SecretKeyReference, ...) error
- func Convert_v1alpha1_ServiceClassList_To_servicecatalog_ServiceClassList(in *ServiceClassList, out *servicecatalog.ServiceClassList, s conversion.Scope) error
- func Convert_v1alpha1_ServiceClass_To_servicecatalog_ServiceClass(in *ServiceClass, out *servicecatalog.ServiceClass, s conversion.Scope) error
- func Convert_v1alpha1_ServicePlan_To_servicecatalog_ServicePlan(in *ServicePlan, out *servicecatalog.ServicePlan, s conversion.Scope) error
- func DeepCopy_v1alpha1_BasicAuthConfig(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BearerTokenAuthConfig(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_Binding(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BindingCondition(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BindingList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BindingSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BindingStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_Broker(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BrokerAuthInfo(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BrokerCondition(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BrokerList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BrokerSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_BrokerStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_Instance(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_InstanceCondition(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_InstanceList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_InstanceSpec(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_InstanceStatus(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ParametersFromSource(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_SecretKeyReference(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ServiceClass(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ServiceClassList(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_v1alpha1_ServicePlan(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) schema.GroupKind
- func RegisterConversions(scheme *runtime.Scheme) error
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- func SetDefaults_Binding(binding *Binding)
- func SetDefaults_BindingSpec(spec *BindingSpec)
- func SetDefaults_InstanceSpec(spec *InstanceSpec)
- func SetObjectDefaults_Binding(in *Binding)
- func SetObjectDefaults_BindingList(in *BindingList)
- func SetObjectDefaults_Instance(in *Instance)
- func SetObjectDefaults_InstanceList(in *InstanceList)
- type BasicAuthConfig
- type BearerTokenAuthConfig
- type Binding
- type BindingCondition
- type BindingConditionType
- type BindingList
- type BindingSpec
- type BindingStatus
- type Broker
- type BrokerAuthInfo
- type BrokerCondition
- type BrokerConditionType
- type BrokerList
- type BrokerSpec
- type BrokerStatus
- type ConditionStatus
- type Instance
- type InstanceCondition
- type InstanceConditionType
- type InstanceList
- type InstanceSpec
- type InstanceStatus
- type ParametersFromSource
- type SecretKeyReference
- type ServiceClass
- type ServiceClassList
- type ServicePlan
Constants ¶
const ( // BasicAuthUsernameKey is the key of the username for SecretTypeBasicAuth secrets BasicAuthUsernameKey = "username" // BasicAuthPasswordKey is the key of the password or token for SecretTypeBasicAuth secrets BasicAuthPasswordKey = "password" // BearerTokenKey is the key of the bearer token for SecretTypeBearerTokenAuth secrets BearerTokenKey = "token" )
const (
FinalizerServiceCatalog string = "kubernetes-incubator/service-catalog"
)
These are external finalizer values to service catalog, must be qualified name.
const GroupName = "servicecatalog.k8s.io"
GroupName is the group name use in this package
Variables ¶
var ( // SchemeBuilder needs to be exported as `SchemeBuilder` so // the code-generation can find it. SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addDefaultingFuncs) // AddToScheme is exposed for API installation AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Convert_servicecatalog_BasicAuthConfig_To_v1alpha1_BasicAuthConfig ¶ added in v0.0.15
func Convert_servicecatalog_BasicAuthConfig_To_v1alpha1_BasicAuthConfig(in *servicecatalog.BasicAuthConfig, out *BasicAuthConfig, s conversion.Scope) error
Convert_servicecatalog_BasicAuthConfig_To_v1alpha1_BasicAuthConfig is an autogenerated conversion function.
func Convert_servicecatalog_BearerTokenAuthConfig_To_v1alpha1_BearerTokenAuthConfig ¶ added in v0.0.15
func Convert_servicecatalog_BearerTokenAuthConfig_To_v1alpha1_BearerTokenAuthConfig(in *servicecatalog.BearerTokenAuthConfig, out *BearerTokenAuthConfig, s conversion.Scope) error
Convert_servicecatalog_BearerTokenAuthConfig_To_v1alpha1_BearerTokenAuthConfig is an autogenerated conversion function.
func Convert_servicecatalog_BindingCondition_To_v1alpha1_BindingCondition ¶
func Convert_servicecatalog_BindingCondition_To_v1alpha1_BindingCondition(in *servicecatalog.BindingCondition, out *BindingCondition, s conversion.Scope) error
Convert_servicecatalog_BindingCondition_To_v1alpha1_BindingCondition is an autogenerated conversion function.
func Convert_servicecatalog_BindingList_To_v1alpha1_BindingList ¶
func Convert_servicecatalog_BindingList_To_v1alpha1_BindingList(in *servicecatalog.BindingList, out *BindingList, s conversion.Scope) error
Convert_servicecatalog_BindingList_To_v1alpha1_BindingList is an autogenerated conversion function.
func Convert_servicecatalog_BindingSpec_To_v1alpha1_BindingSpec ¶
func Convert_servicecatalog_BindingSpec_To_v1alpha1_BindingSpec(in *servicecatalog.BindingSpec, out *BindingSpec, s conversion.Scope) error
Convert_servicecatalog_BindingSpec_To_v1alpha1_BindingSpec is an autogenerated conversion function.
func Convert_servicecatalog_BindingStatus_To_v1alpha1_BindingStatus ¶
func Convert_servicecatalog_BindingStatus_To_v1alpha1_BindingStatus(in *servicecatalog.BindingStatus, out *BindingStatus, s conversion.Scope) error
Convert_servicecatalog_BindingStatus_To_v1alpha1_BindingStatus is an autogenerated conversion function.
func Convert_servicecatalog_Binding_To_v1alpha1_Binding ¶
func Convert_servicecatalog_Binding_To_v1alpha1_Binding(in *servicecatalog.Binding, out *Binding, s conversion.Scope) error
Convert_servicecatalog_Binding_To_v1alpha1_Binding is an autogenerated conversion function.
func Convert_servicecatalog_BrokerAuthInfo_To_v1alpha1_BrokerAuthInfo ¶ added in v0.0.10
func Convert_servicecatalog_BrokerAuthInfo_To_v1alpha1_BrokerAuthInfo(in *servicecatalog.BrokerAuthInfo, out *BrokerAuthInfo, s conversion.Scope) error
Convert_servicecatalog_BrokerAuthInfo_To_v1alpha1_BrokerAuthInfo is an autogenerated conversion function.
func Convert_servicecatalog_BrokerCondition_To_v1alpha1_BrokerCondition ¶
func Convert_servicecatalog_BrokerCondition_To_v1alpha1_BrokerCondition(in *servicecatalog.BrokerCondition, out *BrokerCondition, s conversion.Scope) error
Convert_servicecatalog_BrokerCondition_To_v1alpha1_BrokerCondition is an autogenerated conversion function.
func Convert_servicecatalog_BrokerList_To_v1alpha1_BrokerList ¶
func Convert_servicecatalog_BrokerList_To_v1alpha1_BrokerList(in *servicecatalog.BrokerList, out *BrokerList, s conversion.Scope) error
Convert_servicecatalog_BrokerList_To_v1alpha1_BrokerList is an autogenerated conversion function.
func Convert_servicecatalog_BrokerSpec_To_v1alpha1_BrokerSpec ¶
func Convert_servicecatalog_BrokerSpec_To_v1alpha1_BrokerSpec(in *servicecatalog.BrokerSpec, out *BrokerSpec, s conversion.Scope) error
Convert_servicecatalog_BrokerSpec_To_v1alpha1_BrokerSpec is an autogenerated conversion function.
func Convert_servicecatalog_BrokerStatus_To_v1alpha1_BrokerStatus ¶
func Convert_servicecatalog_BrokerStatus_To_v1alpha1_BrokerStatus(in *servicecatalog.BrokerStatus, out *BrokerStatus, s conversion.Scope) error
Convert_servicecatalog_BrokerStatus_To_v1alpha1_BrokerStatus is an autogenerated conversion function.
func Convert_servicecatalog_Broker_To_v1alpha1_Broker ¶
func Convert_servicecatalog_Broker_To_v1alpha1_Broker(in *servicecatalog.Broker, out *Broker, s conversion.Scope) error
Convert_servicecatalog_Broker_To_v1alpha1_Broker is an autogenerated conversion function.
func Convert_servicecatalog_InstanceCondition_To_v1alpha1_InstanceCondition ¶
func Convert_servicecatalog_InstanceCondition_To_v1alpha1_InstanceCondition(in *servicecatalog.InstanceCondition, out *InstanceCondition, s conversion.Scope) error
Convert_servicecatalog_InstanceCondition_To_v1alpha1_InstanceCondition is an autogenerated conversion function.
func Convert_servicecatalog_InstanceList_To_v1alpha1_InstanceList ¶
func Convert_servicecatalog_InstanceList_To_v1alpha1_InstanceList(in *servicecatalog.InstanceList, out *InstanceList, s conversion.Scope) error
Convert_servicecatalog_InstanceList_To_v1alpha1_InstanceList is an autogenerated conversion function.
func Convert_servicecatalog_InstanceSpec_To_v1alpha1_InstanceSpec ¶
func Convert_servicecatalog_InstanceSpec_To_v1alpha1_InstanceSpec(in *servicecatalog.InstanceSpec, out *InstanceSpec, s conversion.Scope) error
Convert_servicecatalog_InstanceSpec_To_v1alpha1_InstanceSpec is an autogenerated conversion function.
func Convert_servicecatalog_InstanceStatus_To_v1alpha1_InstanceStatus ¶
func Convert_servicecatalog_InstanceStatus_To_v1alpha1_InstanceStatus(in *servicecatalog.InstanceStatus, out *InstanceStatus, s conversion.Scope) error
Convert_servicecatalog_InstanceStatus_To_v1alpha1_InstanceStatus is an autogenerated conversion function.
func Convert_servicecatalog_Instance_To_v1alpha1_Instance ¶
func Convert_servicecatalog_Instance_To_v1alpha1_Instance(in *servicecatalog.Instance, out *Instance, s conversion.Scope) error
Convert_servicecatalog_Instance_To_v1alpha1_Instance is an autogenerated conversion function.
func Convert_servicecatalog_ParametersFromSource_To_v1alpha1_ParametersFromSource ¶ added in v0.0.16
func Convert_servicecatalog_ParametersFromSource_To_v1alpha1_ParametersFromSource(in *servicecatalog.ParametersFromSource, out *ParametersFromSource, s conversion.Scope) error
Convert_servicecatalog_ParametersFromSource_To_v1alpha1_ParametersFromSource is an autogenerated conversion function.
func Convert_servicecatalog_SecretKeyReference_To_v1alpha1_SecretKeyReference ¶ added in v0.0.16
func Convert_servicecatalog_SecretKeyReference_To_v1alpha1_SecretKeyReference(in *servicecatalog.SecretKeyReference, out *SecretKeyReference, s conversion.Scope) error
Convert_servicecatalog_SecretKeyReference_To_v1alpha1_SecretKeyReference is an autogenerated conversion function.
func Convert_servicecatalog_ServiceClassList_To_v1alpha1_ServiceClassList ¶
func Convert_servicecatalog_ServiceClassList_To_v1alpha1_ServiceClassList(in *servicecatalog.ServiceClassList, out *ServiceClassList, s conversion.Scope) error
Convert_servicecatalog_ServiceClassList_To_v1alpha1_ServiceClassList is an autogenerated conversion function.
func Convert_servicecatalog_ServiceClass_To_v1alpha1_ServiceClass ¶
func Convert_servicecatalog_ServiceClass_To_v1alpha1_ServiceClass(in *servicecatalog.ServiceClass, out *ServiceClass, s conversion.Scope) error
Convert_servicecatalog_ServiceClass_To_v1alpha1_ServiceClass is an autogenerated conversion function.
func Convert_servicecatalog_ServicePlan_To_v1alpha1_ServicePlan ¶
func Convert_servicecatalog_ServicePlan_To_v1alpha1_ServicePlan(in *servicecatalog.ServicePlan, out *ServicePlan, s conversion.Scope) error
Convert_servicecatalog_ServicePlan_To_v1alpha1_ServicePlan is an autogenerated conversion function.
func Convert_v1alpha1_BasicAuthConfig_To_servicecatalog_BasicAuthConfig ¶ added in v0.0.15
func Convert_v1alpha1_BasicAuthConfig_To_servicecatalog_BasicAuthConfig(in *BasicAuthConfig, out *servicecatalog.BasicAuthConfig, s conversion.Scope) error
Convert_v1alpha1_BasicAuthConfig_To_servicecatalog_BasicAuthConfig is an autogenerated conversion function.
func Convert_v1alpha1_BearerTokenAuthConfig_To_servicecatalog_BearerTokenAuthConfig ¶ added in v0.0.15
func Convert_v1alpha1_BearerTokenAuthConfig_To_servicecatalog_BearerTokenAuthConfig(in *BearerTokenAuthConfig, out *servicecatalog.BearerTokenAuthConfig, s conversion.Scope) error
Convert_v1alpha1_BearerTokenAuthConfig_To_servicecatalog_BearerTokenAuthConfig is an autogenerated conversion function.
func Convert_v1alpha1_BindingCondition_To_servicecatalog_BindingCondition ¶
func Convert_v1alpha1_BindingCondition_To_servicecatalog_BindingCondition(in *BindingCondition, out *servicecatalog.BindingCondition, s conversion.Scope) error
Convert_v1alpha1_BindingCondition_To_servicecatalog_BindingCondition is an autogenerated conversion function.
func Convert_v1alpha1_BindingList_To_servicecatalog_BindingList ¶
func Convert_v1alpha1_BindingList_To_servicecatalog_BindingList(in *BindingList, out *servicecatalog.BindingList, s conversion.Scope) error
Convert_v1alpha1_BindingList_To_servicecatalog_BindingList is an autogenerated conversion function.
func Convert_v1alpha1_BindingSpec_To_servicecatalog_BindingSpec ¶
func Convert_v1alpha1_BindingSpec_To_servicecatalog_BindingSpec(in *BindingSpec, out *servicecatalog.BindingSpec, s conversion.Scope) error
Convert_v1alpha1_BindingSpec_To_servicecatalog_BindingSpec is an autogenerated conversion function.
func Convert_v1alpha1_BindingStatus_To_servicecatalog_BindingStatus ¶
func Convert_v1alpha1_BindingStatus_To_servicecatalog_BindingStatus(in *BindingStatus, out *servicecatalog.BindingStatus, s conversion.Scope) error
Convert_v1alpha1_BindingStatus_To_servicecatalog_BindingStatus is an autogenerated conversion function.
func Convert_v1alpha1_Binding_To_servicecatalog_Binding ¶
func Convert_v1alpha1_Binding_To_servicecatalog_Binding(in *Binding, out *servicecatalog.Binding, s conversion.Scope) error
Convert_v1alpha1_Binding_To_servicecatalog_Binding is an autogenerated conversion function.
func Convert_v1alpha1_BrokerAuthInfo_To_servicecatalog_BrokerAuthInfo ¶ added in v0.0.10
func Convert_v1alpha1_BrokerAuthInfo_To_servicecatalog_BrokerAuthInfo(in *BrokerAuthInfo, out *servicecatalog.BrokerAuthInfo, s conversion.Scope) error
Convert_v1alpha1_BrokerAuthInfo_To_servicecatalog_BrokerAuthInfo is an autogenerated conversion function.
func Convert_v1alpha1_BrokerCondition_To_servicecatalog_BrokerCondition ¶
func Convert_v1alpha1_BrokerCondition_To_servicecatalog_BrokerCondition(in *BrokerCondition, out *servicecatalog.BrokerCondition, s conversion.Scope) error
Convert_v1alpha1_BrokerCondition_To_servicecatalog_BrokerCondition is an autogenerated conversion function.
func Convert_v1alpha1_BrokerList_To_servicecatalog_BrokerList ¶
func Convert_v1alpha1_BrokerList_To_servicecatalog_BrokerList(in *BrokerList, out *servicecatalog.BrokerList, s conversion.Scope) error
Convert_v1alpha1_BrokerList_To_servicecatalog_BrokerList is an autogenerated conversion function.
func Convert_v1alpha1_BrokerSpec_To_servicecatalog_BrokerSpec ¶
func Convert_v1alpha1_BrokerSpec_To_servicecatalog_BrokerSpec(in *BrokerSpec, out *servicecatalog.BrokerSpec, s conversion.Scope) error
Convert_v1alpha1_BrokerSpec_To_servicecatalog_BrokerSpec is an autogenerated conversion function.
func Convert_v1alpha1_BrokerStatus_To_servicecatalog_BrokerStatus ¶
func Convert_v1alpha1_BrokerStatus_To_servicecatalog_BrokerStatus(in *BrokerStatus, out *servicecatalog.BrokerStatus, s conversion.Scope) error
Convert_v1alpha1_BrokerStatus_To_servicecatalog_BrokerStatus is an autogenerated conversion function.
func Convert_v1alpha1_Broker_To_servicecatalog_Broker ¶
func Convert_v1alpha1_Broker_To_servicecatalog_Broker(in *Broker, out *servicecatalog.Broker, s conversion.Scope) error
Convert_v1alpha1_Broker_To_servicecatalog_Broker is an autogenerated conversion function.
func Convert_v1alpha1_InstanceCondition_To_servicecatalog_InstanceCondition ¶
func Convert_v1alpha1_InstanceCondition_To_servicecatalog_InstanceCondition(in *InstanceCondition, out *servicecatalog.InstanceCondition, s conversion.Scope) error
Convert_v1alpha1_InstanceCondition_To_servicecatalog_InstanceCondition is an autogenerated conversion function.
func Convert_v1alpha1_InstanceList_To_servicecatalog_InstanceList ¶
func Convert_v1alpha1_InstanceList_To_servicecatalog_InstanceList(in *InstanceList, out *servicecatalog.InstanceList, s conversion.Scope) error
Convert_v1alpha1_InstanceList_To_servicecatalog_InstanceList is an autogenerated conversion function.
func Convert_v1alpha1_InstanceSpec_To_servicecatalog_InstanceSpec ¶
func Convert_v1alpha1_InstanceSpec_To_servicecatalog_InstanceSpec(in *InstanceSpec, out *servicecatalog.InstanceSpec, s conversion.Scope) error
Convert_v1alpha1_InstanceSpec_To_servicecatalog_InstanceSpec is an autogenerated conversion function.
func Convert_v1alpha1_InstanceStatus_To_servicecatalog_InstanceStatus ¶
func Convert_v1alpha1_InstanceStatus_To_servicecatalog_InstanceStatus(in *InstanceStatus, out *servicecatalog.InstanceStatus, s conversion.Scope) error
Convert_v1alpha1_InstanceStatus_To_servicecatalog_InstanceStatus is an autogenerated conversion function.
func Convert_v1alpha1_Instance_To_servicecatalog_Instance ¶
func Convert_v1alpha1_Instance_To_servicecatalog_Instance(in *Instance, out *servicecatalog.Instance, s conversion.Scope) error
Convert_v1alpha1_Instance_To_servicecatalog_Instance is an autogenerated conversion function.
func Convert_v1alpha1_ParametersFromSource_To_servicecatalog_ParametersFromSource ¶ added in v0.0.16
func Convert_v1alpha1_ParametersFromSource_To_servicecatalog_ParametersFromSource(in *ParametersFromSource, out *servicecatalog.ParametersFromSource, s conversion.Scope) error
Convert_v1alpha1_ParametersFromSource_To_servicecatalog_ParametersFromSource is an autogenerated conversion function.
func Convert_v1alpha1_SecretKeyReference_To_servicecatalog_SecretKeyReference ¶ added in v0.0.16
func Convert_v1alpha1_SecretKeyReference_To_servicecatalog_SecretKeyReference(in *SecretKeyReference, out *servicecatalog.SecretKeyReference, s conversion.Scope) error
Convert_v1alpha1_SecretKeyReference_To_servicecatalog_SecretKeyReference is an autogenerated conversion function.
func Convert_v1alpha1_ServiceClassList_To_servicecatalog_ServiceClassList ¶
func Convert_v1alpha1_ServiceClassList_To_servicecatalog_ServiceClassList(in *ServiceClassList, out *servicecatalog.ServiceClassList, s conversion.Scope) error
Convert_v1alpha1_ServiceClassList_To_servicecatalog_ServiceClassList is an autogenerated conversion function.
func Convert_v1alpha1_ServiceClass_To_servicecatalog_ServiceClass ¶
func Convert_v1alpha1_ServiceClass_To_servicecatalog_ServiceClass(in *ServiceClass, out *servicecatalog.ServiceClass, s conversion.Scope) error
Convert_v1alpha1_ServiceClass_To_servicecatalog_ServiceClass is an autogenerated conversion function.
func Convert_v1alpha1_ServicePlan_To_servicecatalog_ServicePlan ¶
func Convert_v1alpha1_ServicePlan_To_servicecatalog_ServicePlan(in *ServicePlan, out *servicecatalog.ServicePlan, s conversion.Scope) error
Convert_v1alpha1_ServicePlan_To_servicecatalog_ServicePlan is an autogenerated conversion function.
func DeepCopy_v1alpha1_BasicAuthConfig ¶ added in v0.0.15
func DeepCopy_v1alpha1_BasicAuthConfig(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BasicAuthConfig is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BearerTokenAuthConfig ¶ added in v0.0.15
func DeepCopy_v1alpha1_BearerTokenAuthConfig(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BearerTokenAuthConfig is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_Binding ¶
func DeepCopy_v1alpha1_Binding(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_Binding is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BindingCondition ¶
func DeepCopy_v1alpha1_BindingCondition(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BindingCondition is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BindingList ¶
func DeepCopy_v1alpha1_BindingList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BindingList is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BindingSpec ¶
func DeepCopy_v1alpha1_BindingSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BindingSpec is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BindingStatus ¶
func DeepCopy_v1alpha1_BindingStatus(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BindingStatus is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_Broker ¶
func DeepCopy_v1alpha1_Broker(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_Broker is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BrokerAuthInfo ¶ added in v0.0.10
func DeepCopy_v1alpha1_BrokerAuthInfo(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BrokerAuthInfo is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BrokerCondition ¶
func DeepCopy_v1alpha1_BrokerCondition(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BrokerCondition is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BrokerList ¶
func DeepCopy_v1alpha1_BrokerList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BrokerList is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BrokerSpec ¶
func DeepCopy_v1alpha1_BrokerSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BrokerSpec is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_BrokerStatus ¶
func DeepCopy_v1alpha1_BrokerStatus(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_BrokerStatus is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_Instance ¶
func DeepCopy_v1alpha1_Instance(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_Instance is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_InstanceCondition ¶
func DeepCopy_v1alpha1_InstanceCondition(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_InstanceCondition is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_InstanceList ¶
func DeepCopy_v1alpha1_InstanceList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_InstanceList is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_InstanceSpec ¶
func DeepCopy_v1alpha1_InstanceSpec(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_InstanceSpec is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_InstanceStatus ¶
func DeepCopy_v1alpha1_InstanceStatus(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_InstanceStatus is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_ParametersFromSource ¶ added in v0.0.16
func DeepCopy_v1alpha1_ParametersFromSource(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_ParametersFromSource is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_SecretKeyReference ¶ added in v0.0.16
func DeepCopy_v1alpha1_SecretKeyReference(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_SecretKeyReference is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_ServiceClass ¶
func DeepCopy_v1alpha1_ServiceClass(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_ServiceClass is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_ServiceClassList ¶
func DeepCopy_v1alpha1_ServiceClassList(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_ServiceClassList is an autogenerated deepcopy function.
func DeepCopy_v1alpha1_ServicePlan ¶
func DeepCopy_v1alpha1_ServicePlan(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_v1alpha1_ServicePlan is an autogenerated deepcopy function.
func RegisterConversions ¶
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func RegisterDefaults ¶
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
func SetDefaults_Binding ¶ added in v0.0.14
func SetDefaults_Binding(binding *Binding)
func SetDefaults_BindingSpec ¶
func SetDefaults_BindingSpec(spec *BindingSpec)
func SetDefaults_InstanceSpec ¶
func SetDefaults_InstanceSpec(spec *InstanceSpec)
func SetObjectDefaults_Binding ¶
func SetObjectDefaults_Binding(in *Binding)
func SetObjectDefaults_BindingList ¶
func SetObjectDefaults_BindingList(in *BindingList)
func SetObjectDefaults_Instance ¶
func SetObjectDefaults_Instance(in *Instance)
func SetObjectDefaults_InstanceList ¶
func SetObjectDefaults_InstanceList(in *InstanceList)
Types ¶
type BasicAuthConfig ¶ added in v0.0.15
type BasicAuthConfig struct { // SecretRef is a reference to a Secret containing information the // catalog should use to authenticate to this Broker. // // Required at least one of the fields: // - Secret.Data["username"] - username used for authentication // - Secret.Data["password"] - password or token needed for authentication SecretRef *v1.ObjectReference `json:"secretRef,omitempty"` }
BasicAuthConfig provides config for the basic authentication.
func (*BasicAuthConfig) CodecDecodeSelf ¶ added in v0.0.15
func (x *BasicAuthConfig) CodecDecodeSelf(d *codec1978.Decoder)
func (*BasicAuthConfig) CodecEncodeSelf ¶ added in v0.0.15
func (x *BasicAuthConfig) CodecEncodeSelf(e *codec1978.Encoder)
type BearerTokenAuthConfig ¶ added in v0.0.15
type BearerTokenAuthConfig struct { // SecretRef is a reference to a Secret containing information the // catalog should use to authenticate to this Broker. // // Required field: // - Secret.Data["token"] - bearer token for authentication SecretRef *v1.ObjectReference `json:"secretRef,omitempty"` }
BearerTokenAuthConfig provides config for the bearer token authentication.
func (*BearerTokenAuthConfig) CodecDecodeSelf ¶ added in v0.0.15
func (x *BearerTokenAuthConfig) CodecDecodeSelf(d *codec1978.Decoder)
func (*BearerTokenAuthConfig) CodecEncodeSelf ¶ added in v0.0.15
func (x *BearerTokenAuthConfig) CodecEncodeSelf(e *codec1978.Encoder)
type Binding ¶
type Binding struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec BindingSpec `json:"spec"` Status BindingStatus `json:"status"` }
Binding represents a "used by" relationship between an application and an Instance.
func (*Binding) CodecDecodeSelf ¶
func (*Binding) CodecEncodeSelf ¶
type BindingCondition ¶
type BindingCondition struct { // Type of the condition, currently ('Ready'). Type BindingConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
BindingCondition condition information for a Binding.
func (*BindingCondition) CodecDecodeSelf ¶
func (x *BindingCondition) CodecDecodeSelf(d *codec1978.Decoder)
func (*BindingCondition) CodecEncodeSelf ¶
func (x *BindingCondition) CodecEncodeSelf(e *codec1978.Encoder)
type BindingConditionType ¶
type BindingConditionType string
BindingConditionType represents a BindingCondition value.
const ( // BindingConditionReady represents a binding condition is in ready state. BindingConditionReady BindingConditionType = "Ready" // BindingConditionFailed represents a BindingCondition that has failed // completely and should not be retried. BindingConditionFailed BindingConditionType = "Failed" )
func (*BindingConditionType) CodecDecodeSelf ¶
func (x *BindingConditionType) CodecDecodeSelf(d *codec1978.Decoder)
func (BindingConditionType) CodecEncodeSelf ¶
func (x BindingConditionType) CodecEncodeSelf(e *codec1978.Encoder)
type BindingList ¶
type BindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Binding `json:"items"` }
BindingList is a list of Bindings.
func (*BindingList) CodecDecodeSelf ¶
func (x *BindingList) CodecDecodeSelf(d *codec1978.Decoder)
func (*BindingList) CodecEncodeSelf ¶
func (x *BindingList) CodecEncodeSelf(e *codec1978.Encoder)
type BindingSpec ¶
type BindingSpec struct { // InstanceRef is the reference to the Instance this Binding is to. // // Immutable. InstanceRef v1.LocalObjectReference `json:"instanceRef"` // Parameters is a set of the parameters to be // passed to the underlying broker. // The inline YAML/JSON payload to be translated into equivalent // JSON object. // If a top-level parameter name exists in multiples sources among // `Parameters` and `ParametersFrom` fields, it is // considered to be a user error in the specification // +optional Parameters *runtime.RawExtension `json:"parameters,omitempty"` // List of sources to populate parameters. // If a top-level parameter name exists in multiples sources among // `Parameters` and `ParametersFrom` fields, it is // considered to be a user error in the specification // +optional ParametersFrom []ParametersFromSource `json:"parametersFrom,omitempty"` // SecretName is the name of the secret to create in the Binding's // namespace that will hold the credentials associated with the Binding. SecretName string `json:"secretName,omitempty"` // ExternalID is the identity of this object for use with the OSB API. // // Immutable. ExternalID string `json:"externalID"` }
BindingSpec represents the desired state of a Binding.
func (*BindingSpec) CodecDecodeSelf ¶
func (x *BindingSpec) CodecDecodeSelf(d *codec1978.Decoder)
func (*BindingSpec) CodecEncodeSelf ¶
func (x *BindingSpec) CodecEncodeSelf(e *codec1978.Encoder)
type BindingStatus ¶
type BindingStatus struct { Conditions []BindingCondition `json:"conditions"` // Checksum is the checksum of the BindingSpec that was last successfully // reconciled against the broker. Checksum *string `json:"checksum,omitempty"` }
BindingStatus represents the current status of a Binding.
func (*BindingStatus) CodecDecodeSelf ¶
func (x *BindingStatus) CodecDecodeSelf(d *codec1978.Decoder)
func (*BindingStatus) CodecEncodeSelf ¶
func (x *BindingStatus) CodecEncodeSelf(e *codec1978.Encoder)
type Broker ¶
type Broker struct { metav1.TypeMeta `json:",inline"` // Non-namespaced. The name of this resource in etcd is in ObjectMeta.Name. metav1.ObjectMeta `json:"metadata,omitempty"` Spec BrokerSpec `json:"spec"` Status BrokerStatus `json:"status"` }
Broker represents an entity that provides ServiceClasses for use in the service catalog.
func (*Broker) CodecDecodeSelf ¶
func (*Broker) CodecEncodeSelf ¶
type BrokerAuthInfo ¶ added in v0.0.10
type BrokerAuthInfo struct { // Basic provides configuration for basic authentication. Basic *BasicAuthConfig `json:"basic,omitempty"` // BearerTokenAuthConfig provides configuration to send an opaque value as a bearer token. // The value is referenced from the 'token' field of the given secret. This value should only // contain the token value and not the `Bearer` scheme. Bearer *BearerTokenAuthConfig `json:"bearer,omitempty"` // DEPRECATED: use `Basic` field for configuring basic authentication instead. // BasicAuthSecret is a reference to a Secret containing auth information the // catalog should use to authenticate to this Broker using basic auth. BasicAuthSecret *v1.ObjectReference `json:"basicAuthSecret,omitempty"` }
BrokerAuthInfo is a union type that contains information on one of the authentication methods the the service catalog and brokers may support, according to the OpenServiceBroker API specification (https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md).
func (*BrokerAuthInfo) CodecDecodeSelf ¶ added in v0.0.10
func (x *BrokerAuthInfo) CodecDecodeSelf(d *codec1978.Decoder)
func (*BrokerAuthInfo) CodecEncodeSelf ¶ added in v0.0.10
func (x *BrokerAuthInfo) CodecEncodeSelf(e *codec1978.Encoder)
type BrokerCondition ¶
type BrokerCondition struct { // Type of the condition, currently ('Ready'). Type BrokerConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
BrokerCondition contains condition information for a Broker.
func (*BrokerCondition) CodecDecodeSelf ¶
func (x *BrokerCondition) CodecDecodeSelf(d *codec1978.Decoder)
func (*BrokerCondition) CodecEncodeSelf ¶
func (x *BrokerCondition) CodecEncodeSelf(e *codec1978.Encoder)
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" )
func (*BrokerConditionType) CodecDecodeSelf ¶
func (x *BrokerConditionType) CodecDecodeSelf(d *codec1978.Decoder)
func (BrokerConditionType) CodecEncodeSelf ¶
func (x BrokerConditionType) CodecEncodeSelf(e *codec1978.Encoder)
type BrokerList ¶
type BrokerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Broker `json:"items"` }
BrokerList is a list of Brokers.
func (*BrokerList) CodecDecodeSelf ¶
func (x *BrokerList) CodecDecodeSelf(d *codec1978.Decoder)
func (*BrokerList) CodecEncodeSelf ¶
func (x *BrokerList) CodecEncodeSelf(e *codec1978.Encoder)
type BrokerSpec ¶
type BrokerSpec struct { // URL is the address used to communicate with the Broker. URL string `json:"url"` // AuthInfo contains the data that the service catalog should use to authenticate // with the Broker. AuthInfo *BrokerAuthInfo `json:"authInfo,omitempty"` }
BrokerSpec represents a description of a Broker.
func (*BrokerSpec) CodecDecodeSelf ¶
func (x *BrokerSpec) CodecDecodeSelf(d *codec1978.Decoder)
func (*BrokerSpec) CodecEncodeSelf ¶
func (x *BrokerSpec) CodecEncodeSelf(e *codec1978.Encoder)
type BrokerStatus ¶
type BrokerStatus struct { Conditions []BrokerCondition `json:"conditions"` // Checksum is the sha hash of the BrokerSpec that was last successfully // reconciled against the broker. Checksum *string `json:"checksum,omitempty"` }
BrokerStatus represents the current status of a Broker.
func (*BrokerStatus) CodecDecodeSelf ¶
func (x *BrokerStatus) CodecDecodeSelf(d *codec1978.Decoder)
func (*BrokerStatus) CodecEncodeSelf ¶
func (x *BrokerStatus) CodecEncodeSelf(e *codec1978.Encoder)
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.
func (*ConditionStatus) CodecDecodeSelf ¶
func (x *ConditionStatus) CodecDecodeSelf(d *codec1978.Decoder)
func (ConditionStatus) CodecEncodeSelf ¶
func (x ConditionStatus) CodecEncodeSelf(e *codec1978.Encoder)
type Instance ¶
type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status"` }
Instance represents a provisioned instance of a ServiceClass.
func (*Instance) CodecDecodeSelf ¶
func (*Instance) CodecEncodeSelf ¶
type InstanceCondition ¶
type InstanceCondition struct { // Type of the condition, currently ('Ready'). Type InstanceConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status ConditionStatus `json:"status"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message"` }
InstanceCondition contains condition information about an Instance.
func (*InstanceCondition) CodecDecodeSelf ¶
func (x *InstanceCondition) CodecDecodeSelf(d *codec1978.Decoder)
func (*InstanceCondition) CodecEncodeSelf ¶
func (x *InstanceCondition) CodecEncodeSelf(e *codec1978.Encoder)
type InstanceConditionType ¶
type InstanceConditionType string
InstanceConditionType represents a instance condition value.
const ( // InstanceConditionReady represents that a given InstanceCondition is in // ready state. InstanceConditionReady InstanceConditionType = "Ready" // InstanceConditionFailed represents information about a final failure // that should not be retried. InstanceConditionFailed InstanceConditionType = "Failed" )
func (*InstanceConditionType) CodecDecodeSelf ¶
func (x *InstanceConditionType) CodecDecodeSelf(d *codec1978.Decoder)
func (InstanceConditionType) CodecEncodeSelf ¶
func (x InstanceConditionType) CodecEncodeSelf(e *codec1978.Encoder)
type InstanceList ¶
type InstanceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Instance `json:"items"` }
InstanceList is a list of instances.
func (*InstanceList) CodecDecodeSelf ¶
func (x *InstanceList) CodecDecodeSelf(d *codec1978.Decoder)
func (*InstanceList) CodecEncodeSelf ¶
func (x *InstanceList) CodecEncodeSelf(e *codec1978.Encoder)
type InstanceSpec ¶
type InstanceSpec struct { // ServiceClassName is the reference to the ServiceClass this Instance // should be provisioned from. // // Immutable. ServiceClassName string `json:"serviceClassName"` // PlanName is the name of the ServicePlan this Instance should be // provisioned from. // If omitted and there is only one plan in the specified ServiceClass // it will be used. // If omitted and there are more than one plan in the specified ServiceClass // the request will be rejected. PlanName string `json:"planName,omitempty"` // Parameters is a set of the parameters to be // passed to the underlying broker. // The inline YAML/JSON payload to be translated into equivalent // JSON object. // If a top-level parameter name exists in multiples sources among // `Parameters` and `ParametersFrom` fields, it is // considered to be a user error in the specification // +optional Parameters *runtime.RawExtension `json:"parameters,omitempty"` // List of sources to populate parameters. // If a top-level parameter name exists in multiples sources among // `Parameters` and `ParametersFrom` fields, it is // considered to be a user error in the specification // +optional ParametersFrom []ParametersFromSource `json:"parametersFrom,omitempty"` // ExternalID is the identity of this object for use with the OSB SB API. // // Immutable. ExternalID string `json:"externalID"` }
InstanceSpec represents the desired state of an Instance.
func (*InstanceSpec) CodecDecodeSelf ¶
func (x *InstanceSpec) CodecDecodeSelf(d *codec1978.Decoder)
func (*InstanceSpec) CodecEncodeSelf ¶
func (x *InstanceSpec) CodecEncodeSelf(e *codec1978.Encoder)
type InstanceStatus ¶
type InstanceStatus struct { // Conditions is an array of InstanceConditions capturing aspects of an // Instance's status. Conditions []InstanceCondition `json:"conditions"` // AsyncOpInProgress is set to true if there is an ongoing async operation // against this Service Instance in progress. AsyncOpInProgress bool `json:"asyncOpInProgress"` // LastOperation is the string that the broker may have returned when // an async operation started, it should be sent back to the broker // on poll requests as a query param. LastOperation *string `json:"lastOperation,omitempty"` // DashboardURL is the URL of a web-based management user interface for // the service instance. DashboardURL *string `json:"dashboardURL,omitempty"` // Checksum is the checksum of the InstanceSpec that was last successfully // reconciled against the broker. Checksum *string `json:"checksum,omitempty"` }
InstanceStatus represents the current status of an Instance.
func (*InstanceStatus) CodecDecodeSelf ¶
func (x *InstanceStatus) CodecDecodeSelf(d *codec1978.Decoder)
func (*InstanceStatus) CodecEncodeSelf ¶
func (x *InstanceStatus) CodecEncodeSelf(e *codec1978.Encoder)
type ParametersFromSource ¶ added in v0.0.16
type ParametersFromSource struct { // The Secret key to select from. // The value must be a JSON object. //+optional SecretKeyRef *SecretKeyReference `json:"secretKeyRef,omitempty"` }
ParametersFromSource represents the source of a set of Parameters
func (*ParametersFromSource) CodecDecodeSelf ¶ added in v0.0.16
func (x *ParametersFromSource) CodecDecodeSelf(d *codec1978.Decoder)
func (*ParametersFromSource) CodecEncodeSelf ¶ added in v0.0.16
func (x *ParametersFromSource) CodecEncodeSelf(e *codec1978.Encoder)
type SecretKeyReference ¶ added in v0.0.16
type SecretKeyReference struct { // The name of the secret in the pod's namespace to select from. Name string `json:"name"` // The key of the secret to select from. Must be a valid secret key. Key string `json:"key"` }
SecretKeyReference references a key of a Secret.
func (*SecretKeyReference) CodecDecodeSelf ¶ added in v0.0.16
func (x *SecretKeyReference) CodecDecodeSelf(d *codec1978.Decoder)
func (*SecretKeyReference) CodecEncodeSelf ¶ added in v0.0.16
func (x *SecretKeyReference) CodecEncodeSelf(e *codec1978.Encoder)
type ServiceClass ¶
type ServiceClass struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // BrokerName is the reference to the Broker that provides this // ServiceClass. // // Immutable. BrokerName string `json:"brokerName"` // Description is a short description of this ServiceClass. Description string `json:"description"` // Bindable indicates whether a user can create bindings to an Instance // provisioned from this service. ServicePlan has an optional field called // Bindable which overrides the value of this field. Bindable bool `json:"bindable"` // Plans is the list of ServicePlans for this ServiceClass. All // ServiceClasses have at least one ServicePlan. Plans []ServicePlan `json:"plans"` // PlanUpdatable indicates whether instances provisioned from this // ServiceClass may change ServicePlans after being provisioned. PlanUpdatable bool `json:"planUpdatable"` // ExternalID is the identity of this object for use with the OSB API. // // Immutable. ExternalID string `json:"externalID"` // ExternalMetadata is a blob of information about the ServiceClass, meant // to be user-facing content and display instructions. This field may // contain platform-specific conventional values. ExternalMetadata *runtime.RawExtension `json:"externalMetadata, omitempty"` // Currently, this field is ALPHA: it may change or disappear at any time // and its data will not be migrated. // // Tags is a list of strings that represent different classification // attributes of the ServiceClass. These are used in Cloud Foundry in a // way similar to Kubernetes labels, but they currently have no special // meaning in Kubernetes. AlphaTags []string `json:"alphaTags,omitempty"` // Currently, this field is ALPHA: it may change or disappear at any time // and its data will not be migrated. // // AlphaRequires exposes a list of Cloud Foundry-specific 'permissions' // that must be granted to an instance of this service within Cloud // Foundry. These 'permissions' have no meaning within Kubernetes and an // Instance provisioned from this ServiceClass will not work correctly. AlphaRequires []string `json:"alphaRequires,omitempty"` }
ServiceClass represents an offering in the service catalog.
func (*ServiceClass) CodecDecodeSelf ¶
func (x *ServiceClass) CodecDecodeSelf(d *codec1978.Decoder)
func (*ServiceClass) CodecEncodeSelf ¶
func (x *ServiceClass) CodecEncodeSelf(e *codec1978.Encoder)
type ServiceClassList ¶
type ServiceClassList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceClass `json:"items"` }
ServiceClassList is a list of ServiceClasses.
func (*ServiceClassList) CodecDecodeSelf ¶
func (x *ServiceClassList) CodecDecodeSelf(d *codec1978.Decoder)
func (*ServiceClassList) CodecEncodeSelf ¶
func (x *ServiceClassList) CodecEncodeSelf(e *codec1978.Encoder)
type ServicePlan ¶
type ServicePlan struct { // Name is the CLI-friendly name of this ServicePlan. Name string `json:"name"` // ExternalID is the identity of this object for use with the OSB API. // // Immutable. ExternalID string `json:"externalID"` // Description is a short description of this ServicePlan. Description string `json:"description"` // Bindable indicates whether a user can create bindings to an Instance // using this ServicePlan. If set, overrides the value of the // ServiceClass.Bindable field. Bindable *bool `json:"bindable,omitempty"` // Free indicates whether this plan is available at no cost. Free bool `json:"free"` // ExternalMetadata is a blob of information about the plan, meant to be // user-facing content and display instructions. This field may contain // platform-specific conventional values. ExternalMetadata *runtime.RawExtension `json:"externalMetadata, omitempty"` // Currently, this field is ALPHA: it may change or disappear at any time // and its data will not be migrated. // // AlphaInstanceCreateParameterSchema is the schema for the parameters // that may be supplied when provisioning a new Instance on this plan. AlphaInstanceCreateParameterSchema *runtime.RawExtension `json:"alphaInstanceCreateParameterSchema,omitempty"` // Currently, this field is ALPHA: it may change or disappear at any time // and its data will not be migrated. // // AlphaInstanceUpdateParameterSchema is the schema for the parameters // that may be updated once an Instance has been provisioned on this plan. // This field only has meaning if the ServiceClass is PlanUpdatable. AlphaInstanceUpdateParameterSchema *runtime.RawExtension `json:"alphaInstanceUpdateParameterSchema,omitempty"` // Currently, this field is ALPHA: it may change or disappear at any time // and its data will not be migrated. // // AlphaBindingCreateParameterSchema is the schema for the parameters that // may be supplied binding to an Instance on this plan. AlphaBindingCreateParameterSchema *runtime.RawExtension `json:"alphaBindingCreateParameterSchema,omitempty"` }
ServicePlan represents a tier of a ServiceClass.
func (*ServicePlan) CodecDecodeSelf ¶
func (x *ServicePlan) CodecDecodeSelf(d *codec1978.Decoder)
func (*ServicePlan) CodecEncodeSelf ¶
func (x *ServicePlan) CodecEncodeSelf(e *codec1978.Encoder)