v1

package
v3.6.65-1+incompatible Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

+groupName=template.openshift.io Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/template/api/v1/generated.proto

It has these top-level messages:
	BrokerTemplateInstance
	BrokerTemplateInstanceList
	BrokerTemplateInstanceSpec
	Parameter
	Template
	TemplateInstance
	TemplateInstanceCondition
	TemplateInstanceList
	TemplateInstanceRequester
	TemplateInstanceSpec
	TemplateInstanceStatus
	TemplateList

Index

Constants

View Source
const (
	GroupName       = "template.openshift.io"
	LegacyGroupName = ""
)

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeGroupVersion       = schema.GroupVersion{Group: GroupName, Version: "v1"}
	LegacySchemeGroupVersion = schema.GroupVersion{Group: LegacyGroupName, Version: "v1"}

	LegacySchemeBuilder    = runtime.NewSchemeBuilder(addLegacyKnownTypes, addConversionFuncs)
	AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme

	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_api_BrokerTemplateInstanceList_To_v1_BrokerTemplateInstanceList

func Convert_api_BrokerTemplateInstanceList_To_v1_BrokerTemplateInstanceList(in *api.BrokerTemplateInstanceList, out *BrokerTemplateInstanceList, s conversion.Scope) error

func Convert_api_BrokerTemplateInstanceSpec_To_v1_BrokerTemplateInstanceSpec

func Convert_api_BrokerTemplateInstanceSpec_To_v1_BrokerTemplateInstanceSpec(in *api.BrokerTemplateInstanceSpec, out *BrokerTemplateInstanceSpec, s conversion.Scope) error

func Convert_api_BrokerTemplateInstance_To_v1_BrokerTemplateInstance

func Convert_api_BrokerTemplateInstance_To_v1_BrokerTemplateInstance(in *api.BrokerTemplateInstance, out *BrokerTemplateInstance, s conversion.Scope) error

func Convert_api_Parameter_To_v1_Parameter added in v1.3.0

func Convert_api_Parameter_To_v1_Parameter(in *api.Parameter, out *Parameter, s conversion.Scope) error

func Convert_api_TemplateInstanceCondition_To_v1_TemplateInstanceCondition

func Convert_api_TemplateInstanceCondition_To_v1_TemplateInstanceCondition(in *api.TemplateInstanceCondition, out *TemplateInstanceCondition, s conversion.Scope) error

func Convert_api_TemplateInstanceList_To_v1_TemplateInstanceList

func Convert_api_TemplateInstanceList_To_v1_TemplateInstanceList(in *api.TemplateInstanceList, out *TemplateInstanceList, s conversion.Scope) error

func Convert_api_TemplateInstanceRequester_To_v1_TemplateInstanceRequester

func Convert_api_TemplateInstanceRequester_To_v1_TemplateInstanceRequester(in *api.TemplateInstanceRequester, out *TemplateInstanceRequester, s conversion.Scope) error

func Convert_api_TemplateInstanceSpec_To_v1_TemplateInstanceSpec

func Convert_api_TemplateInstanceSpec_To_v1_TemplateInstanceSpec(in *api.TemplateInstanceSpec, out *TemplateInstanceSpec, s conversion.Scope) error

func Convert_api_TemplateInstanceStatus_To_v1_TemplateInstanceStatus

func Convert_api_TemplateInstanceStatus_To_v1_TemplateInstanceStatus(in *api.TemplateInstanceStatus, out *TemplateInstanceStatus, s conversion.Scope) error

func Convert_api_TemplateInstance_To_v1_TemplateInstance

func Convert_api_TemplateInstance_To_v1_TemplateInstance(in *api.TemplateInstance, out *TemplateInstance, s conversion.Scope) error

func Convert_api_TemplateList_To_v1_TemplateList added in v1.3.0

func Convert_api_TemplateList_To_v1_TemplateList(in *api.TemplateList, out *TemplateList, s conversion.Scope) error

func Convert_api_Template_To_v1_Template added in v1.3.0

