v1beta1

package
v0.0.0-...-977be8d Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the gcp v1beta1 API group +kubebuilder:object:generate=true +groupName=gcp.kiwigrid.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "gcp.kiwigrid.com", Version: "v1beta1"}

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

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

	Spec   GcpNamespaceRestrictionSpec   `json:"spec,omitempty"`
	Status GcpNamespaceRestrictionStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true GcpNamespaceRestriction is the Schema for the gcpnamespacerestrictions API

func (*GcpNamespaceRestriction) DeepCopy

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

func (*GcpNamespaceRestriction) DeepCopyInto

func (in *GcpNamespaceRestriction) DeepCopyInto(out *GcpNamespaceRestriction)

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

func (*GcpNamespaceRestriction) DeepCopyObject

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

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

type GcpNamespaceRestrictionList

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

+kubebuilder:object:root=true GcpNamespaceRestrictionList contains a list of GcpNamespaceRestriction

func (*GcpNamespaceRestrictionList) DeepCopy

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

func (*GcpNamespaceRestrictionList) DeepCopyInto

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

func (*GcpNamespaceRestrictionList) DeepCopyObject

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

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

type GcpNamespaceRestrictionSpec

type GcpNamespaceRestrictionSpec struct {
	Namespace      string                      `json:"namespace"`
	Regex          bool                        `json:"regex"`
	GcpRestriction []GcpRestrictionRoleBinding `json:"restrictions,omitempty"`
}

GcpNamespaceRestrictionSpec defines the desired state of GcpNamespaceRestriction

func (*GcpNamespaceRestrictionSpec) DeepCopy

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

func (*GcpNamespaceRestrictionSpec) DeepCopyInto

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

type GcpNamespaceRestrictionStatus

type GcpNamespaceRestrictionStatus struct {
}

GcpNamespaceRestrictionStatus defines the observed state of GcpNamespaceRestriction

func (*GcpNamespaceRestrictionStatus) DeepCopy

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

func (*GcpNamespaceRestrictionStatus) DeepCopyInto

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

type GcpRestrictionRoleBinding

type GcpRestrictionRoleBinding struct {
	Resource string   `json:"resource"`
	Roles    []string `json:"roles"`
}

GcpRestrictionRoleBinding defines a restriction all string files can be regex

func (*GcpRestrictionRoleBinding) DeepCopy

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

func (*GcpRestrictionRoleBinding) DeepCopyInto

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

type GcpRoleBindings

type GcpRoleBindings struct {
	Resource string   `json:"resource"`
	Roles    []string `json:"roles"`
}

GcpRoleBindings defines the desired role bindings of GcpServiceAccount

func (*GcpRoleBindings) DeepCopy

func (in *GcpRoleBindings) DeepCopy() *GcpRoleBindings

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

func (*GcpRoleBindings) DeepCopyInto

func (in *GcpRoleBindings) DeepCopyInto(out *GcpRoleBindings)

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

type GcpServiceAccount

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

	Spec   GcpServiceAccountSpec   `json:"spec,omitempty"`
	Status GcpServiceAccountStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true GcpServiceAccount is the Schema for the gcpserviceaccounts API +k8s:openapi-gen=true

func (*GcpServiceAccount) DeepCopy

func (in *GcpServiceAccount) DeepCopy() *GcpServiceAccount

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

func (*GcpServiceAccount) DeepCopyInto

func (in *GcpServiceAccount) DeepCopyInto(out *GcpServiceAccount)

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

func (*GcpServiceAccount) DeepCopyObject

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

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

type GcpServiceAccountList

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

+kubebuilder:object:root=true GcpServiceAccountList contains a list of GcpServiceAccount

func (*GcpServiceAccountList) DeepCopy

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

func (*GcpServiceAccountList) DeepCopyInto

func (in *GcpServiceAccountList) DeepCopyInto(out *GcpServiceAccountList)

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

func (*GcpServiceAccountList) DeepCopyObject

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

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

type GcpServiceAccountSpec

type GcpServiceAccountSpec struct {
	GcpRoleBindings           []GcpRoleBindings `json:"bindings"`
	ServiceAccountIdentifier  string            `json:"serviceAccountIdentifier"`
	ServiceAccountDescription string            `json:"serviceAccountDescription,omitempty"`
	SecretName                string            `json:"secretName"`
	SecretKey                 string            `json:"secretKey,omitempty"`
}

GcpServiceAccountSpec defines the desired state of GcpServiceAccount

func (*GcpServiceAccountSpec) DeepCopy

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

func (*GcpServiceAccountSpec) DeepCopyInto

func (in *GcpServiceAccountSpec) DeepCopyInto(out *GcpServiceAccountSpec)

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

type GcpServiceAccountStatus

type GcpServiceAccountStatus struct {
	ServiceAccountPath     string            `json:"serviceAccountPath,omitempty"`
	ServiceAccountMail     string            `json:"serviceAccountMail,omitempty"`
	CredentialKey          string            `json:"credentialKey,omitempty"`
	AppliedGcpRoleBindings []GcpRoleBindings `json:"appliedBindings,omitempty"`
}

GcpServiceAccountStatus defines the observed state of GcpServiceAccount

func (*GcpServiceAccountStatus) DeepCopy

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

func (*GcpServiceAccountStatus) DeepCopyInto

func (in *GcpServiceAccountStatus) DeepCopyInto(out *GcpServiceAccountStatus)

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