v1

package
v0.0.0-...-5d42de7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeBuilder will initiantiate the scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme will add the scheme to the scheme builder
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   alert.GroupName,
	Version: "v1",
}

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 Alert

type Alert struct {
	meta_v1.TypeMeta   `json:",inline"`
	meta_v1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AlertSpec   `json:"spec"`
	Status AlertStatus `json:"status,omitempty"`
}

Alert is a specification for a Alert resource

func (*Alert) DeepCopy

func (in *Alert) DeepCopy() *Alert

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

func (*Alert) DeepCopyInto

func (in *Alert) DeepCopyInto(out *Alert)

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

func (*Alert) DeepCopyObject

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

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

type AlertList

type AlertList struct {
	meta_v1.TypeMeta `json:",inline"`
	meta_v1.ListMeta `json:"metadata"`

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

AlertList is a list of Alert resources

func (*AlertList) DeepCopy

func (in *AlertList) DeepCopy() *AlertList

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

func (*AlertList) DeepCopyInto

func (in *AlertList) DeepCopyInto(out *AlertList)

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

func (*AlertList) DeepCopyObject

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

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

type AlertSpec

type AlertSpec struct {
	Namespace            string   `json:"namespace,omitempty"`
	Version              string   `json:"version,omitempty"`
	ExposeService        string   `json:"exposeService"`
	StandAlone           *bool    `json:"standAlone"`
	Port                 *int32   `json:"port"`
	EncryptionPassword   string   `json:"EncryptionPassword"`
	EncryptionGlobalSalt string   `json:"EncryptionGlobalSalt"`
	Environs             []string `json:"environs,omitempty"`
	PersistentStorage    bool     `json:"persistentStorage"`
	PVCName              string   `json:"pvcName"`
	PVCStorageClass      string   `json:"pvcStorageClass"`
	// SecurityContexts     map[string]api.SecurityContext `json:"securityContexts,omitempty"`
	Certificate    string `json:"certificate,omitempty"`
	CertificateKey string `json:"certificateKey,omitempty"`
	JavaKeyStore   string `json:"javaKeyStore,omitempty"`

	// Should be passed like: e.g "1300Mi"
	PVCSize     string `json:"pvcSize"`
	AlertMemory string `json:"alertMemory,omitempty"`
	CfsslMemory string `json:"cfsslMemory,omitempty"`

	DesiredState          string                     `json:"desiredState,omitempty"`
	ImageRegistries       []string                   `json:"imageRegistries,omitempty"`
	RegistryConfiguration *api.RegistryConfiguration `json:"registryConfiguration,omitempty"`
}

AlertSpec is the spec for a Alert resource

func (*AlertSpec) DeepCopy

func (in *AlertSpec) DeepCopy() *AlertSpec

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

func (*AlertSpec) DeepCopyInto

func (in *AlertSpec) DeepCopyInto(out *AlertSpec)

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

type AlertStatus

type AlertStatus struct {
	State        string `json:"state"`
	ErrorMessage string `json:"errorMessage"`
}

AlertStatus is the status for a Alert resource

func (*AlertStatus) DeepCopy

func (in *AlertStatus) DeepCopy() *AlertStatus

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

func (*AlertStatus) DeepCopyInto

func (in *AlertStatus) DeepCopyInto(out *AlertStatus)

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