v1alpha3

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2019 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package v1alpha3 contains managed resources for AWS identity services such as IAM. +kubebuilder:object:generate=true +groupName=identity.aws.crossplane.io +versionName=v1alpha3

Index

Constants

View Source
const (
	Group   = "identity.aws.crossplane.io"
	Version = "v1alpha3"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	IAMRoleKind             = reflect.TypeOf(IAMRole{}).Name()
	IAMRoleKindAPIVersion   = IAMRoleKind + "." + SchemeGroupVersion.String()
	IAMRoleGroupVersionKind = SchemeGroupVersion.WithKind(IAMRoleKind)
)

IAMRole type metadata.

View Source
var (
	IAMRolePolicyAttachmentKind             = reflect.TypeOf(IAMRolePolicyAttachment{}).Name()
	IAMRolePolicyAttachmentKindAPIVersion   = IAMRolePolicyAttachmentKind + "." + SchemeGroupVersion.String()
	IAMRolePolicyAttachmentGroupVersionKind = SchemeGroupVersion.WithKind(IAMRolePolicyAttachmentKind)
)

IAMRolePolicyAttachment type metadata.

Functions

This section is empty.

Types

type IAMRole

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

	Spec   IAMRoleSpec   `json:"spec,omitempty"`
	Status IAMRoleStatus `json:"status,omitempty"`
}

An IAMRole is a managed resource that represents an AWS IAM Role. +kubebuilder:printcolumn:name="ROLENAME",type="string",JSONPath=".spec.roleName" +kubebuilder:printcolumn:name="DESCRIPTION",type="string",JSONPath=".spec.description" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*IAMRole) DeepCopy

func (in *IAMRole) DeepCopy() *IAMRole

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

func (*IAMRole) DeepCopyInto

func (in *IAMRole) DeepCopyInto(out *IAMRole)

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

func (*IAMRole) DeepCopyObject

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

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

func (*IAMRole) GetBindingPhase

func (mg *IAMRole) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this IAMRole.

func (*IAMRole) GetClaimReference

func (mg *IAMRole) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this IAMRole.

func (*IAMRole) GetClassReference

func (mg *IAMRole) GetClassReference() *corev1.ObjectReference

GetClassReference of this IAMRole.

func (*IAMRole) GetCondition

GetCondition of this IAMRole.

func (*IAMRole) GetReclaimPolicy

func (mg *IAMRole) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this IAMRole.

func (*IAMRole) GetWriteConnectionSecretToReference

func (mg *IAMRole) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) SetBindingPhase

func (mg *IAMRole) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this IAMRole.

func (*IAMRole) SetClaimReference

func (mg *IAMRole) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this IAMRole.

func (*IAMRole) SetClassReference

func (mg *IAMRole) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this IAMRole.

func (*IAMRole) SetConditions

func (mg *IAMRole) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this IAMRole.

func (*IAMRole) SetReclaimPolicy

func (mg *IAMRole) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this IAMRole.

func (*IAMRole) SetWriteConnectionSecretToReference

func (mg *IAMRole) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) UpdateExternalStatus

func (r *IAMRole) UpdateExternalStatus(observation iam.Role)

UpdateExternalStatus updates the external status object, given the observation

type IAMRoleARNReferencer

type IAMRoleARNReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

IAMRoleARNReferencer is used to get the ARN from a referenced IAMRole object

func (*IAMRoleARNReferencer) Build

Build retrieves and builds the IAMRoleARN

func (*IAMRoleARNReferencer) DeepCopy

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

func (*IAMRoleARNReferencer) DeepCopyInto

func (in *IAMRoleARNReferencer) DeepCopyInto(out *IAMRoleARNReferencer)

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

func (*IAMRoleARNReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type IAMRoleExternalStatus

type IAMRoleExternalStatus struct {
	// ARN is the Amazon Resource Name (ARN) specifying the role. For more information
	// about ARNs and how to use them in policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
	// in the IAM User Guide guide.
	ARN string `json:"arn"`

	// RoleID is the stable and unique string identifying the role. For more information about
	// IDs, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
	// in the Using IAM guide.
	RoleID string `json:"roleID"`
}

IAMRoleExternalStatus keeps the state for the external resource

func (*IAMRoleExternalStatus) DeepCopy

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

func (*IAMRoleExternalStatus) DeepCopyInto

func (in *IAMRoleExternalStatus) DeepCopyInto(out *IAMRoleExternalStatus)

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

type IAMRoleList

type IAMRoleList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []IAMRole `json:"items"`
}