func Convert_api_Template_To_v1_Template(in *api.Template, out *Template, s conversion.Scope) error

func Convert_v1_BrokerTemplateInstanceList_To_api_BrokerTemplateInstanceList

func Convert_v1_BrokerTemplateInstanceList_To_api_BrokerTemplateInstanceList(in *BrokerTemplateInstanceList, out *api.BrokerTemplateInstanceList, s conversion.Scope) error

func Convert_v1_BrokerTemplateInstanceSpec_To_api_BrokerTemplateInstanceSpec

func Convert_v1_BrokerTemplateInstanceSpec_To_api_BrokerTemplateInstanceSpec(in *BrokerTemplateInstanceSpec, out *api.BrokerTemplateInstanceSpec, s conversion.Scope) error

func Convert_v1_BrokerTemplateInstance_To_api_BrokerTemplateInstance

func Convert_v1_BrokerTemplateInstance_To_api_BrokerTemplateInstance(in *BrokerTemplateInstance, out *api.BrokerTemplateInstance, s conversion.Scope) error

func Convert_v1_Parameter_To_api_Parameter added in v1.3.0

func Convert_v1_Parameter_To_api_Parameter(in *Parameter, out *api.Parameter, s conversion.Scope) error

func Convert_v1_TemplateInstanceCondition_To_api_TemplateInstanceCondition

func Convert_v1_TemplateInstanceCondition_To_api_TemplateInstanceCondition(in *TemplateInstanceCondition, out *api.TemplateInstanceCondition, s conversion.Scope) error

func Convert_v1_TemplateInstanceList_To_api_TemplateInstanceList

func Convert_v1_TemplateInstanceList_To_api_TemplateInstanceList(in *TemplateInstanceList, out *api.TemplateInstanceList, s conversion.Scope) error

func Convert_v1_TemplateInstanceRequester_To_api_TemplateInstanceRequester

func Convert_v1_TemplateInstanceRequester_To_api_TemplateInstanceRequester(in *TemplateInstanceRequester, out *api.TemplateInstanceRequester, s conversion.Scope) error

func Convert_v1_TemplateInstanceSpec_To_api_TemplateInstanceSpec

func Convert_v1_TemplateInstanceSpec_To_api_TemplateInstanceSpec(in *TemplateInstanceSpec, out *api.TemplateInstanceSpec, s conversion.Scope) error

func Convert_v1_TemplateInstanceStatus_To_api_TemplateInstanceStatus

func Convert_v1_TemplateInstanceStatus_To_api_TemplateInstanceStatus(in *TemplateInstanceStatus, out *api.TemplateInstanceStatus, s conversion.Scope) error

func Convert_v1_TemplateInstance_To_api_TemplateInstance

func Convert_v1_TemplateInstance_To_api_TemplateInstance(in *TemplateInstance, out *api.TemplateInstance, s conversion.Scope) error

func Convert_v1_TemplateList_To_api_TemplateList added in v1.3.0

func Convert_v1_TemplateList_To_api_TemplateList(in *TemplateList, out *api.TemplateList, s conversion.Scope) error

func Convert_v1_Template_To_api_Template added in v1.3.0

func Convert_v1_Template_To_api_Template(in *Template, out *api.Template, s conversion.Scope) error

func DeepCopy_v1_BrokerTemplateInstance

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

func DeepCopy_v1_BrokerTemplateInstanceList

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

func DeepCopy_v1_BrokerTemplateInstanceSpec

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

func DeepCopy_v1_Parameter added in v1.3.0

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

func DeepCopy_v1_Template added in v1.3.0

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

func DeepCopy_v1_TemplateInstance

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

func DeepCopy_v1_TemplateInstanceCondition

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

func DeepCopy_v1_TemplateInstanceList

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

func DeepCopy_v1_TemplateInstanceRequester

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

func DeepCopy_v1_TemplateInstanceSpec

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

func DeepCopy_v1_TemplateInstanceStatus

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

func DeepCopy_v1_TemplateList added in v1.3.0

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

func RegisterConversions added in v1.4.0

func RegisterConversions(scheme *runtime.Scheme) error

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

