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
- Variables
- func Resource(resource string) schema.GroupResource
- type API
- type Account
- type Administrator
- type Analytic
- type Auth
- type Broker
- type ClientCredentials
- type Clients
- type Components
- type Database
- type Global
- type HorusecManager
- type HorusecManagerList
- type HorusecManagerSpec
- type Ingress
- type JWT
- type Keycloak
- type Manager
- type Port
- type Status
Constants ¶
const (
GroupName = "install.horusec.io"
)
Package-wide consts from generator "register".
Variables ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new API.
func (*API) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Administrator ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Analytic.
func (*Analytic) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Auth.
func (*Auth) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Broker.
func (*Broker) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Clients.
func (*Clients) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Global.
func (*Global) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Ingress.
func (*Ingress) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JWT.
func (*JWT) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Keycloak.
func (*Keycloak) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Manager.
func (*Manager) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Port ¶
func (*Port) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Port.
func (*Port) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.