v1alpha1

package
v0.17.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Group   = "efs.aws.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	FileSystemKind             = "FileSystem"
	FileSystemGroupKind        = schema.GroupKind{Group: Group, Kind: FileSystemKind}.String()
	FileSystemKindAPIVersion   = FileSystemKind + "." + GroupVersion.String()
	FileSystemGroupVersionKind = GroupVersion.WithKind(FileSystemKind)
)

Repository type metadata.

View Source
var (
	// GroupVersion is the API Group Version used to register the objects
	GroupVersion = schema.GroupVersion{Group: Group, Version: Version}

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

type AccessPointDescription struct {
	FileSystemID *string `json:"fileSystemID,omitempty"`

	LifeCycleState *string `json:"lifeCycleState,omitempty"`

	OwnerID *string `json:"ownerID,omitempty"`

	Tags []*Tag `json:"tags,omitempty"`
}

func (*AccessPointDescription) DeepCopy

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

func (*AccessPointDescription) DeepCopyInto

func (in *AccessPointDescription) DeepCopyInto(out *AccessPointDescription)

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

type CustomFileSystemParameters

type CustomFileSystemParameters struct {

	// The throughput, measured in MiB/s, that you want to provision for a file
	// system that you're creating. Valid values are 1-1024. Required if ThroughputMode
	// is set to provisioned. The upper limit for throughput is 1024 MiB/s. You
	// can get this limit increased by contacting AWS Support. For more information,
	// see Amazon EFS Limits That You Can Increase (https://docs.aws.amazon.com/efs/latest/ug/limits.html#soft-limits)
	// in the Amazon EFS User Guide.
	// +optional
	ProvisionedThroughputInMibps *int64 `json:"provisionedThroughputInMibps,omitempty"`

	// KMSKeyIDRef is a reference to an Key used to set
	// the KMSKeyID.
	// +optional
	KMSKeyIDRef *xpv1.Reference `json:"kmsKeyIdRef,omitempty"`

	// KMSKeyIDSelector selects references to Key used
	// to set the KMSKeyID.
	// +optional
	KMSKeyIDSelector *xpv1.Selector `json:"kmsKeyIdSelector,omitempty"`
}

CustomFileSystemParameters contains the additional fields for FileSystemParameters.

func (*CustomFileSystemParameters) DeepCopy

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

func (*CustomFileSystemParameters) DeepCopyInto

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

type FileSystem

type FileSystem struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              FileSystemSpec   `json:"spec,omitempty"`
	Status            FileSystemStatus `json:"status,omitempty"`
}

FileSystem is the Schema for the FileSystems API +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="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*FileSystem) DeepCopy

func (in *FileSystem) DeepCopy() *FileSystem

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

func (*FileSystem) DeepCopyInto

func (in *FileSystem) DeepCopyInto(out *FileSystem)

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

func (*FileSystem) DeepCopyObject

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

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

func (*FileSystem) GetCondition

func (mg *FileSystem) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this FileSystem.

func (*FileSystem) GetDeletionPolicy

func (mg *FileSystem) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this FileSystem.

func (*FileSystem) GetProviderConfigReference

func (mg *FileSystem) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this FileSystem.

func (*FileSystem) GetProviderReference

func (mg *FileSystem) GetProviderReference() *xpv1.Reference

GetProviderReference of this FileSystem. Deprecated: Use GetProviderConfigReference.

func (*FileSystem) GetWriteConnectionSecretToReference

func (mg *FileSystem) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this FileSystem.

func (*FileSystem) ResolveReferences

func (mg *FileSystem) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this FileSystem

func (*FileSystem) SetConditions

func (mg *FileSystem) SetConditions(c ...xpv1.Condition)

SetConditions of this FileSystem.

func (*FileSystem) SetDeletionPolicy

func (mg *FileSystem) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this FileSystem.

func (*FileSystem) SetProviderConfigReference

func (mg *FileSystem) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this FileSystem.

func (*FileSystem) SetProviderReference

func (mg *FileSystem) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this FileSystem. Deprecated: Use SetProviderConfigReference.

func (*FileSystem) SetWriteConnectionSecretToReference

func (mg *FileSystem) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this FileSystem.

type FileSystemList

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

FileSystemList contains a list of FileSystems

func (*FileSystemList) DeepCopy

func (in *FileSystemList) DeepCopy() *FileSystemList

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

func (*FileSystemList) DeepCopyInto

func (in *FileSystemList) DeepCopyInto(out *FileSystemList)

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

func (*FileSystemList) DeepCopyObject

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

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

func (*FileSystemList) GetItems

func (l *FileSystemList) GetItems() []resource.Managed