func RegisterDeepCopies added in v1.4.0

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 BrokerTemplateInstance

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

	// spec describes the state of this BrokerTemplateInstance.
	Spec BrokerTemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
}

BrokerTemplateInstance holds the service broker-related state associated with a TemplateInstance. BrokerTemplateInstance is part of an experimental API.

func (*BrokerTemplateInstance) Descriptor

func (*BrokerTemplateInstance) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstance) Marshal

func (m *BrokerTemplateInstance) Marshal() (data []byte, err error)

func (*BrokerTemplateInstance) MarshalTo

func (m *BrokerTemplateInstance) MarshalTo(data []byte) (int, error)

func (*BrokerTemplateInstance) ProtoMessage

func (*BrokerTemplateInstance) ProtoMessage()

func (*BrokerTemplateInstance) Reset

func (m *BrokerTemplateInstance) Reset()

func (*BrokerTemplateInstance) Size

func (m *BrokerTemplateInstance) Size() (n int)

func (*BrokerTemplateInstance) String

func (this *BrokerTemplateInstance) String() string

func (BrokerTemplateInstance) SwaggerDoc

func (BrokerTemplateInstance) SwaggerDoc() map[string]string

func (*BrokerTemplateInstance) Unmarshal

func (m *BrokerTemplateInstance) Unmarshal(data []byte) error

type BrokerTemplateInstanceList

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

	// items is a list of BrokerTemplateInstances
	Items []BrokerTemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"`
}

BrokerTemplateInstanceList is a list of BrokerTemplateInstance objects.

func (*BrokerTemplateInstanceList) Descriptor

func (*BrokerTemplateInstanceList) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstanceList) Marshal

func (m *BrokerTemplateInstanceList) Marshal() (data []byte, err error)

func (*BrokerTemplateInstanceList) MarshalTo

func (m *BrokerTemplateInstanceList) MarshalTo(data []byte) (int, error)

func (*BrokerTemplateInstanceList) ProtoMessage

func (*BrokerTemplateInstanceList) ProtoMessage()

func (*BrokerTemplateInstanceList) Reset

func (m *BrokerTemplateInstanceList) Reset()

func (*BrokerTemplateInstanceList) Size

func (m *BrokerTemplateInstanceList) Size() (n int)

func (*BrokerTemplateInstanceList) String

func (this *BrokerTemplateInstanceList) String() string

func (BrokerTemplateInstanceList) SwaggerDoc

func (BrokerTemplateInstanceList) SwaggerDoc() map[string]string

func (*BrokerTemplateInstanceList) Unmarshal

func (m *BrokerTemplateInstanceList) Unmarshal(data []byte) error

type BrokerTemplateInstanceSpec

type BrokerTemplateInstanceSpec struct {
	// templateinstance is a reference to a TemplateInstance object residing
	// in a namespace.
	TemplateInstance kapiv1.ObjectReference `json:"templateInstance" protobuf:"bytes,1,opt,name=templateInstance"`

	// secret is a reference to a Secret object residing in a namespace,
	// containing the necessary template parameters.
	Secret kapiv1.ObjectReference `json:"secret" protobuf:"bytes,2,opt,name=secret"`

	// bindingids is a list of 'binding_id's provided during successive bind
	// calls to the template service broker.
	BindingIDs []string `json:"bindingIDs" protobuf:"bytes,3,rep,name=bindingIDs"`
}

BrokerTemplateInstanceSpec describes the state of a BrokerTemplateInstance.

func (*BrokerTemplateInstanceSpec) Descriptor

func (*BrokerTemplateInstanceSpec) Descriptor() ([]byte, []int)

func (*BrokerTemplateInstanceSpec) Marshal

func (m *BrokerTemplateInstanceSpec) Marshal() (data []byte, err error)

func (*BrokerTemplateInstanceSpec) MarshalTo

func (m *BrokerTemplateInstanceSpec) MarshalTo(data []byte) (int, error)

func (*BrokerTemplateInstanceSpec) ProtoMessage

