v1alpha2

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "proxy.f110.dev", Version: "v1alpha2"}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AWSCredentialSelector added in v0.12.0

type AWSCredentialSelector struct {
	Name               string `json:"name,omitempty"`
	Namespace          string `json:"namespace,omitempty"`
	AccessKeyIDKey     string `json:"accessKeyIDKey,omitempty"`
	SecretAccessKeyKey string `json:"secretAccessKeyKey,omitempty"`
}

func (*AWSCredentialSelector) DeepCopy added in v0.12.0

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

func (*AWSCredentialSelector) DeepCopyInto added in v0.12.0

func (in *AWSCredentialSelector) DeepCopyInto(out *AWSCredentialSelector)

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

type Backend

type Backend struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   BackendSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status BackendStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Backend is the Schema for the backends API

func (*Backend) DeepCopy

func (in *Backend) DeepCopy() *Backend

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

func (*Backend) DeepCopyInto

func (in *Backend) DeepCopyInto(out *Backend)

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

func (*Backend) DeepCopyObject

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

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

type BackendHTTPSpec

type BackendHTTPSpec struct {
	Path            string           `json:"path"`
	ServiceSelector *ServiceSelector `json:"serviceSelector,omitempty"`
	Upstream        string           `json:"upstream,omitempty"`
	Insecure        bool             `json:"insecure,omitempty"`
	Agent           bool             `json:"agent,omitempty"`
}

func (*BackendHTTPSpec) DeepCopy

func (in *BackendHTTPSpec) DeepCopy() *BackendHTTPSpec

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

func (*BackendHTTPSpec) DeepCopyInto

func (in *BackendHTTPSpec) DeepCopyInto(out *BackendHTTPSpec)

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

type BackendList

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

BackendList contains a list of Backend

func (*BackendList) DeepCopy

func (in *BackendList) DeepCopy() *BackendList

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

func (*BackendList) DeepCopyInto

func (in *BackendList) DeepCopyInto(out *BackendList)

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

func (*BackendList) DeepCopyObject

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

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

type BackendSocketSpec

type BackendSocketSpec struct {
	Upstream        string           `json:"upstream,omitempty"`
	ServiceSelector *ServiceSelector `json:"serviceSelector,omitempty"`
	Timeout         *metav1.Duration `json:"timeout,omitempty"`
	Agent           bool             `json:"agent,omitempty"`
}

func (*BackendSocketSpec) DeepCopy

func (in *BackendSocketSpec) DeepCopy() *BackendSocketSpec

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

func (*BackendSocketSpec) DeepCopyInto

func (in *BackendSocketSpec) DeepCopyInto(out *BackendSocketSpec)

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

type BackendSpec

type BackendSpec struct {
	FQDN               string             `json:"fqdn,omitempty"` // If FQDN is set, ignore a layer-style naming.
	Layer              string             `json:"layer,omitempty"`
	AllowRootUser      bool               `json:"allowRootUser,omitempty"`
	DisableAuthn       bool               `json:"disableAuthn,omitempty"`
	AllowHttp          bool               `json:"allowHttp,omitempty"`
	Permissions        []Permission       `json:"permissions,omitempty"`
	MaxSessionDuration *metav1.Duration   `json:"maxSessionDuration,omitempty"`
	HTTP               []*BackendHTTPSpec `json:"http,omitempty"`
	Socket             *BackendSocketSpec `json:"socket,omitempty"`
}

BackendSpec defines the desired state of Backend

func (*BackendSpec) DeepCopy

func (in *BackendSpec) DeepCopy() *BackendSpec

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

func (*BackendSpec) DeepCopyInto

func (in *BackendSpec) DeepCopyInto(out *BackendSpec)

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

type BackendStatus

type BackendStatus struct {
	DeployedBy            []*ProxyReference             `json:"deployedBy,omitempty"`
	WebhookConfigurations []*WebhookConfigurationStatus `json:"webhookConfiguration,omitempty"`
}

BackendStatus defines the observed state of Backend

func (*BackendStatus) DeepCopy

func (in *BackendStatus) DeepCopy() *BackendStatus

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

func (*BackendStatus) DeepCopyInto

func (in *BackendStatus) DeepCopyInto(out *BackendStatus)

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

func (BackendStatus) IsConfigured

func (in BackendStatus) IsConfigured(ownerAndRepo string) bool

type BackupSpec

type BackupSpec struct {
	IntervalInSecond int64          `json:"intervalInSecond"`
	MaxBackups       int            `json:"maxBackups,omitempty"`
	Bucket           string         `json:"bucket"`
	Path             string         `json:"path"`
	CredentialRef    SecretSelector `json:"credentialRef"`
	Endpoint         string         `json:"endpoint,omitempty"`
}

func (*BackupSpec) DeepCopy

func (in *BackupSpec) DeepCopy() *BackupSpec

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

func (*BackupSpec) DeepCopyInto

func (in *BackupSpec) DeepCopyInto(out *BackupSpec)

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

type Binding

type Binding struct {
	BackendName       string `json:"backendName,omitempty"`
	Namespace         string `json:"namespace,omitempty"`
	Permission        string `json:"permission,omitempty"`
	RpcPermissionName string `json:"rpcPermissionName,omitempty"`
}

func (*Binding) DeepCopy

func (in *Binding) DeepCopy() *Binding

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

func (*Binding) DeepCopyInto

func (in *Binding) DeepCopyInto(out *Binding)

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

type CertificateAuthoritySpec

type CertificateAuthoritySpec struct {
	Local *LocalCertificateAuthoritySpec `json:"local,omitempty"`
	Vault *VaultCertificateAuthoritySpec `json:"vault,omitempty"`
}

func (*CertificateAuthoritySpec) DeepCopy

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

func (*CertificateAuthoritySpec) DeepCopyInto

func (in *CertificateAuthoritySpec) DeepCopyInto(out *CertificateAuthoritySpec)

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

type DefragmentSpec

type DefragmentSpec struct {
	Schedule string `json:"schedule,omitempty"`
}

func (*DefragmentSpec) DeepCopy

func (in *DefragmentSpec) DeepCopy() *DefragmentSpec

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

func (*DefragmentSpec) DeepCopyInto

func (in *DefragmentSpec) DeepCopyInto(out *DefragmentSpec)

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

type EtcdBackupGCSSpec added in v0.12.0

type EtcdBackupGCSSpec struct {
	Bucket             string                `json:"bucket,omitempty"`
	Path               string                `json:"path,omitempty"`
	CredentialSelector GCPCredentialSelector `json:"credentialSelector,omitempty"`
}

func (*EtcdBackupGCSSpec) DeepCopy added in v0.12.0

func (in *EtcdBackupGCSSpec) DeepCopy() *EtcdBackupGCSSpec

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

func (*EtcdBackupGCSSpec) DeepCopyInto added in v0.12.0

func (in *EtcdBackupGCSSpec) DeepCopyInto(out *EtcdBackupGCSSpec)

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

type EtcdBackupMinIOSpec added in v0.12.0

type EtcdBackupMinIOSpec struct {
	ServiceSelector    ObjectSelector        `json:"serviceSelector,omitempty"`
	CredentialSelector AWSCredentialSelector `json:"credentialSelector"`
	Bucket             string                `json:"bucket,omitempty"`
	Path               string                `json:"path,omitempty"`
	Secure             bool                  `json:"secure,omitempty"`
}

func (*EtcdBackupMinIOSpec) DeepCopy added in v0.12.0

func (in *EtcdBackupMinIOSpec) DeepCopy() *EtcdBackupMinIOSpec

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

func (*EtcdBackupMinIOSpec) DeepCopyInto added in v0.12.0

func (in *EtcdBackupMinIOSpec) DeepCopyInto(out *EtcdBackupMinIOSpec)

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

type EtcdBackupSpec added in v0.12.0

type EtcdBackupSpec struct {
	IntervalInSecond int                   `json:"intervalInSeconds,omitempty"`
	MaxBackups       int                   `json:"maxBackups,omitempty"`
	Storage          EtcdBackupStorageSpec `json:"storage,omitempty"`
}

func (*EtcdBackupSpec) DeepCopy added in v0.12.0

func (in *EtcdBackupSpec) DeepCopy() *EtcdBackupSpec

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

func (*EtcdBackupSpec) DeepCopyInto added in v0.12.0

func (in *EtcdBackupSpec) DeepCopyInto(out *EtcdBackupSpec)

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

type EtcdBackupStorageSpec added in v0.12.0

type EtcdBackupStorageSpec struct {
	MinIO *EtcdBackupMinIOSpec `json:"minio,omitempty"`
	GCS   *EtcdBackupGCSSpec   `json:"gcs,omitempty"`
}

func (*EtcdBackupStorageSpec) DeepCopy added in v0.12.0

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

func (*EtcdBackupStorageSpec) DeepCopyInto added in v0.12.0

func (in *EtcdBackupStorageSpec) DeepCopyInto(out *EtcdBackupStorageSpec)

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

type GCPCredentialSelector added in v0.12.0

type GCPCredentialSelector struct {
	Name                  string `json:"name,omitempty"`
	Namespace             string `json:"namespace,omitempty"`
	ServiceAccountJSONKey string `json:"serviceAccountJSONKey,omitempty"`
}

func (*GCPCredentialSelector) DeepCopy added in v0.12.0

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

func (*GCPCredentialSelector) DeepCopyInto added in v0.12.0

func (in *GCPCredentialSelector) DeepCopyInto(out *GCPCredentialSelector)

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

type GitHubHookConfiguration

type GitHubHookConfiguration struct {
	Repositories              []string `json:"repositories"` // Target repositories (e.g. f110/heimdallr)
	Path                      string   `json:"path,omitempty"`
	Events                    []string `json:"events,omitempty"`
	ContentType               string   `json:"contentType,omitempty"`
	CredentialSecretName      string   `json:"credentialSecretName,omitempty"`
	CredentialSecretNamespace string   `json:"credentialSecretNamespace,omitempty"`
	AppIdKey                  string   `json:"appIdKey,omitempty,omitempty"`
	InstallationIdKey         string   `json:"installationIdKey,omitempty"`
	PrivateKeyKey             string   `json:"privateKeyKey,omitempty"`
}

func (*GitHubHookConfiguration) DeepCopy

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

func (*GitHubHookConfiguration) DeepCopyInto

func (in *GitHubHookConfiguration) DeepCopyInto(out *GitHubHookConfiguration)

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

type IdentityProviderSpec

type IdentityProviderSpec struct {
	Provider        string         `json:"provider"`
	ClientId        string         `json:"clientId,omitempty"`
	ClientSecretRef SecretSelector `json:"clientSecretRef,omitempty"`
	RedirectUrl     string         `json:"redirectUrl,omitempty"`
}

func (*IdentityProviderSpec) DeepCopy

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

func (*IdentityProviderSpec) DeepCopyInto

func (in *IdentityProviderSpec) DeepCopyInto(out *IdentityProviderSpec)

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

type LabelSelector

type LabelSelector struct {
	metav1.LabelSelector `json:",inline"`
	Namespace            string `json:"namespace,omitempty"`
}

func (*LabelSelector) DeepCopy

func (in *LabelSelector) DeepCopy() *LabelSelector

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

func (*LabelSelector) DeepCopyInto

func (in *LabelSelector) DeepCopyInto(out *LabelSelector)

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

type LocalCertificateAuthoritySpec

type LocalCertificateAuthoritySpec struct {
	// Name of Certificate authority. if not present, uses "Heimdallr CA".
	Name              string `json:"name,omitempty"`
	Organization      string `json:"organization,omitempty"`
	AdministratorUnit string `json:"administratorUnit,omitempty"`
	Country           string `json:"country,omitempty"`
}

func (*LocalCertificateAuthoritySpec) DeepCopy

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

func (*LocalCertificateAuthoritySpec) DeepCopyInto

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

type Location

type Location struct {
	Any     string `json:"any,omitempty"`
	Get     string `json:"get,omitempty"`
	Post    string `json:"post,omitempty"`
	Put     string `json:"put,omitempty"`
	Delete  string `json:"delete,omitempty"`
	Head    string `json:"head,omitempty"`
	Connect string `json:"connect,omitempty"`
	Options string `json:"options,omitempty"`
	Trace   string `json:"trace,omitempty"`
	Patch   string `json:"patch,omitempty"`
}

func (*Location) DeepCopy

func (in *Location) DeepCopy() *Location

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

func (*Location) DeepCopyInto

func (in *Location) DeepCopyInto(out *Location)

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

type MonitorSpec

type MonitorSpec struct {
	// PrometheusMonitoring is set to true, then operator creates ServiceMonitor object.
	PrometheusMonitoring bool              `json:"prometheusMonitoring,omitempty"`
	Labels               map[string]string `json:"labels,omitempty"`
}

func (*MonitorSpec) DeepCopy

func (in *MonitorSpec) DeepCopy() *MonitorSpec

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

func (*MonitorSpec) DeepCopyInto

func (in *MonitorSpec) DeepCopyInto(out *MonitorSpec)

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

type ObjectSelector added in v0.12.0

type ObjectSelector struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

func (*ObjectSelector) DeepCopy added in v0.12.0

