v1

package
v0.0.0-...-39a7d76 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the teleport v1 API group +kubebuilder:object:generate=true +groupName=teleport.gravitational.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "teleport.gravitational.com", 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 GitHub

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

	Spec   GitHubSpec   `json:"spec,omitempty"`
	Status GitHubStatus `json:"status,omitempty"`
}

GitHub is the Schema for the githubs API

func (*GitHub) DeepCopy

func (in *GitHub) DeepCopy() *GitHub

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

func (*GitHub) DeepCopyInto

func (in *GitHub) DeepCopyInto(out *GitHub)

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

func (*GitHub) DeepCopyObject

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

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

type GitHubList

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

GitHubList contains a list of GitHub

func (*GitHubList) DeepCopy

func (in *GitHubList) DeepCopy() *GitHubList

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

func (*GitHubList) DeepCopyInto

func (in *GitHubList) DeepCopyInto(out *GitHubList)

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

func (*GitHubList) DeepCopyObject

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

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

type GitHubSpec

type GitHubSpec struct {

	// ClientID is the Github OAuth app client ID
	ClientID string `json:"client_id"`
	// ClientSecret is the Github OAuth app client secret
	ClientSecret string `json:"client_secret"`
	// RedirectURL is the authorization callback URL
	RedirectURL string `json:"redirect_url"`
	// TeamsToLogins maps Github team memberships onto allowed logins/roles
	TeamsToLogins []TeamMapping `json:"teams_to_logins"`
	// Display is the connector display name
	Display string `json:"display"`
}

GitHubSpec defines the desired state of GitHub

func (*GitHubSpec) DeepCopy

func (in *GitHubSpec) DeepCopy() *GitHubSpec

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

func (*GitHubSpec) DeepCopyInto

func (in *GitHubSpec) DeepCopyInto(out *GitHubSpec)

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

type GitHubStatus

type GitHubStatus struct {
	Condition string `json:"condition"`
	// +optional
	Reason string `json:"reason,omitempty"`
	// +optional
	LastTransitionTime *metav1.Time `json:"last_transition_time,omitempty"`
}

GitHubStatus defines the observed state of GitHub

func (*GitHubStatus) DeepCopy

func (in *GitHubStatus) DeepCopy() *GitHubStatus

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

func (*GitHubStatus) DeepCopyInto

func (in *GitHubStatus) DeepCopyInto(out *GitHubStatus)

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

type Role

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

	Spec   RoleSpec   `json:"spec,omitempty"`
	Status RoleStatus `json:"status,omitempty"`
}

Role is the Schema for the roles API

func (*Role) DeepCopy

func (in *Role) DeepCopy() *Role

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

func (*Role) DeepCopyInto

func (in *Role) DeepCopyInto(out *Role)

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

func (*Role) DeepCopyObject

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

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

type RoleConditions

type RoleConditions struct {
	Logins     []string `json:"logins"`
	Namespaces []string `json:"-"`
	// +optional
	NodeLabels map[string][]string `json:"node_labels,omitempty"`
	// +optional
	Rules []Rule `json:"rules,omitempty"`
	// +optional
	KubeGroups []string `json:"kubernetes_groups,omitempty"`
}

func (*RoleConditions) DeepCopy

func (in *RoleConditions) DeepCopy() *RoleConditions

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

func (*RoleConditions) DeepCopyInto

func (in *RoleConditions) DeepCopyInto(out *RoleConditions)

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

type RoleList

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

RoleList contains a list of Role

func (*RoleList) DeepCopy

func (in *RoleList) DeepCopy() *RoleList

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

func (*RoleList) DeepCopyInto

func (in *RoleList) DeepCopyInto(out *RoleList)

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

func (*RoleList) DeepCopyObject

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

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

type RoleOptions

type RoleOptions struct {
	ForwardAgent bool `json:"forward_agent"`
	// +optional
	MaxSessionTTL *time.Duration `json:"max_session_ttl,omitempty"`
	// +optional
	PortForwarding    *bool  `json:"port_forwarding,omitempty"`
	CertificateFormat string `json:"cert_format"`
	// +optional
	ClientIdleTimeout int64 `json:"client_idle_timeout,omitempty"`
	// +optional
	DisconnectExpiredCert bool `json:"disconnect_expired_cert,omitempty"`
}

func (*RoleOptions) DeepCopy