func (*BrokerTemplateInstanceSpec) ProtoMessage()

func (*BrokerTemplateInstanceSpec) Reset

func (m *BrokerTemplateInstanceSpec) Reset()

func (*BrokerTemplateInstanceSpec) Size

func (m *BrokerTemplateInstanceSpec) Size() (n int)

func (*BrokerTemplateInstanceSpec) String

func (this *BrokerTemplateInstanceSpec) String() string

func (BrokerTemplateInstanceSpec) SwaggerDoc

func (BrokerTemplateInstanceSpec) SwaggerDoc() map[string]string

func (*BrokerTemplateInstanceSpec) Unmarshal

func (m *BrokerTemplateInstanceSpec) Unmarshal(data []byte) error

type Parameter

type Parameter struct {
	// Name must be set and it can be referenced in Template
	// Items using ${PARAMETER_NAME}. Required.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// Optional: The name that will show in UI instead of parameter 'Name'
	DisplayName string `json:"displayName,omitempty" protobuf:"bytes,2,opt,name=displayName"`

	// Description of a parameter. Optional.
	Description string `json:"description,omitempty" protobuf:"bytes,3,opt,name=description"`

	// Value holds the Parameter data. If specified, the generator will be
	// ignored. The value replaces all occurrences of the Parameter ${Name}
	// expression during the Template to Config transformation. Optional.
	Value string `json:"value,omitempty" protobuf:"bytes,4,opt,name=value"`

	// generate specifies the generator to be used to generate random string
	// from an input value specified by From field. The result string is
	// stored into Value field. If empty, no generator is being used, leaving
	// the result Value untouched. Optional.
	//
	// The only supported generator is "expression", which accepts a "from"
	// value in the form of a simple regular expression containing the
	// range expression "[a-zA-Z0-9]", and the length expression "a{length}".
	//
	// Examples:
	//
	// from             | value
	// -----------------------------
	// "test[0-9]{1}x"  | "test7x"
	// "[0-1]{8}"       | "01001100"
	// "0x[A-F0-9]{4}"  | "0xB3AF"
	// "[a-zA-Z0-9]{8}" | "hW4yQU5i"
	//
	Generate string `json:"generate,omitempty" protobuf:"bytes,5,opt,name=generate"`

	// From is an input value for the generator. Optional.
	From string `json:"from,omitempty" protobuf:"bytes,6,opt,name=from"`

	// Optional: Indicates the parameter must have a value.  Defaults to false.
	Required bool `json:"required,omitempty" protobuf:"varint,7,opt,name=required"`
}

Parameter defines a name/value variable that is to be processed during the Template to Config transformation.

func (*Parameter) Descriptor added in v1.4.0

func (*Parameter) Descriptor() ([]byte, []int)

func (*Parameter) Marshal added in v1.3.0

func (m *Parameter) Marshal() (data []byte, err error)

func (*Parameter) MarshalTo added in v1.3.0

func (m *Parameter) MarshalTo(data []byte) (int, error)

func (*Parameter) ProtoMessage added in v1.3.0

func (*Parameter) ProtoMessage()

func (*Parameter) Reset added in v1.3.0

func (m *Parameter) Reset()

func (*Parameter) Size added in v1.3.0

func (m *Parameter) Size() (n int)

func (*Parameter) String added in v1.3.0

func (this *Parameter) String() string

func (Parameter) SwaggerDoc added in v1.1.4

func (Parameter) SwaggerDoc() map[string]string

func (*Parameter) Unmarshal added in v1.3.0

func (m *Parameter) Unmarshal(data []byte) error

type Template

