v1beta1

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=mediapackage.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "mediapackage.aws.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Channel_Kind             = "Channel"
	Channel_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Channel_Kind}.String()
	Channel_KindAPIVersion   = Channel_Kind + "." + CRDGroupVersion.String()
	Channel_GroupVersionKind = CRDGroupVersion.WithKind(Channel_Kind)
)

Repository type metadata.

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

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)

Functions

This section is empty.

Types

type Channel

type Channel struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.channelId) || (has(self.initProvider) && has(self.initProvider.channelId))",message="spec.forProvider.channelId is a required parameter"
	Spec   ChannelSpec   `json:"spec"`
	Status ChannelStatus `json:"status,omitempty"`
}

Channel is the Schema for the Channels API. Provides an AWS Elemental MediaPackage Channel. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,aws}

func (*Channel) DeepCopy

func (in *Channel) DeepCopy() *Channel

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

func (*Channel) DeepCopyInto

func (in *Channel) DeepCopyInto(out *Channel)

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

func (*Channel) DeepCopyObject

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

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

func (*Channel) GetCondition

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

GetCondition of this Channel.

func (*Channel) GetConnectionDetailsMapping

func (tr *Channel) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Channel

func (*Channel) GetDeletionPolicy

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

GetDeletionPolicy of this Channel.

func (*Channel) GetID

func (tr *Channel) GetID() string

GetID returns ID of underlying Terraform resource of this Channel

func (*Channel) GetInitParameters added in v0.38.0

func (tr *Channel) GetInitParameters() (map[string]any, error)

GetInitParameters of this Channel

func (*Channel) GetManagementPolicies added in v0.38.0

func (mg *Channel) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Channel.

func (*Channel) GetMergedParameters added in v0.44.0

func (tr *Channel) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Channel

func (*Channel) GetObservation

func (tr *Channel) GetObservation() (map[string]any, error)

GetObservation of this Channel

func (*Channel) GetParameters

func (tr *Channel) GetParameters() (map[string]any, error)

GetParameters of this Channel

func (*Channel) GetProviderConfigReference

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

GetProviderConfigReference of this Channel.

func (*Channel) GetPublishConnectionDetailsTo

func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Channel.

func (*Channel) GetTerraformResourceType

func (mg *Channel) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Channel

func (*Channel) GetTerraformSchemaVersion

func (tr *Channel) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Channel) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Channel.

func (*Channel) Hub added in v0.47.2

func (tr *Channel) Hub()

Hub marks this type as a conversion hub.

func (*Channel) LateInitialize

func (tr *Channel) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Channel using its observed tfState. returns True if there are any spec changes for the resource.

func (*Channel) SetConditions

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

SetConditions of this Channel.

func (*Channel) SetDeletionPolicy

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

SetDeletionPolicy of this Channel.

func (*Channel) SetManagementPolicies added in v0.38.0

func (mg *Channel) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Channel.

func (*Channel) SetObservation

func (tr *Channel) SetObservation(obs map[string]any) error

SetObservation for this Channel

func (*Channel) SetParameters

func (tr *Channel) SetParameters(params map[string]any) error

SetParameters for this Channel

func (*Channel) SetProviderConfigReference

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

SetProviderConfigReference of this Channel.

func (*Channel) SetPublishConnectionDetailsTo

func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Channel.

func (*Channel) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Channel.

type ChannelInitParameters added in v0.38.0

type ChannelInitParameters struct {

	// A unique identifier describing the channel
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// A description of the channel
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ChannelInitParameters) DeepCopy added in v0.38.0

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

func (*ChannelInitParameters) DeepCopyInto added in v0.38.0

func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters)

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

type ChannelList

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

ChannelList contains a list of Channels

func (*ChannelList) DeepCopy

func (in *ChannelList) DeepCopy() *ChannelList

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

func (*ChannelList) DeepCopyInto

func (in *ChannelList) DeepCopyInto(out *ChannelList)

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

