Documentation ¶
Index ¶
- Constants
- type ASAPKey
- type BindableEnvironmentVariables
- func FindBindableEnvironmentVariablesShape(shapes []wiringplugin.Shape) (*BindableEnvironmentVariables, bool, error)
- func NewBindableEnvironmentVariables(resourceName smith_v1.ResourceName, prefix string, vars map[string]string) *BindableEnvironmentVariables
- func NewBindableEnvironmentVariablesWithExcludeResourceName(resourceName smith_v1.ResourceName, prefix string, vars map[string]string, ...) *BindableEnvironmentVariables
- type BindableEnvironmentVariablesData
- type BindableIamAccessible
- type BindableIamAccessibleData
- type IngressEndpoint
- type IngressEndpointData
- type KubeDeployment
- type KubeDeploymentData
- type SetOfPodsSelectableByLabels
- type SetOfPodsSelectableByLabelsData
- type SharedDb
- type SharedDbData
- type SnsSubscribable
- type SnsSubscribableData
Constants ¶
const (
ASAPKeyShapeName wiringplugin.ShapeName = "voyager.atl-paas.net/ASAPKey"
)
const (
BindableEnvironmentVariablesShape wiringplugin.ShapeName = "voyager.atl-paas.net/BindableEnvironmentVariables"
)
const ( // BindableIamAccessibleShape is a When you bind to it it returns IAM policy snippet. BindableIamAccessibleShape wiringplugin.ShapeName = "voyager.atl-paas.net/BindableIamAccessible" )
const ( // Exposes reference to ingress endpoint details within source resource (KubeCompute initially) IngressEndpointShape wiringplugin.ShapeName = "voyager.atl-paas.net/IngressEndpointShape" )
const ( // Exposes a reference to a Deployment object. KubeDeploymentShape wiringplugin.ShapeName = "voyager.atl-paas.net/KubeDeploymentShape" )
const ( // allows to select set of Kubernetes objects by list of labels SetOfPodsSelectableByLabelsShape wiringplugin.ShapeName = "voyager.atl-paas.net/SetOfPodsSelectableByLabelsShape" )
const (
)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 (*ASAPKey) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ASAPKey.
func (*ASAPKey) DeepCopyInto ¶
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 ¶
func (in *BindableEnvironmentVariables) DeepCopy() *BindableEnvironmentVariables
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindableEnvironmentVariables.
func (*BindableEnvironmentVariables) DeepCopyInto ¶
func (in *BindableEnvironmentVariables) DeepCopyInto(out *BindableEnvironmentVariables)
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 ¶
func (in *BindableEnvironmentVariablesData) DeepCopy() *BindableEnvironmentVariablesData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindableEnvironmentVariablesData.
func (*BindableEnvironmentVariablesData) DeepCopyInto ¶
func (in *BindableEnvironmentVariablesData) DeepCopyInto(out *BindableEnvironmentVariablesData)
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 ¶
func (in *BindableIamAccessible) DeepCopy() *BindableIamAccessible
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 ¶
func (in *BindableIamAccessibleData) DeepCopy() *BindableIamAccessibleData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindableIamAccessibleData.
func (*BindableIamAccessibleData) DeepCopyInto ¶
func (in *BindableIamAccessibleData) DeepCopyInto(out *BindableIamAccessibleData)
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 ¶
func (in *SetOfPodsSelectableByLabels) DeepCopy() *SetOfPodsSelectableByLabels
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetOfPodsSelectableByLabels.
func (*SetOfPodsSelectableByLabels) DeepCopyInto ¶
func (in *SetOfPodsSelectableByLabels) DeepCopyInto(out *SetOfPodsSelectableByLabels)
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 ¶
func (in *SetOfPodsSelectableByLabelsData) DeepCopy() *SetOfPodsSelectableByLabelsData
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SetOfPodsSelectableByLabelsData.
func (*SetOfPodsSelectableByLabelsData) DeepCopyInto ¶
func (in *SetOfPodsSelectableByLabelsData) DeepCopyInto(out *SetOfPodsSelectableByLabelsData)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SharedDb ¶
type SharedDb struct {}
+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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SharedDb.
func (*SharedDb) DeepCopyInto ¶
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 {}
+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.