type Template struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// message is an optional instructional message that will
	// be displayed when this template is instantiated.
	// This field should inform the user how to utilize the newly created resources.
	// Parameter substitution will be performed on the message before being
	// displayed so that generated credentials and other parameters can be
	// included in the output.
	Message string `json:"message,omitempty" protobuf:"bytes,2,opt,name=message"`

	// objects is an array of resources to include in this template.
	// If a namespace value is hardcoded in the object, it will be removed
	// during template instantiation, however if the namespace value
	// is, or contains, a ${PARAMETER_REFERENCE}, the resolved
	// value after parameter substitution will be respected and the object
	// will be created in that namespace.
	Objects []runtime.RawExtension `json:"objects" protobuf:"bytes,3,rep,name=objects"`

	// parameters is an optional array of Parameters used during the
	// Template to Config transformation.
	Parameters []Parameter `json:"parameters,omitempty" protobuf:"bytes,4,rep,name=parameters"`

	// labels is a optional set of labels that are applied to every
	// object during the Template to Config transformation.
	ObjectLabels map[string]string `json:"labels,omitempty" protobuf:"bytes,5,rep,name=labels"`
}

Template contains the inputs needed to produce a Config.

func (*Template) DecodeNestedObjects added in v1.3.0

func (c *Template) DecodeNestedObjects(d runtime.Decoder) error

DecodeNestedObjects decodes the object as a runtime.Unknown with JSON content.

func (*Template) Descriptor added in v1.4.0

func (*Template) Descriptor() ([]byte, []int)

func (*Template) EncodeNestedObjects added in v1.3.0

func (c *Template) EncodeNestedObjects(e runtime.Encoder) error

func (*Template) Marshal added in v1.3.0

func (m *Template) Marshal() (data []byte, err error)

func (*Template) MarshalTo added in v1.3.0

func (m *Template) MarshalTo(data []byte) (int, error)

func (*Template) ProtoMessage added in v1.3.0

func (*Template) ProtoMessage()

func (*Template) Reset added in v1.3.0

func (m *Template) Reset()

func (*Template) Size added in v1.3.0

func (m *Template) Size() (n int)

func (*Template) String added in v1.3.0

func (this *Template) String() string

func (Template) SwaggerDoc added in v1.1.4

func (Template) SwaggerDoc() map[string]string

func (*Template) Unmarshal added in v1.3.0

func (m *Template) Unmarshal(data []byte) error

type TemplateInstance

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

	// spec describes the desired state of this TemplateInstance.
	Spec TemplateInstanceSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`

	// status describes the current state of this TemplateInstance.
	Status TemplateInstanceStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

TemplateInstance requests and records the instantiation of a Template. TemplateInstance is part of an experimental API.

func (*TemplateInstance) Descriptor

func (*TemplateInstance) Descriptor() ([]byte, []int)

func (*TemplateInstance) Marshal

func (m *TemplateInstance) Marshal() (data []byte, err error)

func (*TemplateInstance) MarshalTo

func (m *TemplateInstance) MarshalTo(data []byte) (int, error)

func (*TemplateInstance) ProtoMessage

func (*TemplateInstance) ProtoMessage()

func (*TemplateInstance) Reset

func (m *TemplateInstance) Reset()

func (*TemplateInstance) Size

func (m *TemplateInstance) Size() (n int)

func (*TemplateInstance) String

func (this *TemplateInstance) String() string

func (TemplateInstance) SwaggerDoc

func (TemplateInstance) SwaggerDoc() map[string]string

func (*TemplateInstance) Unmarshal

func (m *TemplateInstance) Unmarshal(data []byte) error

type TemplateInstanceCondition

type TemplateInstanceCondition struct {
	// Type of the condition, currently Ready or InstantiateFailure.
	Type TemplateInstanceConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=TemplateInstanceConditionType"`
	// Status of the condition, one of True, False or Unknown.
	Status kapiv1.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"`
}

TemplateInstanceCondition contains condition information for a TemplateInstance.

func (*TemplateInstanceCondition) Descriptor

func (*TemplateInstanceCondition) Descriptor() ([]byte, []int)

func (*TemplateInstanceCondition) Marshal

func (m *TemplateInstanceCondition) Marshal() (data []byte, err error)

func (*TemplateInstanceCondition) MarshalTo

func (m *TemplateInstanceCondition) MarshalTo(data []byte) (int, error)

func (*TemplateInstanceCondition) ProtoMessage

func (*TemplateInstanceCondition) ProtoMessage()