IAMRoleList contains a list of IAMRoles

func (*IAMRoleList) DeepCopy

func (in *IAMRoleList) DeepCopy() *IAMRoleList

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

func (*IAMRoleList) DeepCopyInto

func (in *IAMRoleList) DeepCopyInto(out *IAMRoleList)

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

func (*IAMRoleList) DeepCopyObject

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

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

type IAMRoleNameReferencer

type IAMRoleNameReferencer struct {
	corev1.LocalObjectReference `json:",inline"`
}

IAMRoleNameReferencer is used to get the Name from a referenced IAMRole object

func (*IAMRoleNameReferencer) Build

Build retrieves and builds the IAMRoleName

func (*IAMRoleNameReferencer) DeepCopy

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

func (*IAMRoleNameReferencer) DeepCopyInto

func (in *IAMRoleNameReferencer) DeepCopyInto(out *IAMRoleNameReferencer)

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

func (*IAMRoleNameReferencer) GetStatus

GetStatus implements GetStatus method of AttributeReferencer interface

type IAMRoleNameReferencerForIAMRolePolicyAttachment

type IAMRoleNameReferencerForIAMRolePolicyAttachment struct {
	IAMRoleNameReferencer `json:",inline"`
}

IAMRoleNameReferencerForIAMRolePolicyAttachment is an attribute referencer that retrieves Name from a referenced IAMRole

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) Assign

Assign assigns the retrieved name to the managed resource

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) DeepCopy

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

func (*IAMRoleNameReferencerForIAMRolePolicyAttachment) DeepCopyInto

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

type IAMRoleParameters

type IAMRoleParameters struct {

	// AssumeRolePolicyDocument is the the trust relationship policy document
	// that grants an entity permission to assume the role.
	AssumeRolePolicyDocument string `json:"assumeRolePolicyDocument"`

	// Description is a description of the role.
	// +optional
	Description string `json:"description,omitempty"`

	// RoleName presents the name of the IAM role.
	RoleName string `json:"roleName"`
}

IAMRoleParameters define the desired state of an AWS IAM Role.

func (*IAMRoleParameters) DeepCopy

func (in *IAMRoleParameters) DeepCopy() *IAMRoleParameters

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

func (*IAMRoleParameters) DeepCopyInto

func (in *IAMRoleParameters) DeepCopyInto(out *IAMRoleParameters)

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

type IAMRolePolicyAttachment

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

	Spec   IAMRolePolicyAttachmentSpec   `json:"spec,omitempty"`
	Status IAMRolePolicyAttachmentStatus `json:"status,omitempty"`
}

An IAMRolePolicyAttachment is a managed resource that represents an AWS IAM Role policy attachment. +kubebuilder:printcolumn:name="ROLENAME",type="string",JSONPath=".spec.roleName" +kubebuilder:printcolumn:name="POLICYARN",type="string",JSONPath=".spec.policyArn" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster

func (*IAMRolePolicyAttachment) DeepCopy

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

func (*IAMRolePolicyAttachment) DeepCopyInto

func (in *IAMRolePolicyAttachment) DeepCopyInto(out *IAMRolePolicyAttachment)

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

func (*IAMRolePolicyAttachment) DeepCopyObject

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

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

func (*IAMRolePolicyAttachment) GetBindingPhase

GetBindingPhase of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetClaimReference

func (mg *IAMRolePolicyAttachment) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetClassReference

func (mg *IAMRolePolicyAttachment) GetClassReference() *corev1.ObjectReference

GetClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetCondition

GetCondition of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetReclaimPolicy

func (mg *IAMRolePolicyAttachment) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy

GetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetWriteConnectionSecretToReference

func (mg *IAMRolePolicyAttachment) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetBindingPhase

func (mg *IAMRolePolicyAttachment) SetBindingPhase(p runtimev1alpha1.BindingPhase)

SetBindingPhase of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetClaimReference

