v1

package
v3.7.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2017 License: Apache-2.0 Imports: 17 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/apis/template/v1/generated.proto

It has these top-level messages:
	BrokerTemplateInstance
	BrokerTemplateInstanceList
	BrokerTemplateInstanceSpec
	ExtraValue
	Parameter
	Template
	TemplateInstance
	TemplateInstanceCondition
	TemplateInstanceList
	TemplateInstanceObject
	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)
	AddToSchemeInCoreGroup = LegacySchemeBuilder.AddToScheme

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

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_template_BrokerTemplateInstanceList_To_v1_BrokerTemplateInstanceList

func Convert_template_BrokerTemplateInstanceList_To_v1_BrokerTemplateInstanceList(in *template.BrokerTemplateInstanceList, out *BrokerTemplateInstanceList, s conversion.Scope) error

Convert_template_BrokerTemplateInstanceList_To_v1_BrokerTemplateInstanceList is an autogenerated conversion function.

func Convert_template_BrokerTemplateInstanceSpec_To_v1_BrokerTemplateInstanceSpec

func Convert_template_BrokerTemplateInstanceSpec_To_v1_BrokerTemplateInstanceSpec(in *template.BrokerTemplateInstanceSpec, out *BrokerTemplateInstanceSpec, s conversion.Scope) error

Convert_template_BrokerTemplateInstanceSpec_To_v1_BrokerTemplateInstanceSpec is an autogenerated conversion function.

func Convert_template_BrokerTemplateInstance_To_v1_BrokerTemplateInstance

func Convert_template_BrokerTemplateInstance_To_v1_BrokerTemplateInstance(in *template.BrokerTemplateInstance, out *BrokerTemplateInstance, s conversion.Scope) error

Convert_template_BrokerTemplateInstance_To_v1_BrokerTemplateInstance is an autogenerated conversion function.

func Convert_template_Parameter_To_v1_Parameter

func Convert_template_Parameter_To_v1_Parameter(in *template.Parameter, out *Parameter, s conversion.Scope) error

Convert_template_Parameter_To_v1_Parameter is an autogenerated conversion function.

func Convert_template_TemplateInstanceCondition_To_v1_TemplateInstanceCondition

func Convert_template_TemplateInstanceCondition_To_v1_TemplateInstanceCondition(in *template.TemplateInstanceCondition, out *TemplateInstanceCondition, s conversion.Scope) error

Convert_template_TemplateInstanceCondition_To_v1_TemplateInstanceCondition is an autogenerated conversion function.

func Convert_template_TemplateInstanceList_To_v1_TemplateInstanceList

func Convert_template_TemplateInstanceList_To_v1_TemplateInstanceList(in *template.TemplateInstanceList, out *TemplateInstanceList, s conversion.Scope) error

Convert_template_TemplateInstanceList_To_v1_TemplateInstanceList is an autogenerated conversion function.

func Convert_template_TemplateInstanceObject_To_v1_TemplateInstanceObject added in v3.7.0

func Convert_template_TemplateInstanceObject_To_v1_TemplateInstanceObject(in *template.TemplateInstanceObject, out *TemplateInstanceObject, s conversion.Scope) error

Convert_template_TemplateInstanceObject_To_v1_TemplateInstanceObject is an autogenerated conversion function.

func Convert_template_TemplateInstanceRequester_To_v1_TemplateInstanceRequester

func Convert_template_TemplateInstanceRequester_To_v1_TemplateInstanceRequester(in *template.TemplateInstanceRequester, out *TemplateInstanceRequester, s conversion.Scope) error

Convert_template_TemplateInstanceRequester_To_v1_TemplateInstanceRequester is an autogenerated conversion function.

func Convert_template_TemplateInstanceSpec_To_v1_TemplateInstanceSpec

func Convert_template_TemplateInstanceSpec_To_v1_TemplateInstanceSpec(in *template.TemplateInstanceSpec, out *TemplateInstanceSpec, s conversion.Scope) error

Convert_template_TemplateInstanceSpec_To_v1_TemplateInstanceSpec is an autogenerated conversion function.