func (*TemplateInstanceCondition) Reset

func (m *TemplateInstanceCondition) Reset()

func (*TemplateInstanceCondition) Size

func (m *TemplateInstanceCondition) Size() (n int)

func (*TemplateInstanceCondition) String

func (this *TemplateInstanceCondition) String() string

func (TemplateInstanceCondition) SwaggerDoc

func (TemplateInstanceCondition) SwaggerDoc() map[string]string

func (*TemplateInstanceCondition) Unmarshal

func (m *TemplateInstanceCondition) Unmarshal(data []byte) error

type TemplateInstanceConditionType

type TemplateInstanceConditionType string

TemplateInstanceConditionType is the type of condition pertaining to a TemplateInstance.

const (
	// TemplateInstanceReady indicates the readiness of the template
	// instantiation.
	TemplateInstanceReady TemplateInstanceConditionType = "Ready"
	// TemplateInstanceInstantiateFailure indicates the failure of the template
	// instantiation
	TemplateInstanceInstantiateFailure TemplateInstanceConditionType = "InstantiateFailure"
)

type TemplateInstanceList

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

	// items is a list of Templateinstances
	Items []TemplateInstance `json:"items" protobuf:"bytes,2,rep,name=items"`
}

TemplateInstanceList is a list of TemplateInstance objects.

func (*TemplateInstanceList) Descriptor

func (*TemplateInstanceList) Descriptor() ([]byte, []int)

func (*TemplateInstanceList) Marshal

func (m *TemplateInstanceList) Marshal() (data []byte, err error)

func (*TemplateInstanceList) MarshalTo

func (m *TemplateInstanceList) MarshalTo(data []byte) (int, error)

func (*TemplateInstanceList) ProtoMessage

func (*TemplateInstanceList) ProtoMessage()

func (*TemplateInstanceList) Reset

func (m *TemplateInstanceList) Reset()

func (*TemplateInstanceList) Size

func (m *TemplateInstanceList) Size() (n int)

func (*TemplateInstanceList) String

func (this *TemplateInstanceList) String() string

func (TemplateInstanceList) SwaggerDoc

func (TemplateInstanceList) SwaggerDoc() map[string]string

func (*TemplateInstanceList) Unmarshal

func (m *TemplateInstanceList) Unmarshal(data []byte) error

type TemplateInstanceRequester

type TemplateInstanceRequester struct {
	// username is the username of the agent requesting a template instantiation.
	Username string `json:"username" protobuf:"bytes,1,opt,name=username"`
}

TemplateInstanceRequester holds the identity of an agent requesting a template instantiation.

func (*TemplateInstanceRequester) Descriptor

func (*TemplateInstanceRequester) Descriptor() ([]byte, []int)

func (*TemplateInstanceRequester) Marshal

func (m *TemplateInstanceRequester) Marshal() (data []byte, err error)

func (*TemplateInstanceRequester) MarshalTo

func (m *TemplateInstanceRequester) MarshalTo(data []byte) (int, error)

func (*TemplateInstanceRequester) ProtoMessage

func (*TemplateInstanceRequester) ProtoMessage()

func (*TemplateInstanceRequester) Reset

func (m *TemplateInstanceRequester) Reset()

func (*TemplateInstanceRequester) Size

func (m *TemplateInstanceRequester) Size() (n int)

func (*TemplateInstanceRequester) String

func (this *TemplateInstanceRequester) String() string

func (TemplateInstanceRequester) SwaggerDoc

func (TemplateInstanceRequester) SwaggerDoc() map[string]string

func (*TemplateInstanceRequester) Unmarshal

func (m *TemplateInstanceRequester) Unmarshal(data []byte) error

type TemplateInstanceSpec

type TemplateInstanceSpec struct {
	// template is a full copy of the template for instantiation.
	Template Template `json:"template" protobuf:"bytes,1,opt,name=template"`

	// secret is a reference to a Secret object containing the necessary
	// template parameters.
	Secret kapiv1.LocalObjectReference `json:"secret" protobuf:"bytes,2,opt,name=secret"`

	// requester holds the identity of the agent requesting the template
	// instantiation.
	Requester *TemplateInstanceRequester `json:"requester" protobuf:"bytes,3,opt,name=requester"`
}