GetItems of this FileSystemList.

type FileSystemObservation

type FileSystemObservation struct {
	// The time that the file system was created, in seconds (since 1970-01-01T00:00:00Z).
	CreationTime *metav1.Time `json:"creationTime,omitempty"`
	// The opaque string specified in the request.
	CreationToken *string `json:"creationToken,omitempty"`
	// The Amazon Resource Name (ARN) for the EFS file system, in the format arn:aws:elasticfilesystem:region:account-id:file-system/file-system-id
	// . Example with sample data: arn:aws:elasticfilesystem:us-west-2:1111333322228888:file-system/fs-01234567
	FileSystemARN *string `json:"fileSystemARN,omitempty"`
	// The ID of the file system, assigned by Amazon EFS.
	FileSystemID *string `json:"fileSystemID,omitempty"`
	// The lifecycle phase of the file system.
	LifeCycleState *string `json:"lifeCycleState,omitempty"`
	// You can add tags to a file system, including a Name tag. For more information,
	// see CreateFileSystem. If the file system has a Name tag, Amazon EFS returns
	// the value in this field.
	Name *string `json:"name,omitempty"`
	// The current number of mount targets that the file system has. For more information,
	// see CreateMountTarget.
	NumberOfMountTargets *int64 `json:"numberOfMountTargets,omitempty"`
	// The AWS account that created the file system. If the file system was created
	// by an IAM user, the parent account to which the user belongs is the owner.
	OwnerID *string `json:"ownerID,omitempty"`
	// The latest known metered size (in bytes) of data stored in the file system,
	// in its Value field, and the time at which that size was determined in its
	// Timestamp field. The Timestamp value is the integer number of seconds since
	// 1970-01-01T00:00:00Z. The SizeInBytes value doesn't represent the size of
	// a consistent snapshot of the file system, but it is eventually consistent
	// when there are no writes to the file system. That is, SizeInBytes represents
	// actual size only if the file system is not modified for a period longer than
	// a couple of hours. Otherwise, the value is not the exact size that the file
	// system was at any point in time.
	SizeInBytes *FileSystemSize `json:"sizeInBytes,omitempty"`
}

FileSystemObservation defines the observed state of FileSystem

func (*FileSystemObservation) DeepCopy

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

func (*FileSystemObservation) DeepCopyInto

func (in *FileSystemObservation) DeepCopyInto(out *FileSystemObservation)

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

type FileSystemParameters

type FileSystemParameters struct {
	// Region is which region the FileSystem will be created.
	// +kubebuilder:validation:Required
	Region string `json:"region"`

	// A Boolean value that, if true, creates an encrypted file system. When creating
	// an encrypted file system, you have the option of specifying CreateFileSystemRequest$KmsKeyId
	// for an existing AWS Key Management Service (AWS KMS) customer master key
	// (CMK). If you don't specify a CMK, then the default CMK for Amazon EFS, /aws/elasticfilesystem,
	// is used to protect the encrypted file system.
	Encrypted *bool `json:"encrypted,omitempty"`

	// The ID of the AWS KMS CMK to be used to protect the encrypted file system.
	// This parameter is only required if you want to use a nondefault CMK. If this
	// parameter is not specified, the default CMK for Amazon EFS is used. This
	// ID can be in one of the following formats:
	//
	//    * Key ID - A unique identifier of the key, for example 1234abcd-12ab-34cd-56ef-1234567890ab.
	//
	//    * ARN - An Amazon Resource Name (ARN) for the key, for example arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab.
	//
	//    * Key alias - A previously created display name for a key, for example
	//    alias/projectKey1.
	//
	//    * Key alias ARN - An ARN for a key alias, for example arn:aws:kms:us-west-2:444455556666:alias/projectKey1.
	//
	// If KmsKeyId is specified, the CreateFileSystemRequest$Encrypted parameter
	// must be set to true.
	//
	// EFS accepts only symmetric CMKs. You cannot use asymmetric CMKs with EFS
	// file systems.
	KMSKeyID *string `json:"kmsKeyID,omitempty"`

	// The performance mode of the file system. We recommend generalPurpose performance
	// mode for most file systems. File systems using the maxIO performance mode
	// can scale to higher levels of aggregate throughput and operations per second
	// with a tradeoff of slightly higher latencies for most file operations. The
	// performance mode can't be changed after the file system has been created.
	PerformanceMode *string `json:"performanceMode,omitempty"`

	// A value that specifies to create one or more tags associated with the file
	// system. Each tag is a user-defined key-value pair. Name your file system
	// on creation by including a "Key":"Name","Value":"{value}" key-value pair.
	Tags []*Tag `json:"tags,omitempty"`

	// The throughput mode for the file system to be created. There are two throughput
	// modes to choose from for your file system: bursting and provisioned. If you
	// set ThroughputMode to provisioned, you must also set a value for ProvisionedThroughPutInMibps.
	// You can decrease your file system's throughput in Provisioned Throughput
	// mode or change between the throughput modes as long as it’s been more than
	// 24 hours since the last decrease or throughput mode change. For more, see
	// Specifying Throughput with Provisioned Mode (https://docs.aws.amazon.com/efs/latest/ug/performance.html#provisioned-throughput)
	// in the Amazon EFS User Guide.
	ThroughputMode *string `json:"throughputMode,omitempty"`

	// CustomFileSystemParameters includes the additional fields on top of
	// the generated ones.
	CustomFileSystemParameters `json:",inline"`
}

