v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

+groupName=servicecatalog.kyma.cx

Index

Constants

This section is empty.

Variables

View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "servicecatalog.kyma.cx", Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ConditionStatus

type ConditionStatus string

ConditionStatus represents a condition's status.

const (
	// ConditionTrue means a resource is in the condition.
	ConditionTrue ConditionStatus = "True"
	// ConditionFalse means a resource is not in the condition
	ConditionFalse ConditionStatus = "False"
	// ConditionUnknown means controller can't decide if a usage is in the condition or not.
	ConditionUnknown ConditionStatus = "Unknown"
)

type EnvPrefix

type EnvPrefix struct {
	// Name of the prefix
	Name string `json:"name"`
}

EnvPrefix defines the prefixing of environment variables

func (*EnvPrefix) DeepCopy

func (in *EnvPrefix) DeepCopy() *EnvPrefix

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

func (*EnvPrefix) DeepCopyInto

func (in *EnvPrefix) DeepCopyInto(out *EnvPrefix)

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

type LocalReferenceByKindAndName

type LocalReferenceByKindAndName struct {
	// Name of the referent
	Name string `json:"name"`
	// Kind of the referent
	Kind string `json:"kind"`
}

LocalReferenceByKindAndName contains enough information to let you locate the referenced to generic object inside the same namespace.

func (*LocalReferenceByKindAndName) DeepCopy

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

func (*LocalReferenceByKindAndName) DeepCopyInto

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

type LocalReferenceByName

type LocalReferenceByName struct {
	// Name of the referent.
	Name string `json:"name"`
}

LocalReferenceByName contains enough information to let you locate the referenced object inside the same namespace.

func (*LocalReferenceByName) DeepCopy

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

func (*LocalReferenceByName) DeepCopyInto

func (in *LocalReferenceByName) DeepCopyInto(out *LocalReferenceByName)

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

type Parameters

type Parameters struct {
	// EnvPrefix defines the prefix for environment variables injected from ServiceBinding
	EnvPrefix *EnvPrefix `json:"envPrefix,omitempty"`
}

Parameters contain all parameters which are used by controller

func (*Parameters) DeepCopy

func (in *Parameters) DeepCopy() *Parameters

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

func (*Parameters) DeepCopyInto

func (in *Parameters) DeepCopyInto(out *Parameters)

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

type ResourceReference

type ResourceReference struct {
	Group   string `json:"group"`
	Kind    string `json:"kind"`
	Version string `json:"version"`
}

func (*ResourceReference) DeepCopy

func (in *ResourceReference) DeepCopy() *ResourceReference

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

func (*ResourceReference) DeepCopyInto

func (in *ResourceReference) DeepCopyInto(out *ResourceReference)

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

type ServiceBindingUsage

type ServiceBindingUsage struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              ServiceBindingUsageSpec   `json:"spec"`
	Status            ServiceBindingUsageStatus `json:"status"`
}

func (*ServiceBindingUsage) DeepCopy

func (in *ServiceBindingUsage) DeepCopy() *ServiceBindingUsage

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

func (*ServiceBindingUsage) DeepCopyInto

func (in *ServiceBindingUsage) DeepCopyInto(out *ServiceBindingUsage)

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

func (*ServiceBindingUsage) DeepCopyObject

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

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

func (*ServiceBindingUsage) GetObjectKind

func (pw *ServiceBindingUsage) GetObjectKind() schema.ObjectKind

type ServiceBindingUsageCondition

type ServiceBindingUsageCondition struct {
	// Type is the type of the condition.
	Type ServiceBindingUsageConditionType `json:"type"`
	// Status is the status of the condition.
	Status ConditionStatus `json:"status"`
	// The last time this condition was updated.
	// LastUpdateTime will be updated even when the status of the condition is not changed
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"`
	// Last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"`
	// Unique, one-word, CamelCase reason for the condition's last transition.
	Reason string `json:"reason,omitempty"`
	// Human-readable message indicating details about last transition.
	Message string `json:"message,omitempty"`
}

ServiceBindingUsageCondition describes the state of a ServiceBindingUsage at a certain point.

func (*ServiceBindingUsageCondition) DeepCopy

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

func (*ServiceBindingUsageCondition) DeepCopyInto

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

type ServiceBindingUsageConditionType

type ServiceBindingUsageConditionType string

ServiceBindingUsageConditionType represents a usage condition value.

const (
	// ServiceBindingUsageReady represents the fact that a given usage is in ready state.
	ServiceBindingUsageReady ServiceBindingUsageConditionType = "Ready"
)

type ServiceBindingUsageList

type ServiceBindingUsageList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []ServiceBindingUsage `json:"items"`
}

func (*ServiceBindingUsageList) DeepCopy

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

func (*ServiceBindingUsageList) DeepCopyInto

func (in *ServiceBindingUsageList) DeepCopyInto(out *ServiceBindingUsageList)

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

func (*ServiceBindingUsageList) DeepCopyObject

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

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

type ServiceBindingUsageSpec

type ServiceBindingUsageSpec struct {
	// ServiceBindingRef is the reference to the ServiceBinding and
	// need to be in the same namespace where ServiceBindingUsage was created.
	ServiceBindingRef LocalReferenceByName `json:"serviceBindingRef"`
	// UsedBy is the reference to the application which should be configured to use ServiceInstance pointed by serviceBindingRef.
	// Pointed resource should be available in the same namespace where ServiceBindingUsage was created.
	UsedBy LocalReferenceByKindAndName `json:"usedBy"`
	// Parameters is a set of the parameters passed to the controller
	Parameters *Parameters `json:"parameters,omitempty"`
}

ServiceBindingUsageSpec represents a description of the ServiceBindingUsage

func (*ServiceBindingUsageSpec) DeepCopy

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

func (*ServiceBindingUsageSpec) DeepCopyInto

func (in *ServiceBindingUsageSpec) DeepCopyInto(out *ServiceBindingUsageSpec)

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

type ServiceBindingUsageStatus

type ServiceBindingUsageStatus struct {
	// Conditions represents the observations of a ServiceBindingUsage's state.
	Conditions []ServiceBindingUsageCondition `json:"conditions,omitempty"`
}

Status represents the current and past information about binding usage

func (*ServiceBindingUsageStatus) DeepCopy

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

func (*ServiceBindingUsageStatus) DeepCopyInto

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

type UsageKind

type UsageKind struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              UsageKindSpec `json:"spec"`
}

func (*UsageKind) DeepCopy

func (in *UsageKind) DeepCopy() *UsageKind

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

func (*UsageKind) DeepCopyInto

func (in *UsageKind) DeepCopyInto(out *UsageKind)

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

func (*UsageKind) DeepCopyObject

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

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

type UsageKindList

type UsageKindList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

	Items []UsageKind `json:"items"`
}

func (*UsageKindList) DeepCopy

func (in *UsageKindList) DeepCopy() *UsageKindList

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

func (*UsageKindList) DeepCopyInto

func (in *UsageKindList) DeepCopyInto(out *UsageKindList)

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

func (*UsageKindList) DeepCopyObject

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

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

type UsageKindSpec

type UsageKindSpec struct {
	DisplayName string             `json:"displayName"`
	Resource    *ResourceReference `json:"resource"`
	LabelsPath  string             `json:"labelsPath"`
}

ServiceBindingTargetSpec represents a description of the ServiceBindingTarget

func (*UsageKindSpec) DeepCopy

func (in *UsageKindSpec) DeepCopy() *UsageKindSpec

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

func (*UsageKindSpec) DeepCopyInto

func (in *UsageKindSpec) DeepCopyInto(out *UsageKindSpec)

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