v1alpha2

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

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

Index

Constants

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

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

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 (r *IAMRole) GetBindingPhase() runtimev1alpha1.BindingPhase

GetBindingPhase of this IAMRole.

func (*IAMRole) GetClaimReference

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

GetClaimReference of this IAMRole.

func (*IAMRole) GetNonPortableClassReference

func (r *IAMRole) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this IAMRole.

func (*IAMRole) GetReclaimPolicy

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

GetReclaimPolicy of this IAMRole.

func (*IAMRole) GetWriteConnectionSecretToReference

func (r *IAMRole) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) SetBindingPhase

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

SetBindingPhase of this IAMRole.

func (*IAMRole) SetClaimReference

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

SetClaimReference of this IAMRole.

func (*IAMRole) SetConditions

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

SetConditions of this IAMRole.

func (*IAMRole) SetNonPortableClassReference

func (r *IAMRole) SetNonPortableClassReference(ref *corev1.ObjectReference)

SetNonPortableClassReference of this IAMRole.

func (*IAMRole) SetReclaimPolicy

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

SetReclaimPolicy of this IAMRole.

func (*IAMRole) SetWriteConnectionSecretToReference

func (r *IAMRole) SetWriteConnectionSecretToReference(ref corev1.LocalObjectReference)

SetWriteConnectionSecretToReference of this IAMRole.

func (*IAMRole) UpdateExternalStatus

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

UpdateExternalStatus updates the external status object, given the observation

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

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 (r *IAMRolePolicyAttachment) GetClaimReference() *corev1.ObjectReference

GetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetNonPortableClassReference

func (r *IAMRolePolicyAttachment) GetNonPortableClassReference() *corev1.ObjectReference

GetNonPortableClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetReclaimPolicy

GetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) GetWriteConnectionSecretToReference

func (r *IAMRolePolicyAttachment) GetWriteConnectionSecretToReference() corev1.LocalObjectReference

GetWriteConnectionSecretToReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetBindingPhase

SetBindingPhase of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetClaimReference

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

SetClaimReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetConditions

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

SetConditions of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetNonPortableClassReference

func (r *IAMRolePolicyAttachment) SetNonPortableClassReference(ref *corev1.ObjectReference)

SetNonPortableClassReference of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetReclaimPolicy

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

SetReclaimPolicy of this IAMRolePolicyAttachment.

func (*IAMRolePolicyAttachment) SetWriteConnectionSecretToReference

func (r *IAMRolePolicyAttachment) SetWriteConnectionSecretToReference(ref corev1.LocalObjectReference)

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"`
}

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