func (mg *IAMRolePolicyAttachment) SetClaimReference(r *corev1.ObjectReference)

SetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetClassReference

func (mg *IAMRolePolicyAttachment) SetClassReference(r *corev1.ObjectReference)

SetClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetConditions

func (mg *IAMRolePolicyAttachment) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetReclaimPolicy

func (mg *IAMRolePolicyAttachment) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)

SetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetWriteConnectionSecretToReference

func (mg *IAMRolePolicyAttachment) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) UpdateExternalStatus

func (r *IAMRolePolicyAttachment) UpdateExternalStatus(observation iam.AttachedPolicy)

UpdateExternalStatus updates the external status object, given the observation

type IAMRolePolicyAttachmentExternalStatus

type IAMRolePolicyAttachmentExternalStatus struct {
	// AttachedPolicyARN is the arn for the attached policy. If nil, the policy
	// is not yet attached
	AttachedPolicyARN string `json:"attachedPolicyArn"`
}

IAMRolePolicyAttachmentExternalStatus keeps the state for the external resource

func (*IAMRolePolicyAttachmentExternalStatus) DeepCopy

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

func (*IAMRolePolicyAttachmentExternalStatus) DeepCopyInto

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

type IAMRolePolicyAttachmentList

type IAMRolePolicyAttachmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []IAMRolePolicyAttachment `json:"items"`
}

IAMRolePolicyAttachmentList contains a list of IAMRolePolicyAttachments

func (*IAMRolePolicyAttachmentList) DeepCopy

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

func (*IAMRolePolicyAttachmentList) DeepCopyInto

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

func (*IAMRolePolicyAttachmentList) DeepCopyObject

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

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

type IAMRolePolicyAttachmentParameters

type IAMRolePolicyAttachmentParameters struct {

	// PolicyARN is the Amazon Resource Name (ARN) of the IAM policy you want to
	// attach.
	PolicyARN string `json:"policyArn"`

	// RoleName presents the name of the IAM role.
	RoleName string `json:"roleName,omitempty"`

	// RoleNameRef references to an IAMRole to retrieve its Name
	RoleNameRef *IAMRoleNameReferencerForIAMRolePolicyAttachment `json:"roleNameRef,omitempty" resource:"attributereferencer"`
}

IAMRolePolicyAttachmentParameters define the desired state of an AWS IAM Role policy attachment.

func (*IAMRolePolicyAttachmentParameters) DeepCopy

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

func (*IAMRolePolicyAttachmentParameters) DeepCopyInto

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

type IAMRolePolicyAttachmentSpec

type IAMRolePolicyAttachmentSpec struct {
	runtimev1alpha1.ResourceSpec      `json:",inline"`
	IAMRolePolicyAttachmentParameters `json:",inline"`
}

An IAMRolePolicyAttachmentSpec defines the desired state of an IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachmentSpec) DeepCopy

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

func (*IAMRolePolicyAttachmentSpec) DeepCopyInto

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

type IAMRolePolicyAttachmentStatus

type IAMRolePolicyAttachmentStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	IAMRolePolicyAttachmentExternalStatus `json:",inline"`
}

An IAMRolePolicyAttachmentStatus represents the observed state of an IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachmentStatus) DeepCopy

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

func (*IAMRolePolicyAttachmentStatus) DeepCopyInto

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

type IAMRoleSpec

type IAMRoleSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`
	IAMRoleParameters            `json:",inline"`
}

An IAMRoleSpec defines the desired state of an IAMRole.

func (*IAMRoleSpec) DeepCopy

func (in *IAMRoleSpec) DeepCopy() *IAMRoleSpec

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

func (*IAMRoleSpec) DeepCopyInto

func (in *IAMRoleSpec) DeepCopyInto(out *IAMRoleSpec)

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

type IAMRoleStatus

type IAMRoleStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	IAMRoleExternalStatus `json:",inline"`
}

An IAMRoleStatus represents the observed state of an IAMRole.

func (*IAMRoleStatus) DeepCopy

func (in *IAMRoleStatus) DeepCopy() *IAMRoleStatus

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

func (*IAMRoleStatus) DeepCopyInto

func (in *IAMRoleStatus) DeepCopyInto(out *IAMRoleStatus)

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