TemplateInstanceSpec describes the desired state of a TemplateInstance.

func (*TemplateInstanceSpec) Descriptor

func (*TemplateInstanceSpec) Descriptor() ([]byte, []int)

func (*TemplateInstanceSpec) Marshal

func (m *TemplateInstanceSpec) Marshal() (data []byte, err error)

func (*TemplateInstanceSpec) MarshalTo

func (m *TemplateInstanceSpec) MarshalTo(data []byte) (int, error)

func (*TemplateInstanceSpec) ProtoMessage

func (*TemplateInstanceSpec) ProtoMessage()

func (*TemplateInstanceSpec) Reset

func (m *TemplateInstanceSpec) Reset()

func (*TemplateInstanceSpec) Size

func (m *TemplateInstanceSpec) Size() (n int)

func (*TemplateInstanceSpec) String

func (this *TemplateInstanceSpec) String() string

func (TemplateInstanceSpec) SwaggerDoc

func (TemplateInstanceSpec) SwaggerDoc() map[string]string

func (*TemplateInstanceSpec) Unmarshal

func (m *TemplateInstanceSpec) Unmarshal(data []byte) error

type TemplateInstanceStatus

type TemplateInstanceStatus struct {
	// conditions represent the latest available observations of a
	// TemplateInstance's current state.
	Conditions []TemplateInstanceCondition `json:"conditions" protobuf:"bytes,1,rep,name=conditions"`
}

TemplateInstanceStatus describes the current state of a TemplateInstance.

func (*TemplateInstanceStatus) Descriptor

func (*TemplateInstanceStatus) Descriptor() ([]byte, []int)

func (*TemplateInstanceStatus) Marshal

func (m *TemplateInstanceStatus) Marshal() (data []byte, err error)

func (*TemplateInstanceStatus) MarshalTo

func (m *TemplateInstanceStatus) MarshalTo(data []byte) (int, error)

func (*TemplateInstanceStatus) ProtoMessage

func (*TemplateInstanceStatus) ProtoMessage()

func (*TemplateInstanceStatus) Reset

func (m *TemplateInstanceStatus) Reset()

func (*TemplateInstanceStatus) Size

func (m *TemplateInstanceStatus) Size() (n int)

func (*TemplateInstanceStatus) String

func (this *TemplateInstanceStatus) String() string

func (TemplateInstanceStatus) SwaggerDoc

func (TemplateInstanceStatus) SwaggerDoc() map[string]string

func (*TemplateInstanceStatus) Unmarshal

func (m *TemplateInstanceStatus) Unmarshal(data []byte) error

type TemplateList

type TemplateList struct {
	metav1.TypeMeta `json:",inline"`
	// Standard object's metadata.
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Items is a list of templates
	Items []Template `json:"items" protobuf:"bytes,2,rep,name=items"`
}

TemplateList is a list of Template objects.

func (*TemplateList) Descriptor added in v1.4.0

func (*TemplateList) Descriptor() ([]byte, []int)

func (*TemplateList) Marshal added in v1.3.0

func (m *TemplateList) Marshal() (data []byte, err error)

func (*TemplateList) MarshalTo added in v1.3.0

func (m *TemplateList) MarshalTo(data []byte) (int, error)

func (*TemplateList) ProtoMessage added in v1.3.0

func (*TemplateList) ProtoMessage()

func (*TemplateList) Reset added in v1.3.0

func (m *TemplateList) Reset()

func (*TemplateList) Size added in v1.3.0

func (m *TemplateList) Size() (n int)

func (*TemplateList) String added in v1.3.0

func (this *TemplateList) String() string

func (TemplateList) SwaggerDoc added in v1.1.4

func (TemplateList) SwaggerDoc() map[string]string

func (*TemplateList) Unmarshal added in v1.3.0

func (m *TemplateList) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

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