v1

package
v0.24.2 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

Package v1 is the v1 version of the API. +groupName=fiaas.schibsted.io

Index

Constants

View Source
const GroupName = "fiaas.schibsted.io"

GroupName contains the api name

View Source
const GroupVersion = "v1"

GroupVersion contains the api version

Variables

View Source
var (

	// AddToScheme will stay in k8s.io/kubernetes.
	AddToScheme   = localSchemeBuilder.AddToScheme
	SchemeBuilder runtime.SchemeBuilder
)
View Source
var SchemeGroupVersion = schema.GroupVersion{
	Group:   GroupName,
	Version: GroupVersion,
}

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type AdditionalLabelsOrAnnotations

type AdditionalLabelsOrAnnotations struct {
	Global                  map[string]string `json:"global,omitempty"`
	Deployment              map[string]string `json:"deployment,omitempty"`
	HorizontalPodAutoscaler map[string]string `json:"horizontal_pod_autoscaler,omitempty"`
	Ingress                 map[string]string `json:"ingress,omitempty"`
	Service                 map[string]string `json:"service,omitempty"`
	ServiceAccount          map[string]string `json:"service_account,omitempty"`
	Pod                     map[string]string `json:"pod,omitempty"`
	Status                  map[string]string `json:"status,omitempty"`
}

func (*AdditionalLabelsOrAnnotations) DeepCopy

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

func (*AdditionalLabelsOrAnnotations) DeepCopyInto

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

type Application

type Application struct {
	metav1.TypeMeta   `json:",inline"` // apiVersion, kind
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ApplicationSpec `json:"spec"`
}

Application is a top-level type. A client is created for it.

func (*Application) DeepCopy

func (in *Application) DeepCopy() *Application

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

func (*Application) DeepCopyInto

func (in *Application) DeepCopyInto(out *Application)

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

func (*Application) DeepCopyObject

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

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

type ApplicationList

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

ApplicationList is a top-level list type. The client methods for lists are automatically created. You are not supposed to create a separated client for this one.

func (*ApplicationList) DeepCopy

func (in *ApplicationList) DeepCopy() *ApplicationList

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

func (*ApplicationList) DeepCopyInto

func (in *ApplicationList) DeepCopyInto(out *ApplicationList)

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

func (*ApplicationList) DeepCopyObject

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

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

type ApplicationSpec

type ApplicationSpec struct {
	Application           string                         `json:"application"`
	Image                 string                         `json:"image"`
	Config                Config                         `json:"config"`
	AdditionalLabels      *AdditionalLabelsOrAnnotations `json:"additional_labels,omitempty"`
	AdditionalAnnotations *AdditionalLabelsOrAnnotations `json:"additional_annotations,omitempty"`
}

ApplicationSpec contains data used to create a CRD. See https://github.com/fiaas/fiaas-deploy-daemon/blob/master/docs/crd/examples/fiaas-deploy-daemon.yaml Note: using an anonymous interface{} type for Config results in badly generated code

func (*ApplicationSpec) DeepCopy

func (in *ApplicationSpec) DeepCopy() *ApplicationSpec

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

func (*ApplicationSpec) DeepCopyInto

func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)

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

type ApplicationStatus

type ApplicationStatus struct {
	metav1.TypeMeta   `json:",inline"` // apiVersion, kind
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Logs              []string `json:"logs"`
	Result            string   `json:"result"`
}

ApplicationStatus is a top-level type. A client is created for it.

func (*ApplicationStatus) DeepCopy

func (in *ApplicationStatus) DeepCopy() *ApplicationStatus

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

func (*ApplicationStatus) DeepCopyInto

func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)

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

func (*ApplicationStatus) DeepCopyObject

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

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

type ApplicationStatusList

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

ApplicationStatusList is a top-level list type. The client methods for lists are automatically created. You are not supposed to create a separated client for this one.

func (*ApplicationStatusList) DeepCopy

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

func (*ApplicationStatusList) DeepCopyInto

func (in *ApplicationStatusList) DeepCopyInto(out *ApplicationStatusList)

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

func (*ApplicationStatusList) DeepCopyObject

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

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

type Config

type Config map[string]interface{}

Config stores fiaas.yml Reference: https://github.com/kubernetes/code-generator/issues/50

func (Config) DeepCopy

func (in Config) DeepCopy() Config

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

func (*Config) DeepCopyInto

func (in *Config) DeepCopyInto(out *Config)

DeepCopyInto is necessary to be able to use a map with an anonymous interface as type for Config kudos to https://gist.github.com/soroushjp/0ec92102641ddfc3ad5515ca76405f4d

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL