v1

package
v0.0.0-...-5c79d48 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the resources v2 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: "v1"}

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

type LoginRuleResource struct {
	LoginRule *loginrulepb.LoginRule
}

LoginRuleResource wraps loginrulepb.LoginRule in order to implement the interface methods used by TeleportResourceReconciler.

func (*LoginRuleResource) GetMetadata

func (l *LoginRuleResource) GetMetadata() types.Metadata

func (*LoginRuleResource) GetName

func (l *LoginRuleResource) GetName() string

func (*LoginRuleResource) GetRevision

func (l *LoginRuleResource) GetRevision() string

func (*LoginRuleResource) SetOrigin

func (l *LoginRuleResource) SetOrigin(origin string)

func (*LoginRuleResource) SetRevision

func (l *LoginRuleResource) SetRevision(rev string)

type TeleportAccessList

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

	Spec   TeleportAccessListSpec `json:"spec,omitempty"`
	Status resources.Status       `json:"status,omitempty"`
}

TeleportAccessList holds the kubernetes custom resources for login rules.

func (*TeleportAccessList) DeepCopy

func (in *TeleportAccessList) DeepCopy() *TeleportAccessList

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

func (*TeleportAccessList) DeepCopyInto

func (in *TeleportAccessList) DeepCopyInto(out *TeleportAccessList)

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

func (*TeleportAccessList) DeepCopyObject

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

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

func (*TeleportAccessList) StatusConditions

func (l *TeleportAccessList) 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 (TeleportAccessList) ToTeleport

func (l TeleportAccessList) ToTeleport() *accesslist.AccessList

ToTeleport returns a AccessListResource, which wraps the actual accesslist.AccessList and implements the necessary interface methods used by the TeleportResourceReconciler.

type TeleportAccessListList

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

TeleportAccessListList contains a list of TeleportAccessList

func (*TeleportAccessListList) DeepCopy

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

func (*TeleportAccessListList) DeepCopyInto

func (in *TeleportAccessListList) DeepCopyInto(out *TeleportAccessListList)

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

func (*TeleportAccessListList) DeepCopyObject

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

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

type TeleportAccessListSpec

type TeleportAccessListSpec accesslist.Spec

TeleportAccessListSpec defines the desired state of TeleportProvisionToken

func (*TeleportAccessListSpec) DeepCopy

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

func (*TeleportAccessListSpec) DeepCopyInto

func (spec *TeleportAccessListSpec) DeepCopyInto(out *TeleportAccessListSpec)

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

func (*TeleportAccessListSpec) Marshal

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

Marshal serializes a spec into binary data.

func (*TeleportAccessListSpec) Unmarshal

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

Unmarshal deserializes a spec from binary data.

type TeleportLoginRule

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

	Spec   TeleportLoginRuleSpec `json:"spec,omitempty"`
	Status resources.Status      `json:"status,omitempty"`
}

TeleportLoginRule holds the kubernetes custom resources for login rules.

func (*TeleportLoginRule) DeepCopy

func (in *TeleportLoginRule) DeepCopy() *TeleportLoginRule

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

func (*TeleportLoginRule) DeepCopyInto

func (in *TeleportLoginRule) DeepCopyInto(out *TeleportLoginRule)

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

func (*TeleportLoginRule) DeepCopyObject

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

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

func (*TeleportLoginRule) StatusConditions

func (l *TeleportLoginRule) 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 (TeleportLoginRule) ToTeleport

func (l TeleportLoginRule) ToTeleport() *LoginRuleResource

ToTeleport returns a LoginRuleResource, which wraps the actual loginrulepb.LoginRule and implements the necessary interface methods used by the TeleportResourceReconciler.

type TeleportLoginRuleList

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

TeleportLoginRuleList contains a list of TeleportLoginRule

func (*TeleportLoginRuleList) DeepCopy

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

func (*TeleportLoginRuleList) DeepCopyInto

func (in *TeleportLoginRuleList) DeepCopyInto(out *TeleportLoginRuleList)

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

func (*TeleportLoginRuleList) DeepCopyObject

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

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

type TeleportLoginRuleSpec

type TeleportLoginRuleSpec struct {
	Priority         int32               `json:"priority,omitempty"`
	TraitsExpression string              `json:"traits_expression,omitempty"`
	TraitsMap        map[string][]string `json:"traits_map,omitempty"`
}

TeleportLoginRuleSpec matches the JSON of generated CRD spec (loginrulepb.LoginRule does not actually have a spec field).

func (*TeleportLoginRuleSpec) DeepCopy

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

func (*TeleportLoginRuleSpec) DeepCopyInto

func (in *TeleportLoginRuleSpec) DeepCopyInto(out *TeleportLoginRuleSpec)

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

type TeleportOktaImportRule

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

	Spec   TeleportOktaImportRuleSpec `json:"spec,omitempty"`
	Status resources.Status           `json:"status,omitempty"`
}

TeleportOktaImportRule holds the kubernetes custom resources for okta import rules.

func (*TeleportOktaImportRule) DeepCopy

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

func (*TeleportOktaImportRule) DeepCopyInto

func (in *TeleportOktaImportRule) DeepCopyInto(out *TeleportOktaImportRule)

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

func (*TeleportOktaImportRule) DeepCopyObject

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

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

func (*TeleportOktaImportRule) StatusConditions

func (l *TeleportOktaImportRule) 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 (TeleportOktaImportRule) ToTeleport

ToTeleport returns an OktaImportRule, which wraps the actual types.OktaImportRuleV1 and implements the necessary interface methods used by the TeleportResourceReconciler.

type TeleportOktaImportRuleList

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

TeleportOktaImportRuleList contains a list of TeleportOktaImportRule