func Convert_template_TemplateInstanceStatus_To_v1_TemplateInstanceStatus

func Convert_template_TemplateInstanceStatus_To_v1_TemplateInstanceStatus(in *template.TemplateInstanceStatus, out *TemplateInstanceStatus, s conversion.Scope) error

Convert_template_TemplateInstanceStatus_To_v1_TemplateInstanceStatus is an autogenerated conversion function.

func Convert_template_TemplateInstance_To_v1_TemplateInstance

func Convert_template_TemplateInstance_To_v1_TemplateInstance(in *template.TemplateInstance, out *TemplateInstance, s conversion.Scope) error

Convert_template_TemplateInstance_To_v1_TemplateInstance is an autogenerated conversion function.

func Convert_template_TemplateList_To_v1_TemplateList

func Convert_template_TemplateList_To_v1_TemplateList(in *template.TemplateList, out *TemplateList, s conversion.Scope) error

Convert_template_TemplateList_To_v1_TemplateList is an autogenerated conversion function.

func Convert_template_Template_To_v1_Template

func Convert_template_Template_To_v1_Template(in *template.Template, out *Template, s conversion.Scope) error

Convert_template_Template_To_v1_Template is an autogenerated conversion function.

func Convert_v1_BrokerTemplateInstanceList_To_template_BrokerTemplateInstanceList

func Convert_v1_BrokerTemplateInstanceList_To_template_BrokerTemplateInstanceList(in *BrokerTemplateInstanceList, out *template.BrokerTemplateInstanceList, s conversion.Scope) error

Convert_v1_BrokerTemplateInstanceList_To_template_BrokerTemplateInstanceList is an autogenerated conversion function.

func Convert_v1_BrokerTemplateInstanceSpec_To_template_BrokerTemplateInstanceSpec

func Convert_v1_BrokerTemplateInstanceSpec_To_template_BrokerTemplateInstanceSpec(in *BrokerTemplateInstanceSpec, out *template.BrokerTemplateInstanceSpec, s conversion.Scope) error

Convert_v1_BrokerTemplateInstanceSpec_To_template_BrokerTemplateInstanceSpec is an autogenerated conversion function.

func Convert_v1_BrokerTemplateInstance_To_template_BrokerTemplateInstance

func Convert_v1_BrokerTemplateInstance_To_template_BrokerTemplateInstance(in *BrokerTemplateInstance, out *template.BrokerTemplateInstance, s conversion.Scope) error

Convert_v1_BrokerTemplateInstance_To_template_BrokerTemplateInstance is an autogenerated conversion function.

func Convert_v1_Parameter_To_template_Parameter

func Convert_v1_Parameter_To_template_Parameter(in *Parameter, out *template.Parameter, s conversion.Scope) error

Convert_v1_Parameter_To_template_Parameter is an autogenerated conversion function.

func Convert_v1_TemplateInstanceCondition_To_template_TemplateInstanceCondition

func Convert_v1_TemplateInstanceCondition_To_template_TemplateInstanceCondition(in *TemplateInstanceCondition, out *template.TemplateInstanceCondition, s conversion.Scope) error

Convert_v1_TemplateInstanceCondition_To_template_TemplateInstanceCondition is an autogenerated conversion function.

func Convert_v1_TemplateInstanceList_To_template_TemplateInstanceList

func Convert_v1_TemplateInstanceList_To_template_TemplateInstanceList(in *TemplateInstanceList, out *template.TemplateInstanceList, s conversion.Scope) error

Convert_v1_TemplateInstanceList_To_template_TemplateInstanceList is an autogenerated conversion function.

func Convert_v1_TemplateInstanceObject_To_template_TemplateInstanceObject added in v3.7.0

func Convert_v1_TemplateInstanceObject_To_template_TemplateInstanceObject(in *TemplateInstanceObject, out *template.TemplateInstanceObject, s conversion.Scope) error

Convert_v1_TemplateInstanceObject_To_template_TemplateInstanceObject is an autogenerated conversion function.