func (in *ObjectSelector) DeepCopy() *ObjectSelector

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

func (*ObjectSelector) DeepCopyInto added in v0.12.0

func (in *ObjectSelector) DeepCopyInto(out *ObjectSelector)

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

type Permission

type Permission struct {
	Name                 string                `json:"name,omitempty"`
	Webhook              string                `json:"webhook,omitempty"`
	WebhookConfiguration *WebhookConfiguration `json:"webhookConfiguration,omitempty"`
	Locations            []Location            `json:"locations,omitempty"`
}

func (*Permission) DeepCopy

func (in *Permission) DeepCopy() *Permission

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

func (*Permission) DeepCopyInto

func (in *Permission) DeepCopyInto(out *Permission)

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

type Proxy

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

	Spec   ProxySpec   `json:"spec,omitempty"`
	Status ProxyStatus `json:"status,omitempty"`
}

Proxy is the Schema for the proxies API

func (*Proxy) DeepCopy

func (in *Proxy) DeepCopy() *Proxy

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

func (*Proxy) DeepCopyInto

func (in *Proxy) DeepCopyInto(out *Proxy)

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

func (*Proxy) DeepCopyObject

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

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

type ProxyDataStoreEtcdSpec

type ProxyDataStoreEtcdSpec struct {
	Version      string          `json:"version,omitempty"`
	Defragment   DefragmentSpec  `json:"defragment,omitempty"`
	AntiAffinity bool            `json:"antiAffinity,omitempty"`
	Backup       *EtcdBackupSpec `json:"backup,omitempty"`
}

func (*ProxyDataStoreEtcdSpec) DeepCopy

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

func (*ProxyDataStoreEtcdSpec) DeepCopyInto

func (in *ProxyDataStoreEtcdSpec) DeepCopyInto(out *ProxyDataStoreEtcdSpec)

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

type ProxyDataStoreSpec

type ProxyDataStoreSpec struct {
	Etcd *ProxyDataStoreEtcdSpec `json:"etcd,omitempty"`
}

func (*ProxyDataStoreSpec) DeepCopy

func (in *ProxyDataStoreSpec) DeepCopy() *ProxyDataStoreSpec

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

func (*ProxyDataStoreSpec) DeepCopyInto

func (in *ProxyDataStoreSpec) DeepCopyInto(out *ProxyDataStoreSpec)

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

type ProxyList

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

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

ProxyList contains a list of Proxy

func (*ProxyList) DeepCopy

func (in *ProxyList) DeepCopy() *ProxyList

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

func (*ProxyList) DeepCopyInto

func (in *ProxyList) DeepCopyInto(out *ProxyList)

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

func (*ProxyList) DeepCopyObject

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

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

type ProxyPhase

type ProxyPhase string
var (
	ProxyPhaseCreating ProxyPhase = "Creating"
	ProxyPhaseError    ProxyPhase = "Error"
	ProxyPhaseRunning  ProxyPhase = "Running"
	ProxyPhaseUpdating ProxyPhase = "Updating"
)

type ProxyReference