func (*TeleportOktaImportRuleList) DeepCopy

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

func (*TeleportOktaImportRuleList) DeepCopyInto

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

func (*TeleportOktaImportRuleList) DeepCopyObject

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

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

type TeleportOktaImportRuleMapping

type TeleportOktaImportRuleMapping struct {
	Match     []TeleportOktaImportRuleMatch `json:"match,omitempty"`
	AddLabels map[string]string             `json:"add_labels,omitempty"`
}

TeleportOktaImportRuleMapping matches the JSON of a mapping definition

func (*TeleportOktaImportRuleMapping) DeepCopy

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

func (*TeleportOktaImportRuleMapping) DeepCopyInto

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

type TeleportOktaImportRuleMatch

type TeleportOktaImportRuleMatch struct {
	AppIDs           []string `json:"app_ids,omitempty"`
	GroupIDs         []string `json:"group_ids,omitempty"`
	AppNameRegexes   []string `json:"app_name_regexes,omitempty"`
	GroupNameRegexes []string `json:"group_name_regexes,omitempty"`
}

TeleportOktaImportRuleMatch matches the JSON of a match definition.

func (*TeleportOktaImportRuleMatch) DeepCopy

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

func (*TeleportOktaImportRuleMatch) DeepCopyInto

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

type TeleportOktaImportRuleSpec

type TeleportOktaImportRuleSpec struct {
	Priority int32                           `json:"priority,omitempty"`
	Mappings []TeleportOktaImportRuleMapping `json:"mappings,omitempty"`
}

TeleportOktaImportRuleSpec matches the JSON of generated CRD spec

func (*TeleportOktaImportRuleSpec) DeepCopy

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

func (*TeleportOktaImportRuleSpec) DeepCopyInto

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

type TeleportRoleV6

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

	Spec   TeleportRoleV6Spec `json:"spec,omitempty"`
	Status resources.Status   `json:"status,omitempty"`
}

TeleportRoleV6 is the Schema for the roles API

func (*TeleportRoleV6) DeepCopy

func (in *TeleportRoleV6) DeepCopy() *TeleportRoleV6

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

func (*TeleportRoleV6) DeepCopyInto

func (in *TeleportRoleV6) DeepCopyInto(out *TeleportRoleV6)

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

func (*TeleportRoleV6) DeepCopyObject

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

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

func (*TeleportRoleV6) StatusConditions

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

StatusConditions returns a pointer to Status.Conditions slice.

func (TeleportRoleV6) ToTeleport

func (r TeleportRoleV6) ToTeleport() types.Role

type TeleportRoleV6List

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

TeleportRoleV6List contains a list of TeleportRoleV6

func (*TeleportRoleV6List) DeepCopy

func (in *TeleportRoleV6List) DeepCopy() *TeleportRoleV6List

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

func (*TeleportRoleV6List) DeepCopyInto

func (in *TeleportRoleV6List) DeepCopyInto(out *TeleportRoleV6List)

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

func (*TeleportRoleV6List) DeepCopyObject

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

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

type TeleportRoleV6Spec

type TeleportRoleV6Spec types.RoleSpecV6

TeleportRoleV6Spec defines the desired state of TeleportRoleV6

func (*TeleportRoleV6Spec) DeepCopy

func (in *TeleportRoleV6Spec) DeepCopy() *TeleportRoleV6Spec

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

func (*TeleportRoleV6Spec) DeepCopyInto

func (spec *TeleportRoleV6Spec) DeepCopyInto(out *TeleportRoleV6Spec)

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

func (*TeleportRoleV6Spec) Marshal

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

Marshal serializes a spec into binary data.

func (*TeleportRoleV6Spec) Unmarshal

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

Unmarshal deserializes a spec from binary data.

type TeleportRoleV7

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

	Spec   TeleportRoleV7Spec `json:"spec,omitempty"`
	Status resources.Status   `json:"status,omitempty"`
}

TeleportRoleV7 is the Schema for the roles API

func (*TeleportRoleV7) DeepCopy

func (in *TeleportRoleV7) DeepCopy() *TeleportRoleV7

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

func (*TeleportRoleV7) DeepCopyInto

func (in *TeleportRoleV7) DeepCopyInto(out *TeleportRoleV7)

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

func (*TeleportRoleV7) DeepCopyObject

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

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

func (*TeleportRoleV7) StatusConditions

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

StatusConditions returns a pointer to Status.Conditions slice.

func (TeleportRoleV7) ToTeleport

func (r TeleportRoleV7) ToTeleport() types.Role

type TeleportRoleV7List

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

TeleportRoleV7List contains a list of TeleportRoleV7

func (*TeleportRoleV7List) DeepCopy

func (in *TeleportRoleV7List) DeepCopy() *TeleportRoleV7List

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

func (*TeleportRoleV7List) DeepCopyInto

func (in *TeleportRoleV7List) DeepCopyInto(out *TeleportRoleV7List)

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

func (*TeleportRoleV7List) DeepCopyObject

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

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

type TeleportRoleV7Spec

type TeleportRoleV7Spec types.RoleSpecV6

TeleportRoleV7Spec defines the desired state of TeleportRoleV7

func (*TeleportRoleV7Spec) DeepCopy

func (in *TeleportRoleV7Spec) DeepCopy() *TeleportRoleV7Spec

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

func (*TeleportRoleV7Spec) DeepCopyInto

func (spec *TeleportRoleV7Spec) DeepCopyInto(out *TeleportRoleV7Spec)

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

func (*TeleportRoleV7Spec) Marshal

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

Marshal serializes a spec into binary data.

func (*TeleportRoleV7Spec) Unmarshal

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

Unmarshal deserializes a spec from binary data.

Jump to

Keyboard shortcuts

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