func Convert_v1_TemplateInstanceRequester_To_template_TemplateInstanceRequester

func Convert_v1_TemplateInstanceRequester_To_template_TemplateInstanceRequester(in *TemplateInstanceRequester, out *template.TemplateInstanceRequester, s conversion.Scope) error

Convert_v1_TemplateInstanceRequester_To_template_TemplateInstanceRequester is an autogenerated conversion function.

func Convert_v1_TemplateInstanceSpec_To_template_TemplateInstanceSpec

func Convert_v1_TemplateInstanceSpec_To_template_TemplateInstanceSpec(in *TemplateInstanceSpec, out *template.TemplateInstanceSpec, s conversion.Scope) error

Convert_v1_TemplateInstanceSpec_To_template_TemplateInstanceSpec is an autogenerated conversion function.

func Convert_v1_TemplateInstanceStatus_To_template_TemplateInstanceStatus

func Convert_v1_TemplateInstanceStatus_To_template_TemplateInstanceStatus(in *TemplateInstanceStatus, out *template.TemplateInstanceStatus, s conversion.Scope) error

Convert_v1_TemplateInstanceStatus_To_template_TemplateInstanceStatus is an autogenerated conversion function.

func Convert_v1_TemplateInstance_To_template_TemplateInstance

func Convert_v1_TemplateInstance_To_template_TemplateInstance(in *TemplateInstance, out *template.TemplateInstance, s conversion.Scope) error

Convert_v1_TemplateInstance_To_template_TemplateInstance is an autogenerated conversion function.

func Convert_v1_TemplateList_To_template_TemplateList

func Convert_v1_TemplateList_To_template_TemplateList(in *TemplateList, out *template.TemplateList, s conversion.Scope) error

Convert_v1_TemplateList_To_template_TemplateList is an autogenerated conversion function.

func Convert_v1_Template_To_template_Template

func Convert_v1_Template_To_template_Template(in *Template, out *template.Template, s conversion.Scope) error

Convert_v1_Template_To_template_Template is an autogenerated conversion function.

func DeepCopy_v1_BrokerTemplateInstance

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

DeepCopy_v1_BrokerTemplateInstance is an autogenerated deepcopy function.

func DeepCopy_v1_BrokerTemplateInstanceList

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

DeepCopy_v1_BrokerTemplateInstanceList is an autogenerated deepcopy function.

func DeepCopy_v1_BrokerTemplateInstanceSpec

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

DeepCopy_v1_BrokerTemplateInstanceSpec is an autogenerated deepcopy function.

func DeepCopy_v1_Parameter

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

DeepCopy_v1_Parameter is an autogenerated deepcopy function.

func DeepCopy_v1_Template

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

DeepCopy_v1_Template is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstance

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

DeepCopy_v1_TemplateInstance is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceCondition

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

DeepCopy_v1_TemplateInstanceCondition is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceList

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

DeepCopy_v1_TemplateInstanceList is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceObject added in v3.7.0

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

DeepCopy_v1_TemplateInstanceObject is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceRequester

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

DeepCopy_v1_TemplateInstanceRequester is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceSpec

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

DeepCopy_v1_TemplateInstanceSpec is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateInstanceStatus

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

DeepCopy_v1_TemplateInstanceStatus is an autogenerated deepcopy function.

func DeepCopy_v1_TemplateList

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

DeepCopy_v1_TemplateList 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.

func Resource added in v3.7.0

func Resource(resource string) schema.GroupResource

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,omitempty" 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 ExtraValue added in v3.7.0

type ExtraValue []string

ExtraValue masks the value so protobuf can generate +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*ExtraValue) Descriptor added in v3.7.0

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

func (ExtraValue) Marshal added in v3.7.0

func (m ExtraValue) Marshal() (dAtA []byte, err error)

func (ExtraValue) MarshalTo added in v3.7.0

func (m ExtraValue) MarshalTo(dAtA []byte) (int, error)

func (*ExtraValue) ProtoMessage added in v3.7.0

func (*ExtraValue) ProtoMessage()

func (*ExtraValue) Reset added in v3.7.0

