v5

package
v1.3.3-0...-f31c912 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v5 contains API Schema definitions for the resources v5 API group +kubebuilder:object:generate=true +groupName=resources.teleport.dev

Index

Constants

This section is empty.

Variables

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

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

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

	Spec   TeleportRoleSpec   `json:"spec,omitempty"`
	Status TeleportRoleStatus `json:"status,omitempty"`
}

TeleportRole is the Schema for the roles API

func (*TeleportRole) DeepCopy

func (in *TeleportRole) DeepCopy() *TeleportRole

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

func (*TeleportRole) DeepCopyInto

func (in *TeleportRole) DeepCopyInto(out *TeleportRole)

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

func (*TeleportRole) DeepCopyObject

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

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

func (*TeleportRole) StatusConditions

func (r *TeleportRole) StatusConditions() *[]metav1.Condition

StatusConditions returns a pointer to Status.Conditions slice. This is used by the teleport resource controller to report conditions back to on resource.

func (TeleportRole) ToTeleport

func (r TeleportRole) ToTeleport() types.Role

type TeleportRoleList

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

TeleportRoleList contains a list of TeleportRole

func (*TeleportRoleList) DeepCopy

func (in *TeleportRoleList) DeepCopy() *TeleportRoleList

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

func (*TeleportRoleList) DeepCopyInto

func (in *TeleportRoleList) DeepCopyInto(out *TeleportRoleList)

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

func (*TeleportRoleList) DeepCopyObject

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

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

type TeleportRoleSpec

type TeleportRoleSpec types.RoleSpecV6

TeleportRoleSpec defines the desired state of TeleportRole

func (*TeleportRoleSpec) DeepCopy

func (in *TeleportRoleSpec) DeepCopy() *TeleportRoleSpec

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

func (*TeleportRoleSpec) DeepCopyInto

func (spec *TeleportRoleSpec) DeepCopyInto(out *TeleportRoleSpec)

DeepCopyInto deep-copies one role spec into another. Required to satisfy runtime.Object interface.

func (*TeleportRoleSpec) Marshal

func (spec *TeleportRoleSpec) Marshal() ([]byte, error)

Marshal serializes a spec into binary data.

func (*TeleportRoleSpec) Unmarshal

func (spec *TeleportRoleSpec) Unmarshal(data []byte) error

Unmarshal deserializes a spec from binary data.

type TeleportRoleStatus

type TeleportRoleStatus struct {
	// Conditions represent the latest available observations of an object's state
	// +optional
	Conditions []metav1.Condition `json:"conditions"`
	// +optional
	TeleportResourceID int64 `json:"teleportResourceID"`
}

TeleportRoleStatus defines the observed state of TeleportRole

func (*TeleportRoleStatus) DeepCopy

func (in *TeleportRoleStatus) DeepCopy() *TeleportRoleStatus

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

func (*TeleportRoleStatus) DeepCopyInto

func (in *TeleportRoleStatus) DeepCopyInto(out *TeleportRoleStatus)

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