FileSystemParameters defines the desired state of FileSystem

func (*FileSystemParameters) DeepCopy

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

func (*FileSystemParameters) DeepCopyInto

func (in *FileSystemParameters) DeepCopyInto(out *FileSystemParameters)

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

type FileSystemSize

type FileSystemSize struct {
	Timestamp *metav1.Time `json:"timestamp,omitempty"`

	Value *int64 `json:"value,omitempty"`

	ValueInIA *int64 `json:"valueInIA,omitempty"`

	ValueInStandard *int64 `json:"valueInStandard,omitempty"`
}

func (*FileSystemSize) DeepCopy

func (in *FileSystemSize) DeepCopy() *FileSystemSize

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

func (*FileSystemSize) DeepCopyInto

func (in *FileSystemSize) DeepCopyInto(out *FileSystemSize)

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

type FileSystemSpec

type FileSystemSpec struct {
	xpv1.ResourceSpec `json:",inline"`
	ForProvider       FileSystemParameters `json:"forProvider"`
}

FileSystemSpec defines the desired state of FileSystem

func (*FileSystemSpec) DeepCopy

func (in *FileSystemSpec) DeepCopy() *FileSystemSpec

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

func (*FileSystemSpec) DeepCopyInto

func (in *FileSystemSpec) DeepCopyInto(out *FileSystemSpec)

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

type FileSystemStatus

type FileSystemStatus struct {
	xpv1.ResourceStatus `json:",inline"`
	AtProvider          FileSystemObservation `json:"atProvider"`
}

FileSystemStatus defines the observed state of FileSystem.

func (*FileSystemStatus) DeepCopy

func (in *FileSystemStatus) DeepCopy() *FileSystemStatus

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

func (*FileSystemStatus) DeepCopyInto

func (in *FileSystemStatus) DeepCopyInto(out *FileSystemStatus)

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

type LifeCycleState

type LifeCycleState string
const (
	LifeCycleState_creating  LifeCycleState = "creating"
	LifeCycleState_available LifeCycleState = "available"
	LifeCycleState_updating  LifeCycleState = "updating"
	LifeCycleState_deleting  LifeCycleState = "deleting"
	LifeCycleState_deleted   LifeCycleState = "deleted"
)

type PerformanceMode

type PerformanceMode string
const (
	PerformanceMode_generalPurpose PerformanceMode = "generalPurpose"
	PerformanceMode_maxIO          PerformanceMode = "maxIO"
)

type Status

type Status string
const (
	Status_ENABLED   Status = "ENABLED"
	Status_ENABLING  Status = "ENABLING"
	Status_DISABLED  Status = "DISABLED"
	Status_DISABLING Status = "DISABLING"
)

type Tag

type Tag struct {
	Key *string `json:"key,omitempty"`

	Value *string `json:"value,omitempty"`
}

func (*Tag) DeepCopy

func (in *Tag) DeepCopy() *Tag

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

func (*Tag) DeepCopyInto

func (in *Tag) DeepCopyInto(out *Tag)

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

type ThroughputMode

type ThroughputMode string
const (
	ThroughputMode_bursting    ThroughputMode = "bursting"
	ThroughputMode_provisioned ThroughputMode = "provisioned"
)

type TransitionToIARules

type TransitionToIARules string
const (
	TransitionToIARules_AFTER_7_DAYS  TransitionToIARules = "AFTER_7_DAYS"
	TransitionToIARules_AFTER_14_DAYS TransitionToIARules = "AFTER_14_DAYS"
	TransitionToIARules_AFTER_30_DAYS TransitionToIARules = "AFTER_30_DAYS"
	TransitionToIARules_AFTER_60_DAYS TransitionToIARules = "AFTER_60_DAYS"
	TransitionToIARules_AFTER_90_DAYS TransitionToIARules = "AFTER_90_DAYS"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL