v1alpha1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package has auto-generated kube type wrappers for raw types.

+k8s:deepcopy-gen=package +k8s:defaulter-gen=TypeMeta +groupName=install.horusec.io

Index

Constants

View Source
const (
	GroupName = "install.horusec.io"
)

Package-wide consts from generator "register".

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}
	SchemeBuilder      = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)

Package-wide variables from generator "register".

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type API

type API struct {
	Name    string   `json:"name,omitempty"`
	Enabled bool     `json:"enabled,omitempty"`
	Port    *Port    `json:"port,omitempty"`
	Ingress *Ingress `json:"ingress,omitempty"`
}

func (*API) DeepCopy

func (in *API) DeepCopy() *API

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

func (*API) DeepCopyInto

func (in *API) DeepCopyInto(out *API)

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

type Account

type Account struct {
	Name    string   `json:"name,omitempty"`
	Enabled bool     `json:"enabled,omitempty"`
	Port    *Port    `json:"port,omitempty"`
	Ingress *Ingress `json:"ingress,omitempty"`
}

func (*Account) DeepCopy

func (in *Account) DeepCopy() *Account

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

func (*Account) DeepCopyInto

func (in *Account) DeepCopyInto(out *Account)

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

type Administrator

type Administrator struct {
	Enabled  bool   `json:"enabled"`
	Username string `json:"username,omitempty"`
	Email    string `json:"email,omitempty"`
	Password string `json:"password,omitempty"`
}

type Analytic

type Analytic struct {
	Name    string   `json:"name,omitempty"`
	Enabled bool     `json:"enabled,omitempty"`
	Port    *Port    `json:"port,omitempty"`
	Ingress *Ingress `json:"ingress,omitempty"`
}

func (*Analytic) DeepCopy

func (in *Analytic) DeepCopy() *Analytic

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

func (*Analytic) DeepCopyInto

func (in *Analytic) DeepCopyInto(out *Analytic)

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

type Auth

type Auth struct {
	Name    string   `json:"name,omitempty"`
	Type    string   `json:"type,omitempty"`
	Enabled bool     `json:"enabled,omitempty"`
	Port    *Port    `json:"port,omitempty"`
	Ingress *Ingress `json:"ingress,omitempty"`
}

func (*Auth) DeepCopy

func (in *Auth) DeepCopy() *Auth

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

func (*Auth) DeepCopyInto

func (in *Auth) DeepCopyInto(out *Auth)

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

type Broker

type Broker struct {
	Enabled    bool   `json:"enabled,omitempty"`
	Host       string `json:"host,omitempty"`
	Port       int    `json:"port,omitempty"`
	SecretName string `json:"secretName,omitempty"`
}

func (*Broker) DeepCopy

func (in *Broker) DeepCopy() *Broker

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

func (*Broker) DeepCopyInto

func (in *Broker) DeepCopyInto(out *Broker)

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

type ClientCredentials

type ClientCredentials struct {
	ID     string `json:"id,omitempty"`
	Secret string `json:"secret,omitempty"`
}

func (*ClientCredentials) DeepCopy

func (in *ClientCredentials) DeepCopy() *ClientCredentials

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

func (*ClientCredentials) DeepCopyInto

func (in *ClientCredentials) DeepCopyInto(out *ClientCredentials)

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

type Clients

type Clients struct {
	Public       *ClientCredentials `json:"public,omitempty"`
	Confidential *ClientCredentials `json:"confidential,omitempty"`
}

func (*Clients) DeepCopy

func (in *Clients) DeepCopy() *Clients

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

func (*Clients) DeepCopyInto

func (in *Clients) DeepCopyInto(out *Clients)

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

type Components

type Components struct {
	Account  *Account  `json:"account,omitempty"`
	Analytic *Analytic `json:"analytic,omitempty"`
	API      *API      `json:"api,omitempty"`
	Auth     *Auth     `json:"auth,omitempty"`
	Manager  *Manager  `json:"manager,omitempty"`
}

func (*Components) DeepCopy

func (in *Components) DeepCopy() *Components

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

func (*Components) DeepCopyInto

func (in *Components) DeepCopyInto(out *Components)

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

type Database

type Database struct {
	Host       string `json:"host,omitempty"`
	Port       int    `json:"port,omitempty"`
	Dialect    string `json:"dialect,omitempty"`
	SSLMode    bool   `json:"sslMode,omitempty"`
	LogMode    bool   `json:"logMode,omitempty"`
	SecretName string `json:"secretName,omitempty"`
}

func (*Database) DeepCopy

func (in *Database) DeepCopy() *Database

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

func (*Database) DeepCopyInto

func (in *Database) DeepCopyInto(out *Database)

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

type Global

type Global struct {
	Administrator *Administrator `json:"administrator,omitempty"`
	JWT           *JWT           `json:"jwt,omitempty"`
	Broker        *Broker        `json:"broker,omitempty"`
	Database      *Database      `json:"database,omitempty"`
	Keycloak      *Keycloak      `json:"keycloak,omitempty"`
}

func (*Global) DeepCopy

func (in *Global) DeepCopy() *Global

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

func (*Global) DeepCopyInto

func (in *Global) DeepCopyInto(out *Global)

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

type HorusecManager

type HorusecManager struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Spec defines the implementation of this definition.
	// +optional
	Spec HorusecManagerSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	Status Status `json:"status"`
}

HorusecManager defines the installation properties that will be applied.

<!-- go code generation tags +genclient +k8s:deepcopy-gen=true -->

func (*HorusecManager) DeepCopy

func (in *HorusecManager) DeepCopy() *HorusecManager

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

func (*HorusecManager) DeepCopyInto

func (in *HorusecManager) DeepCopyInto(out *HorusecManager)

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

func (*HorusecManager) DeepCopyObject

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

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

type HorusecManagerList

type HorusecManagerList struct {
	v1.TypeMeta `json:",inline"`
	// +optional
	v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items       []HorusecManager `json:"items" protobuf:"bytes,2,rep,name=items"`
}

HorusecManagerList is a collection of HorusecManagers.

func (*HorusecManagerList) DeepCopy

func (in *HorusecManagerList) DeepCopy() *HorusecManagerList

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

func (*HorusecManagerList) DeepCopyInto

func (in *HorusecManagerList) DeepCopyInto(out *HorusecManagerList)

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

func (*HorusecManagerList) DeepCopyObject

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

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

type HorusecManagerSpec

type HorusecManagerSpec struct {
	Global     *Global     `json:"global,omitempty"`
	Components *Components `json:"components,omitempty"`
}

HorusecManagerSpec defines the installation properties that will be applied.

<!-- go code generation tags +k8s:deepcopy-gen=true -->

func (*HorusecManagerSpec) DeepCopy

func (in *HorusecManagerSpec) DeepCopy() *HorusecManagerSpec

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

func (*HorusecManagerSpec) DeepCopyInto

func (in *HorusecManagerSpec) DeepCopyInto(out *HorusecManagerSpec)

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

type Ingress

type Ingress struct {
	Enabled   bool     `json:"enabled,omitempty"`
	Scheme    string   `json:"scheme,omitempty"`
	Host      string   `json:"host,omitempty"`
	Protocols []string `json:"protocols,omitempty"`
}

func (*Ingress) DeepCopy

func (in *Ingress) DeepCopy() *Ingress

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

func (*Ingress) DeepCopyInto

func (in *Ingress) DeepCopyInto(out *Ingress)

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

type JWT

type JWT struct {
	SecretName string `json:"secretName,omitempty"`
}

func (*JWT) DeepCopy

func (in *JWT) DeepCopy() *JWT

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

func (*JWT) DeepCopyInto

func (in *JWT) DeepCopyInto(out *JWT)

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

type Keycloak

type Keycloak struct {
	PublicURL   string   `json:"publicURL,omitempty"`
	InternalURL string   `json:"internalURL,omitempty"`
	Realm       string   `json:"realm,omitempty"`
	OTP         bool     `json:"otp,omitempty"`
	Clients     *Clients `json:"clients,omitempty"`
}

func (*Keycloak) DeepCopy

func (in *Keycloak) DeepCopy() *Keycloak

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

func (*Keycloak) DeepCopyInto

func (in *Keycloak) DeepCopyInto(out *Keycloak)

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

type Manager

type Manager struct {
	Name    string   `json:"name,omitempty"`
	Enabled bool     `json:"enabled,omitempty"`
	Port    *Port    `json:"port,omitempty"`
	Ingress *Ingress `json:"ingress,omitempty"`
}

func (*Manager) DeepCopy

func (in *Manager) DeepCopy() *Manager

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

func (*Manager) DeepCopyInto

func (in *Manager) DeepCopyInto(out *Manager)

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

type Port

type Port struct {
	HTTP int `json:"http,omitempty"`
	GRPC int `json:"grpc,omitempty"`
}

func (*Port) DeepCopy

func (in *Port) DeepCopy() *Port

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

func (*Port) DeepCopyInto

func (in *Port) DeepCopyInto(out *Port)

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

type Status

type Status struct{}

func (*Status) DeepCopy

func (in *Status) DeepCopy() *Status

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

func (*Status) DeepCopyInto

func (in *Status) DeepCopyInto(out *Status)

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