func (*ChannelList) DeepCopyObject

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

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

func (*ChannelList) GetItems

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

GetItems of this ChannelList.

type ChannelObservation

type ChannelObservation struct {

	// The ARN of the channel
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// A unique identifier describing the channel
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// A description of the channel
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// A single item list of HLS ingest information
	HlsIngest []HlsIngestObservation `json:"hlsIngest,omitempty" tf:"hls_ingest,omitempty"`

	// The same as channel_id
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Key-value map of resource tags.
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	// +mapType=granular
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*ChannelObservation) DeepCopy

func (in *ChannelObservation) DeepCopy() *ChannelObservation

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

func (*ChannelObservation) DeepCopyInto

func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation)

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

type ChannelParameters

type ChannelParameters struct {

	// A unique identifier describing the channel
	// +kubebuilder:validation:Optional
	ChannelID *string `json:"channelId,omitempty" tf:"channel_id,omitempty"`

	// A description of the channel
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*ChannelParameters) DeepCopy

func (in *ChannelParameters) DeepCopy() *ChannelParameters

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

func (*ChannelParameters) DeepCopyInto

func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters)

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

type ChannelSpec

type ChannelSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ChannelParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider ChannelInitParameters `json:"initProvider,omitempty"`
}

ChannelSpec defines the desired state of Channel

func (*ChannelSpec) DeepCopy

func (in *ChannelSpec) DeepCopy() *ChannelSpec

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

func (*ChannelSpec) DeepCopyInto

func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec)

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

type ChannelStatus

type ChannelStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        ChannelObservation `json:"atProvider,omitempty"`
}

ChannelStatus defines the observed state of Channel.

func (*ChannelStatus) DeepCopy

func (in *ChannelStatus) DeepCopy() *ChannelStatus

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

func (*ChannelStatus) DeepCopyInto

func (in *ChannelStatus) DeepCopyInto(out *ChannelStatus)

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

type HlsIngestInitParameters added in v0.38.0

type HlsIngestInitParameters struct {
}

func (*HlsIngestInitParameters) DeepCopy added in v0.38.0

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

func (*HlsIngestInitParameters) DeepCopyInto added in v0.38.0

func (in *HlsIngestInitParameters) DeepCopyInto(out *HlsIngestInitParameters)

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

type HlsIngestObservation

type HlsIngestObservation struct {

	// A list of the ingest endpoints
	IngestEndpoints []IngestEndpointsObservation `json:"ingestEndpoints,omitempty" tf:"ingest_endpoints,omitempty"`
}

func (*HlsIngestObservation) DeepCopy

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

func (*HlsIngestObservation) DeepCopyInto

func (in *HlsIngestObservation) DeepCopyInto(out *HlsIngestObservation)

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

type HlsIngestParameters

type HlsIngestParameters struct {
}

func (*HlsIngestParameters) DeepCopy

func (in *HlsIngestParameters) DeepCopy() *HlsIngestParameters

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

func (*HlsIngestParameters) DeepCopyInto

func (in *HlsIngestParameters) DeepCopyInto(out *HlsIngestParameters)

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

type IngestEndpointsInitParameters added in v0.38.0

type IngestEndpointsInitParameters struct {
}

func (*IngestEndpointsInitParameters) DeepCopy added in v0.38.0

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

func (*IngestEndpointsInitParameters) DeepCopyInto added in v0.38.0

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

type IngestEndpointsObservation

type IngestEndpointsObservation struct {

	// The password
	Password *string `json:"password,omitempty" tf:"password,omitempty"`

	// The URL
	URL *string `json:"url,omitempty" tf:"url,omitempty"`

	// The username
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*IngestEndpointsObservation) DeepCopy

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

func (*IngestEndpointsObservation) DeepCopyInto

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

type IngestEndpointsParameters

type IngestEndpointsParameters struct {
}

func (*IngestEndpointsParameters) DeepCopy

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

func (*IngestEndpointsParameters) DeepCopyInto

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