func (m *ExtraValue) Reset()

func (ExtraValue) Size added in v3.7.0

func (m ExtraValue) Size() (n int)

func (ExtraValue) String added in v3.7.0

func (t ExtraValue) String() string

func (*ExtraValue) Unmarshal added in v3.7.0

func (m *ExtraValue) 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

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

func (*Parameter) Marshal

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

func (*Parameter) MarshalTo

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

func (*Parameter) ProtoMessage

func (*Parameter) ProtoMessage()

func (*Parameter) Reset

func (m *Parameter) Reset()

func (*Parameter) Size

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

func (*Parameter) String

func (this *Parameter) String() string

func (Parameter) SwaggerDoc

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

func (*Parameter) Unmarshal

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

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

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

func (*Template) Descriptor

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

func (*Template) EncodeNestedObjects

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

func (*Template) Marshal

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

func (*Template) MarshalTo

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

func (*Template) ProtoMessage

func (*Template) ProtoMessage()

func (*Template) Reset

func (m *Template) Reset()

func (*Template) Size

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

func (*Template) String

func (this *Template) String() string

func (Template) SwaggerDoc

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

func (*Template) Unmarshal

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 TemplateInstanceObject added in v3.7.0

type TemplateInstanceObject struct {
	// ref is a reference to the created object.  When used under .spec, only
	// name and namespace are used; these can contain references to parameters
	// which will be substituted following the usual rules.
	Ref kapiv1.ObjectReference `json:"ref,omitempty" protobuf:"bytes,1,opt,name=ref"`
}

TemplateInstanceObject references an object created by a TemplateInstance.

func (*TemplateInstanceObject) Descriptor added in v3.7.0

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

func (*TemplateInstanceObject) Marshal added in v3.7.0

func (m *TemplateInstanceObject) Marshal() (dAtA []byte, err error)

func (*TemplateInstanceObject) MarshalTo added in v3.7.0

func (m *TemplateInstanceObject) MarshalTo(dAtA []byte) (int, error)

func (*TemplateInstanceObject) ProtoMessage added in v3.7.0

func (*TemplateInstanceObject) ProtoMessage()

func (*TemplateInstanceObject) Reset added in v3.7.0

func (m *TemplateInstanceObject) Reset()

func (*TemplateInstanceObject) Size added in v3.7.0

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

func (*TemplateInstanceObject) String added in v3.7.0

func (this *TemplateInstanceObject) String() string

func (TemplateInstanceObject) SwaggerDoc added in v3.7.0

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

func (*TemplateInstanceObject) Unmarshal added in v3.7.0

func (m *TemplateInstanceObject) Unmarshal(dAtA []byte) error

type TemplateInstanceRequester

type TemplateInstanceRequester struct {
	// username uniquely identifies this user among all active users.
	Username string `json:"username,omitempty" protobuf:"bytes,1,opt,name=username"`

	// uid is a unique value that identifies this user across time; if this user is
	// deleted and another user by the same name is added, they will have
	// different UIDs.
	UID string `json:"uid,omitempty" protobuf:"bytes,2,opt,name=uid"`

	// groups represent the groups this user is a part of.
	Groups []string `json:"groups,omitempty" protobuf:"bytes,3,rep,name=groups"`

	// extra holds additional information provided by the authenticator.
	Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,4,rep,name=extra"`
}

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,omitempty" 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,omitempty" protobuf:"bytes,1,rep,name=conditions"`

	// Objects references the objects created by the TemplateInstance.
	Objects []TemplateInstanceObject `json:"objects,omitempty" protobuf:"bytes,2,rep,name=objects"`
}

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

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

func (*TemplateList) Marshal

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

func (*TemplateList) MarshalTo

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

func (*TemplateList) ProtoMessage

func (*TemplateList) ProtoMessage()

func (*TemplateList) Reset

func (m *TemplateList) Reset()

func (*TemplateList) Size

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

func (*TemplateList) String

func (this *TemplateList) String() string

func (TemplateList) SwaggerDoc

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

func (*TemplateList) Unmarshal

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