v1alpha1

package
v0.0.0-...-beef95b Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the cloud9 v1alpha1 API group +kubebuilder:object:generate=true +groupName=cloud9.awsctrl.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "cloud9.awsctrl.io", Version: "v1alpha1"}
	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type EnvironmentEC2

type EnvironmentEC2 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EnvironmentEC2Spec   `json:"spec,omitempty"`
	Status EnvironmentEC2Status `json:"status,omitempty"`
}

EnvironmentEC2 is the Schema for the cloud9 EnvironmentEC2 API

func (*EnvironmentEC2) DeepCopy

func (in *EnvironmentEC2) DeepCopy() *EnvironmentEC2

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

func (*EnvironmentEC2) DeepCopyInto

func (in *EnvironmentEC2) DeepCopyInto(out *EnvironmentEC2)

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

func (*EnvironmentEC2) DeepCopyObject

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

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

func (*EnvironmentEC2) GenerateStackName

func (in *EnvironmentEC2) GenerateStackName() string

GenerateStackName will generate a StackName

func (*EnvironmentEC2) GetCloudFormationMeta

func (in *EnvironmentEC2) GetCloudFormationMeta() metav1alpha1.CloudFormationMeta

GetCloudFormationMeta will return CFN meta object

func (*EnvironmentEC2) GetNotificationARNs

func (in *EnvironmentEC2) GetNotificationARNs() []string

GetNotificationARNs is an autogenerated deepcopy function, will return notifications for stack

func (*EnvironmentEC2) GetParameters

func (in *EnvironmentEC2) GetParameters() map[string]string

GetParameters will return CFN Parameters

func (*EnvironmentEC2) GetStackID

func (in *EnvironmentEC2) GetStackID() string

GetStackID will return stackID

func (*EnvironmentEC2) GetStackName

func (in *EnvironmentEC2) GetStackName() string

GetStackName will return stackName

func (*EnvironmentEC2) GetStatus

GetStatus will return the CFN Status

func (*EnvironmentEC2) GetTemplate

func (in *EnvironmentEC2) GetTemplate(client dynamic.Interface) (string, error)

GetTemplate will return the JSON version of the CFN to use.

func (*EnvironmentEC2) GetTemplateVersionLabel

func (in *EnvironmentEC2) GetTemplateVersionLabel() (value string, ok bool)

GetTemplateVersionLabel will return the stack template version

func (*EnvironmentEC2) SetStackID

func (in *EnvironmentEC2) SetStackID(input string)

SetStackID will put a stackID

func (*EnvironmentEC2) SetStackName

func (in *EnvironmentEC2) SetStackName(input string)

SetStackName will return stackName

func (*EnvironmentEC2) SetStatus

func (in *EnvironmentEC2) SetStatus(status *metav1alpha1.StatusMeta)

SetStatus will set status for object

func (*EnvironmentEC2) SetTemplateVersionLabel

func (in *EnvironmentEC2) SetTemplateVersionLabel()

SetTemplateVersionLabel will set the template version label

func (*EnvironmentEC2) TemplateVersionChanged

func (in *EnvironmentEC2) TemplateVersionChanged() bool

TemplateVersionChanged will return bool if template has changed

type EnvironmentEC2List

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

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

EnvironmentEC2List contains a list of Account

func (*EnvironmentEC2List) DeepCopy

func (in *EnvironmentEC2List) DeepCopy() *EnvironmentEC2List

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

func (*EnvironmentEC2List) DeepCopyInto

func (in *EnvironmentEC2List) DeepCopyInto(out *EnvironmentEC2List)

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

func (*EnvironmentEC2List) DeepCopyObject

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

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

type EnvironmentEC2Output

type EnvironmentEC2Output struct {
	// http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html
	Ref string `json:"ref,omitempty"`

	// Arn defines the Arn
	Arn string `json:"arn,omitempty" cloudformation:"Arn,Output"`

	// Name defines the Name
	Name string `json:"name,omitempty" cloudformation:"Name,Output"`
}

EnvironmentEC2Output defines the stack outputs

func (*EnvironmentEC2Output) DeepCopy

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

func (*EnvironmentEC2Output) DeepCopyInto

func (in *EnvironmentEC2Output) DeepCopyInto(out *EnvironmentEC2Output)

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

type EnvironmentEC2Spec

type EnvironmentEC2Spec struct {
	metav1alpha1.CloudFormationMeta `json:",inline"`

	// AutomaticStopTimeMinutes http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-automaticstoptimeminutes
	AutomaticStopTimeMinutes int `json:"automaticStopTimeMinutes,omitempty" cloudformation:"AutomaticStopTimeMinutes,Parameter"`

	// Description http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-description
	Description string `json:"description,omitempty" cloudformation:"Description,Parameter"`

	// InstanceType http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-instancetype
	InstanceType string `json:"instanceType,omitempty" cloudformation:"InstanceType,Parameter"`

	// Name http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-name
	Name string `json:"name,omitempty" cloudformation:"Name,Parameter"`

	// OwnerRef http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-ownerarn
	OwnerRef metav1alpha1.ObjectReference `json:"ownerRef,omitempty" cloudformation:"OwnerArn,Parameter"`

	// Repositories http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-repositories
	Repositories []EnvironmentEC2_Repository `json:"repositories,omitempty" cloudformation:"Repositories"`

	// SubnetRef http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloud9-environmentec2.html#cfn-cloud9-environmentec2-subnetid
	SubnetRef metav1alpha1.ObjectReference `json:"subnetRef,omitempty" cloudformation:"SubnetId,Parameter"`
}

EnvironmentEC2Spec defines the desired state of EnvironmentEC2

func (*EnvironmentEC2Spec) DeepCopy

func (in *EnvironmentEC2Spec) DeepCopy() *EnvironmentEC2Spec

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

func (*EnvironmentEC2Spec) DeepCopyInto

func (in *EnvironmentEC2Spec) DeepCopyInto(out *EnvironmentEC2Spec)

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

type EnvironmentEC2Status

type EnvironmentEC2Status struct {
	metav1alpha1.StatusMeta `json:",inline"`
}

EnvironmentEC2Status defines the observed state of EnvironmentEC2

func (*EnvironmentEC2Status) DeepCopy

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

func (*EnvironmentEC2Status) DeepCopyInto

func (in *EnvironmentEC2Status) DeepCopyInto(out *EnvironmentEC2Status)

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

type EnvironmentEC2_Repository

type EnvironmentEC2_Repository struct {
	// PathComponent http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html#cfn-cloud9-environmentec2-repository-pathcomponent
	PathComponent string `json:"pathComponent,omitempty" cloudformation:"PathComponent,Parameter"`

	// RepositoryUrl http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloud9-environmentec2-repository.html#cfn-cloud9-environmentec2-repository-repositoryurl
	RepositoryUrl string `json:"repositoryUrl,omitempty" cloudformation:"RepositoryUrl,Parameter"`
}

EnvironmentEC2_Repository defines the desired state of EnvironmentEC2Repository

func (*EnvironmentEC2_Repository) DeepCopy

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

func (*EnvironmentEC2_Repository) DeepCopyInto

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