type ProxyReference struct {
	Name      string `json:"name,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Url       string `json:"url,omitempty"`
}

func (*ProxyReference) DeepCopy

func (in *ProxyReference) DeepCopy() *ProxyReference

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

func (*ProxyReference) DeepCopyInto

func (in *ProxyReference) DeepCopyInto(out *ProxyReference)

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

type ProxySpec

type ProxySpec struct {
	Domain               string                    `json:"domain"`
	Port                 int32                     `json:"port,omitempty"`
	HttpPort             int32                     `json:"httpPort,omitempty"`
	Version              string                    `json:"version,omitempty"`
	DataStore            *ProxyDataStoreSpec       `json:"dataStore,omitempty"`
	LoadBalancerIP       string                    `json:"loadBalancerIP,omitempty"`
	CertificateAuthority *CertificateAuthoritySpec `json:"certificateAuthority,omitempty"`
	IssuerRef            cmmeta.ObjectReference    `json:"issuerRef"`
	IdentityProvider     IdentityProviderSpec      `json:"identityProvider"`
	RootUsers            []string                  `json:"rootUsers,omitempty"`
	Session              SessionSpec               `json:"session"`
	// The number of replicas of the proxy.
	Replicas int32 `json:"replicas"`
	// The number of replicas of dashboard. Default value is "3".
	DashboardReplicas     int32         `json:"dashboardReplicas,omitempty"`
	BackendSelector       LabelSelector `json:"backendSelector,omitempty"`
	RoleSelector          LabelSelector `json:"roleSelector,omitempty"`
	RpcPermissionSelector LabelSelector `json:"rpcPermissionSelector,omitempty"`
	Monitor               MonitorSpec   `json:"monitor,omitempty"`
	// Deprecated. Use DataStore.Etcd.Backup instead.
	Backup BackupSpec `json:"backup,omitempty"`
	// ProxyResources field is able to control the resource requirements and limits of front proxy.
	// If it isn't set, Use the default value.
	// (Default Value: requirements is cpu: 100m and memory: 128Mi. limits is cpu: 1 and memory: 256Mi)
	ProxyResources *corev1.ResourceRequirements `json:"proxyResources,omitempty"`
	// RPCServerResources field is able tot control the resource requirements and limits of rpc server.
	// If it isn't set, Use the default value.
	// (Default Value: requirements is cpu: 100m and memory: 128Mi. limits is cpu: 1 and memory 256Mi)
	RPCServerResources *corev1.ResourceRequirements `json:"rpcServerResources,omitempty"`
	// Development indicates the development mode. If the proxy deployed with the development mode,
	// then the log level of logger will be "Debug".
	// Debug level outputs many useful logs for development. On the other hand, It is a noisy
	// when you are an user of proxy.
	Development bool `json:"development,omitempty"`
}

ProxySpec defines the desired state of Proxy

func (*ProxySpec) DeepCopy

func (in *ProxySpec) DeepCopy() *ProxySpec

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

func (*ProxySpec) DeepCopyInto

func (in *ProxySpec) DeepCopyInto(out *ProxySpec)

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

type ProxyStatus

type ProxyStatus struct {
	Ready                       bool       `json:"ready"`
	Phase                       ProxyPhase `json:"phase,omitempty"`
	NumOfBackends               int        `json:"numberOfBackends,omitempty"`
	NumOfRoles                  int        `json:"numberOfRoles,omitempty"`
	NumOfRpcPermissions         int        `json:"numberOfRpcPermissions,omitempty"`
	CASecretName                string     `json:"caSecretName,omitempty"`
	SigningPrivateKeySecretName string     `json:"signingPrivateKeySecretName,omitempty"`
	GithubWebhookSecretName     string     `json:"githubWebhookSecretName,omitempty"`
	CookieSecretName            string     `json:"cookieSecretName,omitempty"`
	InternalTokenSecretName     string     `json:"internalTokenSecretName,omitempty"`
}

ProxyStatus defines the observed state of Proxy

func (*ProxyStatus) DeepCopy

func (in *ProxyStatus) DeepCopy() *ProxyStatus

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

func (*ProxyStatus) DeepCopyInto

func (in *ProxyStatus) DeepCopyInto(out *ProxyStatus)

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 RoleBinding

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

	Subjects []Subject `json:"subjects"`
	RoleRef  RoleRef   `json:"roleRef"`
}

func (*RoleBinding) DeepCopy

func (in *RoleBinding) DeepCopy() *RoleBinding

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

func (*RoleBinding) DeepCopyInto

func (in *RoleBinding) DeepCopyInto(out *RoleBinding)

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

func (*RoleBinding) DeepCopyObject

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

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

type RoleBindingList

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

func (*RoleBindingList) DeepCopy

func (in *RoleBindingList) DeepCopy() *RoleBindingList

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

func (*RoleBindingList) DeepCopyInto

func (in *RoleBindingList) DeepCopyInto(out *RoleBindingList)

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

func (*RoleBindingList) DeepCopyObject

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

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

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 RoleRef

type RoleRef struct {
	Name      string `json:"name"`
	Namespace string `json:"namespace"`
}

func (*RoleRef) DeepCopy

func (in *RoleRef) DeepCopy() *RoleRef

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

func (*RoleRef) DeepCopyInto

func (in *RoleRef) DeepCopyInto(out *RoleRef)

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

type RoleSpec

type RoleSpec struct {
	Title          string `json:"title,omitempty"`
	Description    string `json:"description,omitempty"`
	AllowDashboard bool   `json:"allowDashboard,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 {
}

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 RpcPermission

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

	Spec   RpcPermissionSpec   `json:"spec,omitempty"`
	Status RpcPermissionStatus `json:"status,omitempty"`
}

RpcPermission is the Schema for the rpcpermissions API

func (*RpcPermission) DeepCopy

func (in *RpcPermission) DeepCopy() *RpcPermission

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

func (*RpcPermission) DeepCopyInto

