v1alpha1

package
v0.0.0-...-23f0366 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=sdkbroker.broker.k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: broker.GroupName, Version: APIGroupVersion}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_broker_ServiceInstanceCondition_To_v1alpha1_ServiceInstanceCondition

func Convert_broker_ServiceInstanceCondition_To_v1alpha1_ServiceInstanceCondition(in *broker.ServiceInstanceCondition, out *ServiceInstanceCondition, s conversion.Scope) error

Convert_broker_ServiceInstanceCondition_To_v1alpha1_ServiceInstanceCondition is an autogenerated conversion function.

func Convert_broker_ServiceInstanceList_To_v1alpha1_ServiceInstanceList

func Convert_broker_ServiceInstanceList_To_v1alpha1_ServiceInstanceList(in *broker.ServiceInstanceList, out *ServiceInstanceList, s conversion.Scope) error

Convert_broker_ServiceInstanceList_To_v1alpha1_ServiceInstanceList is an autogenerated conversion function.

func Convert_broker_ServiceInstanceSpec_To_v1alpha1_ServiceInstanceSpec

func Convert_broker_ServiceInstanceSpec_To_v1alpha1_ServiceInstanceSpec(in *broker.ServiceInstanceSpec, out *ServiceInstanceSpec, s conversion.Scope) error

Convert_broker_ServiceInstanceSpec_To_v1alpha1_ServiceInstanceSpec is an autogenerated conversion function.

func Convert_broker_ServiceInstanceStatus_To_v1alpha1_ServiceInstanceStatus

func Convert_broker_ServiceInstanceStatus_To_v1alpha1_ServiceInstanceStatus(in *broker.ServiceInstanceStatus, out *ServiceInstanceStatus, s conversion.Scope) error

Convert_broker_ServiceInstanceStatus_To_v1alpha1_ServiceInstanceStatus is an autogenerated conversion function.

func Convert_broker_ServiceInstance_To_v1alpha1_ServiceInstance

func Convert_broker_ServiceInstance_To_v1alpha1_ServiceInstance(in *broker.ServiceInstance, out *ServiceInstance, s conversion.Scope) error

Convert_broker_ServiceInstance_To_v1alpha1_ServiceInstance is an autogenerated conversion function.

func Convert_v1alpha1_ServiceInstanceCondition_To_broker_ServiceInstanceCondition

func Convert_v1alpha1_ServiceInstanceCondition_To_broker_ServiceInstanceCondition(in *ServiceInstanceCondition, out *broker.ServiceInstanceCondition, s conversion.Scope) error

Convert_v1alpha1_ServiceInstanceCondition_To_broker_ServiceInstanceCondition is an autogenerated conversion function.

func Convert_v1alpha1_ServiceInstanceList_To_broker_ServiceInstanceList

func Convert_v1alpha1_ServiceInstanceList_To_broker_ServiceInstanceList(in *ServiceInstanceList, out *broker.ServiceInstanceList, s conversion.Scope) error

Convert_v1alpha1_ServiceInstanceList_To_broker_ServiceInstanceList is an autogenerated conversion function.

func Convert_v1alpha1_ServiceInstanceSpec_To_broker_ServiceInstanceSpec

func Convert_v1alpha1_ServiceInstanceSpec_To_broker_ServiceInstanceSpec(in *ServiceInstanceSpec, out *broker.ServiceInstanceSpec, s conversion.Scope) error

Convert_v1alpha1_ServiceInstanceSpec_To_broker_ServiceInstanceSpec is an autogenerated conversion function.

func Convert_v1alpha1_ServiceInstanceStatus_To_broker_ServiceInstanceStatus

func Convert_v1alpha1_ServiceInstanceStatus_To_broker_ServiceInstanceStatus(in *ServiceInstanceStatus, out *broker.ServiceInstanceStatus, s conversion.Scope) error

Convert_v1alpha1_ServiceInstanceStatus_To_broker_ServiceInstanceStatus is an autogenerated conversion function.

func Convert_v1alpha1_ServiceInstance_To_broker_ServiceInstance

func Convert_v1alpha1_ServiceInstance_To_broker_ServiceInstance(in *ServiceInstance, out *broker.ServiceInstance, s conversion.Scope) error

Convert_v1alpha1_ServiceInstance_To_broker_ServiceInstance is an autogenerated conversion function.

func DeepCopy_v1alpha1_ServiceInstance

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

DeepCopy_v1alpha1_ServiceInstance is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ServiceInstanceCondition

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

DeepCopy_v1alpha1_ServiceInstanceCondition is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ServiceInstanceList

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

DeepCopy_v1alpha1_ServiceInstanceList is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ServiceInstanceSpec

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

DeepCopy_v1alpha1_ServiceInstanceSpec is an autogenerated deepcopy function.

func DeepCopy_v1alpha1_ServiceInstanceStatus

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

DeepCopy_v1alpha1_ServiceInstanceStatus is an autogenerated deepcopy function.

func RegisterConversions

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

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.

Types

type ServiceInstance

type ServiceInstance struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ServiceInstanceSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ServiceInstanceStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

ServiceInstance represents a service instance provision request, possibly fullfilled.

type ServiceInstanceCondition

type ServiceInstanceCondition struct {
	// Type of the condition, currently Ready or Failure.
	Type ServiceInstanceConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=ServiceInstanceConditionType"`
	// Status of the condition, one of True, False or Unknown.
	Status kapi.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
	// LastTransitionTime is the last time a condition status transitioned from
	// one state to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Reason is a brief machine readable explanation for the condition's last
	// transition.
	Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"`
	// Message is a human readable description of the details of the last
	// transition, complementing reason.
	Message string `json:"message" protobuf:"bytes,5,opt,name=message"`
}

ServiceInstanceCondition contains condition information for a ServiceInstance.

type ServiceInstanceConditionType

type ServiceInstanceConditionType string

ServiceInstanceConditionType is the type of condition pertaining to a ServiceInstance.

const (
	// ServiceInstanceReady indicates the readiness of the template
	// instantiation.
	ServiceInstanceReady ServiceInstanceConditionType = "Ready"
	// ServiceInstanceInstantiateFailed indicates the failure of the provision request
	ServiceInstanceFailed ServiceInstanceConditionType = "Failed"

	APIGroupVersion = "v1alpha1"
)

type ServiceInstanceList

type ServiceInstanceList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Items []ServiceInstance `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ServiceInstanceList is a list of ServiceInstance objects.

type ServiceInstanceSpec

type ServiceInstanceSpec struct {
	// Credential is a sample value associatd w/ the provisioned service
	Credential string `json:"credential" protobuf:"bytes,1,opt,name=credential"`
}

ServiceInstanceSpec defines the requested ServiceInstance

type ServiceInstanceStatus

type ServiceInstanceStatus struct {
	Conditions []ServiceInstanceCondition `json:"conditions" protobuf:"bytes,1,rep,name=conditions"`
}

ServiceInstanceStatus defines the current state of the ServiceInstance

Jump to

Keyboard shortcuts

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