func (in *RoleOptions) DeepCopy() *RoleOptions

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

func (*RoleOptions) DeepCopyInto

func (in *RoleOptions) DeepCopyInto(out *RoleOptions)

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

type RoleSpec

type RoleSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	// +optional
	Options RoleOptions `json:"options,omitempty"`
	// +optional
	Allow RoleConditions `json:"allow,omitempty"`
	// +optional
	Deny RoleConditions `json:"deny,omitempty"`
}

RoleSpec defines the desired state of Role

func (*RoleSpec) DeepCopy

func (in *RoleSpec) DeepCopy() *RoleSpec

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

func (*RoleSpec) DeepCopyInto

func (in *RoleSpec) DeepCopyInto(out *RoleSpec)

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

type RoleStatus

type RoleStatus struct {
	Condition string `json:"condition"`
	// +optional
	Reason string `json:"reason,omitempty"`
	// +optional
	LastTransitionTime *metav1.Time `json:"last_transition_time,omitempty"`
}

RoleStatus defines the observed state of Role

func (*RoleStatus) DeepCopy

func (in *RoleStatus) DeepCopy() *RoleStatus

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

func (*RoleStatus) DeepCopyInto

func (in *RoleStatus) DeepCopyInto(out *RoleStatus)

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

type Rule

type Rule struct {
	// +optional
	Resources []string `json:"resources,omitempty"`
	// +optional
	Verbs []string `json:"verbs,omitempty"`
	// +optional
	Where string `json:"where,omitempty"`
	// +optional
	Actions []string `json:"actions,omitempty"`
}

func (*Rule) DeepCopy

func (in *Rule) DeepCopy() *Rule

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

func (*Rule) DeepCopyInto

func (in *Rule) DeepCopyInto(out *Rule)

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

type TeamMapping

type TeamMapping struct {
	// Organization is a Github organization a user belongs to
	Organization string `json:"organization"`
	// Team is a team within the organization a user belongs to
	Team string `json:"team"`
	// Logins is a list of allowed logins for this org/team
	// +optional
	Logins []string `json:"logins,omitempty"`
	// KubeGroups is a list of allowed kubernetes groups for this org/team
	// +optional
	KubeGroups []string `json:"kubernetes_groups,omitempty"`
}

TeamMapping represents a single team membership mapping

func (*TeamMapping) DeepCopy

func (in *TeamMapping) DeepCopy() *TeamMapping

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

func (*TeamMapping) DeepCopyInto

func (in *TeamMapping) DeepCopyInto(out *TeamMapping)

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

type TeleportResource

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

	Spec   TeleportResourceSpec   `json:"spec,omitempty"`
	Status TeleportResourceStatus `json:"status,omitempty"`
}

TeleportResource is the Schema for the teleportresources API

func (*TeleportResource) DeepCopy

func (in *TeleportResource) DeepCopy() *TeleportResource

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

func (*TeleportResource) DeepCopyInto

func (in *TeleportResource) DeepCopyInto(out *TeleportResource)

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

func (*TeleportResource) DeepCopyObject

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

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

type TeleportResourceList

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

TeleportResourceList contains a list of TeleportResource

func (*TeleportResourceList) DeepCopy

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

func (*TeleportResourceList) DeepCopyInto

func (in *TeleportResourceList) DeepCopyInto(out *TeleportResourceList)

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

func (*TeleportResourceList) DeepCopyObject

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

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

type TeleportResourceSpec

type TeleportResourceSpec struct {
	// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Data string `json:"data"`
}

TeleportResourceSpec defines the desired state of TeleportResource

func (*TeleportResourceSpec) DeepCopy

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

func (*TeleportResourceSpec) DeepCopyInto

func (in *TeleportResourceSpec) DeepCopyInto(out *TeleportResourceSpec)

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

type TeleportResourceStatus

type TeleportResourceStatus struct {
	// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
	// Important: Run "make" to regenerate code after modifying this file
	Condition string `json:"condition"`
	// +optional
	Reason string `json:"reason,omitempty"`
	// +optional
	LastTransitionTime *metav1.Time `json:"last_transition_time,omitempty"`
}

TeleportResourceStatus defines the observed state of TeleportResource

func (*TeleportResourceStatus) DeepCopy

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

func (*TeleportResourceStatus) DeepCopyInto

func (in *TeleportResourceStatus) DeepCopyInto(out *TeleportResourceStatus)

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