func (in *RpcPermission) DeepCopyInto(out *RpcPermission)

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

func (*RpcPermission) DeepCopyObject

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

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

type RpcPermissionList

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

RpcPermissionList contains a list of RpcPermission

func (*RpcPermissionList) DeepCopy

func (in *RpcPermissionList) DeepCopy() *RpcPermissionList

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

func (*RpcPermissionList) DeepCopyInto

func (in *RpcPermissionList) DeepCopyInto(out *RpcPermissionList)

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

func (*RpcPermissionList) DeepCopyObject

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

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

type RpcPermissionSpec

type RpcPermissionSpec struct {
	Allow []string `json:"allow"`
}

RpcPermissionSpec defines the desired state of RpcPermission

func (*RpcPermissionSpec) DeepCopy

func (in *RpcPermissionSpec) DeepCopy() *RpcPermissionSpec

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

func (*RpcPermissionSpec) DeepCopyInto

func (in *RpcPermissionSpec) DeepCopyInto(out *RpcPermissionSpec)

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

type RpcPermissionStatus

type RpcPermissionStatus struct {
}

RpcPermissionStatus defines the observed state of RpcPermission

func (*RpcPermissionStatus) DeepCopy

func (in *RpcPermissionStatus) DeepCopy() *RpcPermissionStatus

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

func (*RpcPermissionStatus) DeepCopyInto

func (in *RpcPermissionStatus) DeepCopyInto(out *RpcPermissionStatus)

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

type SecretSelector

type SecretSelector struct {
	Name string `json:"name"`
	Key  string `json:"key,omitempty"`
}

func (*SecretSelector) DeepCopy

func (in *SecretSelector) DeepCopy() *SecretSelector

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

func (*SecretSelector) DeepCopyInto

func (in *SecretSelector) DeepCopyInto(out *SecretSelector)

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

type ServiceSelector

type ServiceSelector struct {
	metav1.LabelSelector `json:",inline"`
	Namespace            string `json:"namespace,omitempty"`
	Name                 string `json:"name,omitempty"`
	Port                 string `json:"port,omitempty"`
	Scheme               string `json:"scheme,omitempty"`
}

func (*ServiceSelector) DeepCopy

func (in *ServiceSelector) DeepCopy() *ServiceSelector

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

func (*ServiceSelector) DeepCopyInto

func (in *ServiceSelector) DeepCopyInto(out *ServiceSelector)

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

type SessionSpec

type SessionSpec struct {
	Type         string         `json:"type"`
	KeySecretRef SecretSelector `json:"keySecretRef,omitempty"`
}

func (*SessionSpec) DeepCopy

func (in *SessionSpec) DeepCopy() *SessionSpec

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

func (*SessionSpec) DeepCopyInto

func (in *SessionSpec) DeepCopyInto(out *SessionSpec)

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

type Subject

type Subject struct {
	// Kind of object.
	// Value is "Backend" or "RpcPermission"
	Kind string `json:"kind"`
	// Name of object.
	Name string `json:"name"`
	// Namespace of object. If not set, will be use same namespace.
	Namespace string `json:"namespace,omitempty"`
	// Permission is the name of permission of backend.
	Permission string `json:"permission,omitempty"`
}

func (*Subject) DeepCopy

func (in *Subject) DeepCopy() *Subject

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

func (*Subject) DeepCopyInto

func (in *Subject) DeepCopyInto(out *Subject)

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

type VaultCertificateAuthoritySpec added in v0.12.0

type VaultCertificateAuthoritySpec struct {
	Addr  string `json:"addr"`
	Token string `json:"token"`
	Role  string `json:"role"`
}

func (*VaultCertificateAuthoritySpec) DeepCopy added in v0.12.0

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

func (*VaultCertificateAuthoritySpec) DeepCopyInto added in v0.12.0

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

type WebhookConfiguration

type WebhookConfiguration struct {
	GitHub *GitHubHookConfiguration `json:"github,omitempty"`
}

func (*WebhookConfiguration) DeepCopy

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

func (*WebhookConfiguration) DeepCopyInto

func (in *WebhookConfiguration) DeepCopyInto(out *WebhookConfiguration)

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

type WebhookConfigurationStatus

type WebhookConfigurationStatus struct {
	Id         int64       `json:"id"`
	Repository string      `json:"repository,omitempty"`
	UpdateTime metav1.Time `json:"updateTime,omitempty"`
}

func (*WebhookConfigurationStatus) DeepCopy

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

func (*WebhookConfigurationStatus) DeepCopyInto

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