knownshapes

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ASAPKeyShapeName wiringplugin.ShapeName = "voyager.atl-paas.net/ASAPKey"
)
View Source
const (
	BindableEnvironmentVariablesShape wiringplugin.ShapeName = "voyager.atl-paas.net/BindableEnvironmentVariables"
)
View Source
const (
	// BindableIamAccessibleShape is a When you bind to it it returns IAM policy snippet.
	BindableIamAccessibleShape wiringplugin.ShapeName = "voyager.atl-paas.net/BindableIamAccessible"
)
View Source
const (
	// Exposes reference to ingress endpoint details within source resource (KubeCompute initially)
	IngressEndpointShape wiringplugin.ShapeName = "voyager.atl-paas.net/IngressEndpointShape"
)
View Source
const (
	// Exposes a reference to a Deployment object.
	KubeDeploymentShape wiringplugin.ShapeName = "voyager.atl-paas.net/KubeDeploymentShape"
)
View Source
const (
	// allows to select set of Kubernetes objects by list of labels
	SetOfPodsSelectableByLabelsShape wiringplugin.ShapeName = "voyager.atl-paas.net/SetOfPodsSelectableByLabelsShape"
)
View Source
const (
	SharedDbShape wiringplugin.ShapeName = "voyager.atl-paas.net/SharedDb"
)
View Source
const (
	SnsSubscribableShape wiringplugin.ShapeName = "voyager.atl-paas.net/SnsSubscribable"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ASAPKey

type ASAPKey struct {
	wiringplugin.ShapeMeta `json:",inline"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindASAPKeyShapes

func FindASAPKeyShapes(shapes []wiringplugin.Shape) (*ASAPKey, bool, error)

FindASAPKeyShapes returns the first instance of ASAPKey if found

func NewASAPKey

func NewASAPKey() *ASAPKey

NewASAPKey creates a new ASAPKey

func (*ASAPKey) DeepCopy

func (in *ASAPKey) DeepCopy() *ASAPKey

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

func (*ASAPKey) DeepCopyInto

func (in *ASAPKey) DeepCopyInto(out *ASAPKey)

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

func (*ASAPKey) DeepCopyShape

func (in *ASAPKey) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type BindableEnvironmentVariables

type BindableEnvironmentVariables struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   BindableEnvironmentVariablesData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindBindableEnvironmentVariablesShape

func FindBindableEnvironmentVariablesShape(shapes []wiringplugin.Shape) (*BindableEnvironmentVariables, bool, error)

func NewBindableEnvironmentVariables

func NewBindableEnvironmentVariables(resourceName smith_v1.ResourceName, prefix string, vars map[string]string) *BindableEnvironmentVariables

func NewBindableEnvironmentVariablesWithExcludeResourceName

func NewBindableEnvironmentVariablesWithExcludeResourceName(resourceName smith_v1.ResourceName, prefix string, vars map[string]string, excludeResourceNameInKey bool) *BindableEnvironmentVariables

func (*BindableEnvironmentVariables) DeepCopy

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

func (*BindableEnvironmentVariables) DeepCopyInto

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

func (*BindableEnvironmentVariables) DeepCopyShape

func (in *BindableEnvironmentVariables) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type BindableEnvironmentVariablesData

type BindableEnvironmentVariablesData struct {
	libshapes.BindableShapeStruct `json:",inline"`
	Prefix                        string            `json:"prefix,omitempty"`
	Vars                          map[string]string `json:"vars,omitempty"`
	ExcludeResourceNameInKey      bool              `json:"excludeResourceNameInKey,omitempty"`
}

+k8s:deepcopy-gen=true

func (*BindableEnvironmentVariablesData) DeepCopy

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

func (*BindableEnvironmentVariablesData) DeepCopyInto

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

type BindableIamAccessible

type BindableIamAccessible struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   BindableIamAccessibleData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindBindableIamAccessibleShape

func FindBindableIamAccessibleShape(shapes []wiringplugin.Shape) (*BindableIamAccessible, bool, error)

func NewBindableIamAccessible

func NewBindableIamAccessible(resourceName smith_v1.ResourceName, iamPolicySnippetPath string) *BindableIamAccessible

func (*BindableIamAccessible) DeepCopy

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

func (*BindableIamAccessible) DeepCopyInto

func (in *BindableIamAccessible) DeepCopyInto(out *BindableIamAccessible)

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

func (*BindableIamAccessible) DeepCopyShape

func (in *BindableIamAccessible) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type BindableIamAccessibleData

type BindableIamAccessibleData struct {
	libshapes.BindableShapeStruct `json:",inline"`
	//IAMRoleARN    BindingProtoReference
	//IAMProfileARN BindingProtoReference
	IAMPolicySnippet libshapes.BindingSecretProtoReference
}

+k8s:deepcopy-gen=true

func (*BindableIamAccessibleData) DeepCopy

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

func (*BindableIamAccessibleData) DeepCopyInto

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

type IngressEndpoint

type IngressEndpoint struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   IngressEndpointData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindIngressEndpointShape

func FindIngressEndpointShape(shapes []wiringplugin.Shape) (*IngressEndpoint, bool, error)

func NewIngressEndpoint

func NewIngressEndpoint(resourceName smith_v1.ResourceName) *IngressEndpoint

func (*IngressEndpoint) DeepCopy

func (in *IngressEndpoint) DeepCopy() *IngressEndpoint

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

func (*IngressEndpoint) DeepCopyInto

func (in *IngressEndpoint) DeepCopyInto(out *IngressEndpoint)

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

func (*IngressEndpoint) DeepCopyShape

func (in *IngressEndpoint) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type IngressEndpointData

type IngressEndpointData struct {
	IngressEndpoint libshapes.ProtoReference `json:"ingressEndpoint"`
}

+k8s:deepcopy-gen=true

func (*IngressEndpointData) DeepCopy

func (in *IngressEndpointData) DeepCopy() *IngressEndpointData

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

func (*IngressEndpointData) DeepCopyInto

func (in *IngressEndpointData) DeepCopyInto(out *IngressEndpointData)

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

type KubeDeployment

type KubeDeployment struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   KubeDeploymentData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindKubeDeploymentShape

func FindKubeDeploymentShape(shapes []wiringplugin.Shape) (*KubeDeployment, bool, error)

func NewKubeDeployment

func NewKubeDeployment(resourceName smith_v1.ResourceName, deploymentName string) *KubeDeployment

func (*KubeDeployment) DeepCopy

func (in *KubeDeployment) DeepCopy() *KubeDeployment

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

func (*KubeDeployment) DeepCopyInto

func (in *KubeDeployment) DeepCopyInto(out *KubeDeployment)

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

func (*KubeDeployment) DeepCopyShape

func (in *KubeDeployment) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type KubeDeploymentData

type KubeDeploymentData struct {
	// Resource name of the Deployment object.
	DeploymentResourceName smith_v1.ResourceName `json:"deploymentResourceName"`
	// Metadata name of the Deployment object.
	DeploymentName string `json:"deploymentName"`
}

+k8s:deepcopy-gen=true

func (*KubeDeploymentData) DeepCopy

func (in *KubeDeploymentData) DeepCopy() *KubeDeploymentData

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

func (*KubeDeploymentData) DeepCopyInto

func (in *KubeDeploymentData) DeepCopyInto(out *KubeDeploymentData)

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

type SetOfPodsSelectableByLabels

type SetOfPodsSelectableByLabels struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   SetOfPodsSelectableByLabelsData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindSetOfPodsSelectableByLabelsShape

func FindSetOfPodsSelectableByLabelsShape(shapes []wiringplugin.Shape) (*SetOfPodsSelectableByLabels, bool, error)

func NewSetOfPodsSelectableByLabels

func NewSetOfPodsSelectableByLabels(resourceName smith_v1.ResourceName, labels map[string]string) *SetOfPodsSelectableByLabels

func (*SetOfPodsSelectableByLabels) DeepCopy

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

func (*SetOfPodsSelectableByLabels) DeepCopyInto

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

func (*SetOfPodsSelectableByLabels) DeepCopyShape

func (in *SetOfPodsSelectableByLabels) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type SetOfPodsSelectableByLabelsData

type SetOfPodsSelectableByLabelsData struct {
	DeploymentResourceName smith_v1.ResourceName `json:"deploymentResourceName"`
	Labels                 map[string]string     `json:"labels"`
}

+k8s:deepcopy-gen=true

func (*SetOfPodsSelectableByLabelsData) DeepCopy

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

func (*SetOfPodsSelectableByLabelsData) DeepCopyInto

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

type SharedDb

type SharedDb struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   SharedDbData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindSharedDbShape

func FindSharedDbShape(shapes []wiringplugin.Shape) (*SharedDb, bool, error)

func NewSharedDbShape

func NewSharedDbShape(resourceName smith_v1.ResourceName, hasSameRegionReadReplica bool) *SharedDb

func (*SharedDb) DeepCopy

func (in *SharedDb) DeepCopy() *SharedDb

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

func (*SharedDb) DeepCopyInto

func (in *SharedDb) DeepCopyInto(out *SharedDb)

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

func (*SharedDb) DeepCopyShape

func (in *SharedDb) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type SharedDbData

type SharedDbData struct {
	ResourceName             smith_v1.ResourceName `json:"resourceName"`
	HasSameRegionReadReplica bool                  `json:"hasSameRegionReadReplica"`
}

+k8s:deepcopy-gen=true

func (*SharedDbData) DeepCopy

func (in *SharedDbData) DeepCopy() *SharedDbData

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

func (*SharedDbData) DeepCopyInto

func (in *SharedDbData) DeepCopyInto(out *SharedDbData)

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

type SnsSubscribable

type SnsSubscribable struct {
	wiringplugin.ShapeMeta `json:",inline"`
	Data                   SnsSubscribableData `json:"data"`
}

+k8s:deepcopy-gen=true +k8s:deepcopy-gen:interfaces=github.com/atlassian/voyager/pkg/orchestration/wiring/wiringplugin.Shape

func FindSnsSubscribableShape

func FindSnsSubscribableShape(shapes []wiringplugin.Shape) (*SnsSubscribable, bool, error)

func NewSnsSubscribable

func NewSnsSubscribable(smithResourceName smith_v1.ResourceName) *SnsSubscribable

func (*SnsSubscribable) DeepCopy

func (in *SnsSubscribable) DeepCopy() *SnsSubscribable

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

func (*SnsSubscribable) DeepCopyInto

func (in *SnsSubscribable) DeepCopyInto(out *SnsSubscribable)

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

func (*SnsSubscribable) DeepCopyShape

func (in *SnsSubscribable) DeepCopyShape() wiringplugin.Shape

DeepCopyShape is an autogenerated deepcopy function, copying the receiver, creating a new wiringplugin.Shape.

type SnsSubscribableData

type SnsSubscribableData struct {
	libshapes.BindableShapeStruct `json:",inline"`
	TopicARN                      libshapes.BindingSecretProtoReference `json:"topicArn"`
}

+k8s:deepcopy-gen=true

func (*SnsSubscribableData) DeepCopy

func (in *SnsSubscribableData) DeepCopy() *SnsSubscribableData

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

func (*SnsSubscribableData) DeepCopyInto

func (in *SnsSubscribableData) DeepCopyInto(out *SnsSubscribableData)

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