v1alpha1

package
v0.0.0-...-ebfb40b Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the resources of the provider. +kubebuilder:object:generate=true +groupName=authn.krateo.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "authn.krateo.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	StrategyKind             = reflect.TypeOf(Strategy{}).Name()
	StrategyGroupKind        = schema.GroupKind{Group: Group, Kind: StrategyKind}.String()
	StrategyKindAPIVersion   = StrategyKind + "." + SchemeGroupVersion.String()
	StrategyGroupVersionKind = SchemeGroupVersion.WithKind(StrategyKind)
)

Strategy type metadata.

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

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

Functions

This section is empty.

Types

type Strategy

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

	Spec StrategyParams `json:"spec"`
}

A Strategy is a AuthN API type. +kubebuilder:resource:scope=Cluster,categories={managed,krateo,authn}

func (*Strategy) DeepCopy

func (in *Strategy) DeepCopy() *Strategy

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

func (*Strategy) DeepCopyInto

func (in *Strategy) DeepCopyInto(out *Strategy)

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

func (*Strategy) DeepCopyObject

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

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

type StrategyList

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

StrategyList contains a list of Strategy

func (*StrategyList) DeepCopy

func (in *StrategyList) DeepCopy() *StrategyList

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

func (*StrategyList) DeepCopyInto

func (in *StrategyList) DeepCopyInto(out *StrategyList)

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

func (*StrategyList) DeepCopyObject

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

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

type StrategyParams

type StrategyParams struct {
	// Name: descriptive name for this strategy.
	Name string `json:"name"`

	// Config: authn configuration data.
	Config string `json:"config"`

	// Strategy: type of AuthN strategy (i.e. basic, github, microsoft, etc.).
	Strategy string `json:"strategy"`

	// Type: type of this strategy handler.
	Type string `json:"type"`

	// Icon: icon of this strategy handler.
	Icon string `json:"icon"`

	// Color: color of this strategy handler.
	Color string `json:"color"`
}

StrategyParams describe an AuthN Krateo strategy.

func (*StrategyParams) DeepCopy

func (in *StrategyParams) DeepCopy() *StrategyParams

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

func (*StrategyParams) DeepCopyInto

func (in *StrategyParams) DeepCopyInto(out *StrategyParams)

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