v1beta1

package
v0.0.0-...-0e4f5d7 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: Apache-2.0 Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const GroupVersion = "v1beta1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var Operations = map[string]AuthorizationOperation{
	"send":   Send,
	"recv":   Recv,
	"view":   View,
	"manage": Manage,
}
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: user.GroupName, Version: GroupVersion}

Functions

func Kind

func Kind(kind string) schema.GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Types

type AuthenticationSpec

type AuthenticationSpec struct {
	Type     AuthenticationType `json:"type"`
	Password []byte             `json:"password,omitempty"`
	Provider string             `json:"provider,omitempty"`
}

func (*AuthenticationSpec) DeepCopy

func (in *AuthenticationSpec) DeepCopy() *AuthenticationSpec

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

func (*AuthenticationSpec) DeepCopyInto

func (in *AuthenticationSpec) DeepCopyInto(out *AuthenticationSpec)

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

type AuthenticationType

type AuthenticationType string
const (
	Password       AuthenticationType = "password"
	Federated      AuthenticationType = "federated"
	ServiceAccount AuthenticationType = "serviceaccount"
)

type AuthorizationOperation

type AuthorizationOperation string
const (
	Send   AuthorizationOperation = "send"
	Recv   AuthorizationOperation = "recv"
	View   AuthorizationOperation = "view"
	Manage AuthorizationOperation = "manage"
)

type AuthorizationSpec

type AuthorizationSpec struct {
	Addresses  []string                 `json:"addresses,omitempty"`
	Operations []AuthorizationOperation `json:"operations"`
}

func (*AuthorizationSpec) DeepCopy

func (in *AuthorizationSpec) DeepCopy() *AuthorizationSpec

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

func (*AuthorizationSpec) DeepCopyInto

func (in *AuthorizationSpec) DeepCopyInto(out *AuthorizationSpec)

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

type MessagingUser

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

	Spec   MessagingUserSpec   `json:"spec"`
	Status MessagingUserStatus `json:"status,omitempty"`
}

func (*MessagingUser) DeepCopy

func (in *MessagingUser) DeepCopy() *MessagingUser

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

func (*MessagingUser) DeepCopyInto

func (in *MessagingUser) DeepCopyInto(out *MessagingUser)

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

func (*MessagingUser) DeepCopyObject

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

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

type MessagingUserList

type MessagingUserList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []MessagingUser `json:"items"`
}

func (*MessagingUserList) DeepCopy

func (in *MessagingUserList) DeepCopy() *MessagingUserList

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

func (*MessagingUserList) DeepCopyInto

func (in *MessagingUserList) DeepCopyInto(out *MessagingUserList)

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

func (*MessagingUserList) DeepCopyObject

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

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

type MessagingUserSpec

type MessagingUserSpec struct {
	Username       string              `json:"username"`
	Authentication AuthenticationSpec  `json:"authentication"`
	Authorization  []AuthorizationSpec `json:"authorization,omitempty"`
}

func (*MessagingUserSpec) DeepCopy

func (in *MessagingUserSpec) DeepCopy() *MessagingUserSpec

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

func (*MessagingUserSpec) DeepCopyInto

func (in *MessagingUserSpec) DeepCopyInto(out *MessagingUserSpec)

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

type MessagingUserStatus

type MessagingUserStatus struct {
	Phase      UserPhase `json:"phase,omitempty"`
	Message    string    `json:"message,omitempty"`
	Generation int64     `json:"generation,omitempty"`
}

func (*MessagingUserStatus) DeepCopy

func (in *MessagingUserStatus) DeepCopy() *MessagingUserStatus

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

func (*MessagingUserStatus) DeepCopyInto

func (in *MessagingUserStatus) DeepCopyInto(out *MessagingUserStatus)

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

type UserPhase

type UserPhase string
const (
	UserPending     UserPhase = "Pending"
	UserConfiguring UserPhase = "Configuring"
	UserActive      UserPhase = "Active"
	UserTerminating UserPhase = "Terminating"
)

Jump to

Keyboard shortcuts

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