v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=api.cloudflare.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "api.cloudflare.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

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
)
View Source
var (
	Token_Kind             = "Token"
	Token_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Token_Kind}.String()
	Token_KindAPIVersion   = Token_Kind + "." + CRDGroupVersion.String()
	Token_GroupVersionKind = CRDGroupVersion.WithKind(Token_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ConditionObservation

type ConditionObservation struct {
}

func (*ConditionObservation) DeepCopy

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

func (*ConditionObservation) DeepCopyInto

func (in *ConditionObservation) DeepCopyInto(out *ConditionObservation)

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

type ConditionParameters

type ConditionParameters struct {

	// +kubebuilder:validation:Optional
	RequestIP []RequestIPParameters `json:"requestIp,omitempty" tf:"request_ip,omitempty"`
}

func (*ConditionParameters) DeepCopy

func (in *ConditionParameters) DeepCopy() *ConditionParameters

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

func (*ConditionParameters) DeepCopyInto

func (in *ConditionParameters) DeepCopyInto(out *ConditionParameters)

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

type PolicyObservation

type PolicyObservation struct {
}

func (*PolicyObservation) DeepCopy

func (in *PolicyObservation) DeepCopy() *PolicyObservation

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

func (*PolicyObservation) DeepCopyInto

func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation)

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

type PolicyParameters

type PolicyParameters struct {

	// +kubebuilder:validation:Optional
	Effect *string `json:"effect,omitempty" tf:"effect,omitempty"`

	// +kubebuilder:validation:Required
	PermissionGroups []*string `json:"permissionGroups" tf:"permission_groups,omitempty"`

	// +kubebuilder:validation:Required
	Resources map[string]*string `json:"resources" tf:"resources,omitempty"`
}

func (*PolicyParameters) DeepCopy

func (in *PolicyParameters) DeepCopy() *PolicyParameters

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

func (*PolicyParameters) DeepCopyInto

func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters)

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

type RequestIPObservation

type RequestIPObservation struct {
}

func (*RequestIPObservation) DeepCopy

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

func (*RequestIPObservation) DeepCopyInto

func (in *RequestIPObservation) DeepCopyInto(out *RequestIPObservation)

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

type RequestIPParameters

type RequestIPParameters struct {

	// +kubebuilder:validation:Optional
	In []*string `json:"in,omitempty" tf:"in,omitempty"`

	// +kubebuilder:validation:Optional
	NotIn []*string `json:"notIn,omitempty" tf:"not_in,omitempty"`
}

func (*RequestIPParameters) DeepCopy

func (in *RequestIPParameters) DeepCopy() *RequestIPParameters

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

func (*RequestIPParameters) DeepCopyInto

func (in *RequestIPParameters) DeepCopyInto(out *RequestIPParameters)

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

type Token

type Token struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TokenSpec   `json:"spec"`
	Status            TokenStatus `json:"status,omitempty"`
}

Token is the Schema for the Tokens 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:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,cloudflarejet}

func (*Token) DeepCopy

func (in *Token) DeepCopy() *Token

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

func (*Token) DeepCopyInto

func (in *Token) DeepCopyInto(out *Token)

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

func (*Token) DeepCopyObject

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

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

func (*Token) GetCondition

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

GetCondition of this Token.

func (*Token) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Token

func (*Token) GetDeletionPolicy

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

GetDeletionPolicy of this Token.

func (*Token) GetID

func (tr *Token) GetID() string

GetID returns ID of underlying Terraform resource of this Token

func (*Token) GetObservation

func (tr *Token) GetObservation() (map[string]interface{}, error)

GetObservation of this Token

func (*Token) GetParameters

func (tr *Token) GetParameters() (map[string]interface{}, error)

GetParameters of this Token

func (*Token) GetProviderConfigReference

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

GetProviderConfigReference of this Token.

func (*Token) GetProviderReference

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

GetProviderReference of this Token. Deprecated: Use GetProviderConfigReference.

func (*Token) GetTerraformResourceType

func (mg *Token) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Token

func (*Token) GetTerraformSchemaVersion

func (tr *Token) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Token) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Token.

func (*Token) LateInitialize

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

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

func (*Token) SetConditions

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

SetConditions of this Token.

func (*Token) SetDeletionPolicy

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

SetDeletionPolicy of this Token.

func (*Token) SetObservation

func (tr *Token) SetObservation(obs map[string]interface{}) error

SetObservation for this Token

func (*Token) SetParameters

func (tr *Token) SetParameters(params map[string]interface{}) error

SetParameters for this Token

func (*Token) SetProviderConfigReference

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

SetProviderConfigReference of this Token.

func (*Token) SetProviderReference

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

SetProviderReference of this Token. Deprecated: Use SetProviderConfigReference.

func (*Token) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Token.

type TokenList

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

TokenList contains a list of Tokens

func (*TokenList) DeepCopy

func (in *TokenList) DeepCopy() *TokenList

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

func (*TokenList) DeepCopyInto

func (in *TokenList) DeepCopyInto(out *TokenList)

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

func (*TokenList) DeepCopyObject

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

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

func (*TokenList) GetItems

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

GetItems of this TokenList.

type TokenObservation

type TokenObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	IssuedOn *string `json:"issuedOn,omitempty" tf:"issued_on,omitempty"`

	ModifiedOn *string `json:"modifiedOn,omitempty" tf:"modified_on,omitempty"`

	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*TokenObservation) DeepCopy

func (in *TokenObservation) DeepCopy() *TokenObservation

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

func (*TokenObservation) DeepCopyInto

func (in *TokenObservation) DeepCopyInto(out *TokenObservation)

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

type TokenParameters

type TokenParameters struct {

	// +kubebuilder:validation:Optional
	Condition []ConditionParameters `json:"condition,omitempty" tf:"condition,omitempty"`

	// +kubebuilder:validation:Required
	Policy []PolicyParameters `json:"policy" tf:"policy,omitempty"`
}

func (*TokenParameters) DeepCopy

func (in *TokenParameters) DeepCopy() *TokenParameters

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

func (*TokenParameters) DeepCopyInto

func (in *TokenParameters) DeepCopyInto(out *TokenParameters)

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

type TokenSpec

type TokenSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TokenParameters `json:"forProvider"`
}

TokenSpec defines the desired state of Token

func (*TokenSpec) DeepCopy

func (in *TokenSpec) DeepCopy() *TokenSpec

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

func (*TokenSpec) DeepCopyInto

func (in *TokenSpec) DeepCopyInto(out *TokenSpec)

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

type TokenStatus

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

TokenStatus defines the observed state of Token.

func (*TokenStatus) DeepCopy

func (in *TokenStatus) DeepCopy() *TokenStatus

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

func (*TokenStatus) DeepCopyInto

func (in *TokenStatus) DeepCopyInto(out *TokenStatus)

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