items

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OpConfigMapTypeMeta = v12.TypeMeta{
	Kind:       "ConfigMap",
	APIVersion: "v1",
}
View Source
var OpDeploymentConfigTypeMeta = v12.TypeMeta{
	Kind:       "DeploymentConfig",
	APIVersion: "apps.openshift.io/v1",
}
View Source
var OpPersistentVolumeClaimTypeMeta = v12.TypeMeta{
	Kind:       "PersistentVolumeClaim",
	APIVersion: "v1",
}
View Source
var OpPodTypeMeta = v12.TypeMeta{
	Kind:       "Pod",
	APIVersion: "v1",
}
View Source
var OpRoleBindingTypeMeta = v12.TypeMeta{
	Kind:       "RoleBinding",
	APIVersion: "rbac.authorization.k8s.io/v1",
}
View Source
var OpRoleTypeMeta = v12.TypeMeta{
	Kind:       "Role",
	APIVersion: "rbac.authorization.k8s.io/v1",
}
View Source
var OpRouteTypeMeta = v12.TypeMeta{
	Kind:       "Route",
	APIVersion: "route.openshift.io/v1",
}
View Source
var OpServiceAccountTypeMeta = v12.TypeMeta{
	Kind:       "ServiceAccount",
	APIVersion: "v1",
}
View Source
var OpServiceTypeMeta = v12.TypeMeta{
	Kind:       "Service",
	APIVersion: "v1",
}
View Source
var OpStatefulSetTypeMeta = v12.TypeMeta{
	Kind:       "StatefulSet",
	APIVersion: "apps/v1",
}

Functions

This section is empty.

Types

type OpConfigMap

type OpConfigMap struct {
	ConfigMap *v1.ConfigMap
}

func NewOpConfigMap

func NewOpConfigMap(ConfigMap v1.ConfigMap) *OpConfigMap

func (*OpConfigMap) Create

func (oConfigMap *OpConfigMap) Create(namespace string, restConf *rest.Config) error

func (*OpConfigMap) Delete

func (oConfigMap *OpConfigMap) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpConfigMap) FromData

func (oConfigMap *OpConfigMap) FromData(data []byte) error

func (*OpConfigMap) Get

func (oConfigMap *OpConfigMap) Get(namespace string, restConf *rest.Config, name string) error

func (*OpConfigMap) GetFileName

func (oConfigMap *OpConfigMap) GetFileName() string

func (*OpConfigMap) GetKind

func (oConfigMap *OpConfigMap) GetKind() string

func (*OpConfigMap) GetName

func (oConfigMap *OpConfigMap) GetName() string

func (*OpConfigMap) GetScale

func (oConfigMap *OpConfigMap) GetScale() int32

func (*OpConfigMap) Info

func (oConfigMap *OpConfigMap) Info() string

func (OpConfigMap) InfoStatusHtml

func (oConfigMap OpConfigMap) InfoStatusHtml() string

func (*OpConfigMap) IsScalable

func (oConfigMap *OpConfigMap) IsScalable() bool

func (*OpConfigMap) LoadFromFile

func (oConfigMap *OpConfigMap) LoadFromFile(file string, envs map[string]string) error

func (*OpConfigMap) Status

func (oConfigMap *OpConfigMap) Status() string

TODO more infos

func (*OpConfigMap) String

func (oConfigMap *OpConfigMap) String() string

func (*OpConfigMap) ToYaml

func (oConfigMap *OpConfigMap) ToYaml() (string, error)

func (OpConfigMap) Update

func (oConfigMap OpConfigMap) Update(namespace string, restConf *rest.Config) error

func (*OpConfigMap) UpdateScale

func (oConfigMap *OpConfigMap) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpConfigMap) WriteToFile

func (oConfigMap *OpConfigMap) WriteToFile(file string) error

type OpDeploymentConfig

type OpDeploymentConfig struct {
	DeploymentConfig *v1.DeploymentConfig
}

func NewOpDeploymentConfig

func NewOpDeploymentConfig(DeploymentConfig v1.DeploymentConfig) *OpDeploymentConfig

func (OpDeploymentConfig) Create

func (oDeploymentConfig OpDeploymentConfig) Create(namespace string, restConf *rest.Config) error

func (OpDeploymentConfig) Delete

func (oDeploymentConfig OpDeploymentConfig) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpDeploymentConfig) FromData

func (oDeploymentConfig *OpDeploymentConfig) FromData(data []byte) error

func (*OpDeploymentConfig) Get

func (oDeploymentConfig *OpDeploymentConfig) Get(namespace string, restConf *rest.Config, name string) error

func (OpDeploymentConfig) GetFileName

func (oDeploymentConfig OpDeploymentConfig) GetFileName() string

func (OpDeploymentConfig) GetKind

func (oDeploymentConfig OpDeploymentConfig) GetKind() string

func (OpDeploymentConfig) GetName

func (oDeploymentConfig OpDeploymentConfig) GetName() string

func (OpDeploymentConfig) GetScale

func (oDeploymentConfig OpDeploymentConfig) GetScale() int32

func (OpDeploymentConfig) Info

func (oDeploymentConfig OpDeploymentConfig) Info() string

func (OpDeploymentConfig) InfoStatusHtml

func (oDeploymentConfig OpDeploymentConfig) InfoStatusHtml() string

func (OpDeploymentConfig) IsScalable

func (oDeploymentConfig OpDeploymentConfig) IsScalable() bool

func (OpDeploymentConfig) LoadFromFile

func (oDeploymentConfig OpDeploymentConfig) LoadFromFile(file string, envs map[string]string) error

func (OpDeploymentConfig) Status

func (oDeploymentConfig OpDeploymentConfig) Status() string

func (OpDeploymentConfig) String

func (oDeploymentConfig OpDeploymentConfig) String() string

func (*OpDeploymentConfig) ToYaml

func (oDeploymentConfig *OpDeploymentConfig) ToYaml() (string, error)

func (OpDeploymentConfig) Update

func (oDeploymentConfig OpDeploymentConfig) Update(namespace string, restConf *rest.Config) error

func (OpDeploymentConfig) UpdateScale

func (oDeploymentConfig OpDeploymentConfig) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (OpDeploymentConfig) WriteToFile

func (oDeploymentConfig OpDeploymentConfig) WriteToFile(file string) error

type OpPersistentVolumeClaim

type OpPersistentVolumeClaim struct {
	PersistentVolumeClaim *v1.PersistentVolumeClaim
}

func NewOpPersistentVolumeClaim

func NewOpPersistentVolumeClaim(PersistentVolumeClaim v1.PersistentVolumeClaim) *OpPersistentVolumeClaim

func (*OpPersistentVolumeClaim) Create

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) Create(namespace string, restConf *rest.Config) error

func (*OpPersistentVolumeClaim) Delete

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpPersistentVolumeClaim) FromData

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) FromData(data []byte) error

func (*OpPersistentVolumeClaim) Get

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) Get(namespace string, restConf *rest.Config, name string) error

func (*OpPersistentVolumeClaim) GetFileName

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) GetFileName() string

func (*OpPersistentVolumeClaim) GetKind

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) GetKind() string

func (*OpPersistentVolumeClaim) GetName

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) GetName() string

func (*OpPersistentVolumeClaim) GetScale

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) GetScale() int32

func (*OpPersistentVolumeClaim) Info

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) Info() string

func (OpPersistentVolumeClaim) InfoStatusHtml

func (oPersistentVolumeClaim OpPersistentVolumeClaim) InfoStatusHtml() string

func (*OpPersistentVolumeClaim) IsScalable

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) IsScalable() bool

func (*OpPersistentVolumeClaim) LoadFromFile

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) LoadFromFile(file string, envs map[string]string) error

func (*OpPersistentVolumeClaim) Status

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) Status() string

TODO more infos

func (*OpPersistentVolumeClaim) String

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) String() string

func (*OpPersistentVolumeClaim) ToYaml

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) ToYaml() (string, error)

func (OpPersistentVolumeClaim) Update

func (oPersistentVolumeClaim OpPersistentVolumeClaim) Update(namespace string, restConf *rest.Config) error

func (*OpPersistentVolumeClaim) UpdateScale

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpPersistentVolumeClaim) WriteToFile

func (oPersistentVolumeClaim *OpPersistentVolumeClaim) WriteToFile(file string) error

type OpPod

type OpPod struct {
	Pod *v1.Pod
}

func NewOpPod

func NewOpPod(Pod v1.Pod) *OpPod

func (*OpPod) Create

func (oPod *OpPod) Create(namespace string, restConf *rest.Config) error

func (*OpPod) Delete

func (oPod *OpPod) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpPod) FromData

func (oPod *OpPod) FromData(data []byte) error

func (*OpPod) Get

func (oPod *OpPod) Get(namespace string, restConf *rest.Config, name string) error

func (*OpPod) GetFileName

func (oPod *OpPod) GetFileName() string

func (*OpPod) GetKind

func (oPod *OpPod) GetKind() string

func (*OpPod) GetName

func (oPod *OpPod) GetName() string

func (*OpPod) GetScale

func (oPod *OpPod) GetScale() int32

func (*OpPod) Info

func (oPod *OpPod) Info() string

func (OpPod) InfoStatusHtml

func (oPod OpPod) InfoStatusHtml() string

func (*OpPod) IsScalable

func (oPod *OpPod) IsScalable() bool

func (*OpPod) LoadFromFile

func (oPod *OpPod) LoadFromFile(file string, envs map[string]string) error

func (*OpPod) Status

func (oPod *OpPod) Status() string

TODO more infos

func (*OpPod) String

func (oPod *OpPod) String() string

func (*OpPod) ToYaml

func (oPod *OpPod) ToYaml() (string, error)

func (*OpPod) Update

func (oPod *OpPod) Update(namespace string, restConf *rest.Config) error

func (*OpPod) UpdateScale

func (oPod *OpPod) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpPod) WriteToFile

func (oPod *OpPod) WriteToFile(file string) error

type OpRole

type OpRole struct {
	Role *v1.Role
}

func NewOpRole

func NewOpRole(Role v1.Role) *OpRole

func (*OpRole) Create

func (oRole *OpRole) Create(namespace string, restConf *rest.Config) error

func (*OpRole) Delete

func (oRole *OpRole) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpRole) FromData

func (oRole *OpRole) FromData(data []byte) error

func (*OpRole) Get

func (oRole *OpRole) Get(namespace string, restConf *rest.Config, name string) error

func (*OpRole) GetFileName

func (oRole *OpRole) GetFileName() string

func (*OpRole) GetKind

func (oRole *OpRole) GetKind() string

func (*OpRole) GetName

func (oRole *OpRole) GetName() string

func (*OpRole) GetScale

func (oRole *OpRole) GetScale() int32

func (*OpRole) Info

func (oRole *OpRole) Info() string

func (OpRole) InfoStatusHtml

func (oRole OpRole) InfoStatusHtml() string

func (*OpRole) IsScalable

func (oRole *OpRole) IsScalable() bool

func (*OpRole) LoadFromFile

func (oRole *OpRole) LoadFromFile(file string, envs map[string]string) error

func (*OpRole) Status

func (oRole *OpRole) Status() string

TODO more infos

func (*OpRole) String

func (oRole *OpRole) String() string

func (*OpRole) ToYaml

func (oRole *OpRole) ToYaml() (string, error)

func (OpRole) Update

func (oRole OpRole) Update(namespace string, restConf *rest.Config) error

func (*OpRole) UpdateScale

func (oRole *OpRole) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpRole) WriteToFile

func (oRole *OpRole) WriteToFile(file string) error

type OpRoleBinding

type OpRoleBinding struct {
	RoleBinding *v1.RoleBinding
}

func NewOpRoleBinding

func NewOpRoleBinding(RoleBinding v1.RoleBinding) *OpRoleBinding

func (*OpRoleBinding) Create

func (oRoleBinding *OpRoleBinding) Create(namespace string, restConf *rest.Config) error

func (*OpRoleBinding) Delete

func (oRoleBinding *OpRoleBinding) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpRoleBinding) FromData

func (oRoleBinding *OpRoleBinding) FromData(data []byte) error

func (*OpRoleBinding) Get

func (oRoleBinding *OpRoleBinding) Get(namespace string, restConf *rest.Config, name string) error

func (*OpRoleBinding) GetFileName

func (oRoleBinding *OpRoleBinding) GetFileName() string

func (*OpRoleBinding) GetKind

func (oRoleBinding *OpRoleBinding) GetKind() string

func (*OpRoleBinding) GetName

func (oRoleBinding *OpRoleBinding) GetName() string

func (*OpRoleBinding) GetScale

func (oRoleBinding *OpRoleBinding) GetScale() int32

func (*OpRoleBinding) Info

func (oRoleBinding *OpRoleBinding) Info() string

func (OpRoleBinding) InfoStatusHtml

func (oRoleBinding OpRoleBinding) InfoStatusHtml() string

func (*OpRoleBinding) IsScalable

func (oRoleBinding *OpRoleBinding) IsScalable() bool

func (*OpRoleBinding) LoadFromFile

func (oRoleBinding *OpRoleBinding) LoadFromFile(file string, envs map[string]string) error

func (*OpRoleBinding) Status

func (oRoleBinding *OpRoleBinding) Status() string

TODO more infos

func (*OpRoleBinding) String

func (oRoleBinding *OpRoleBinding) String() string

func (*OpRoleBinding) ToYaml

func (oRoleBinding *OpRoleBinding) ToYaml() (string, error)

func (OpRoleBinding) Update

func (oRoleBinding OpRoleBinding) Update(namespace string, restConf *rest.Config) error

func (*OpRoleBinding) UpdateScale

func (oRoleBinding *OpRoleBinding) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpRoleBinding) WriteToFile

func (oRoleBinding *OpRoleBinding) WriteToFile(file string) error

type OpRoute

type OpRoute struct {
	Route *v1.Route
}

func NewOpRoute

func NewOpRoute(Route v1.Route) *OpRoute

func (*OpRoute) Create

func (oRoute *OpRoute) Create(namespace string, restConf *rest.Config) error

func (*OpRoute) Delete

func (oRoute *OpRoute) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpRoute) FromData

func (oRoute *OpRoute) FromData(data []byte) error

func (*OpRoute) Get

func (oRoute *OpRoute) Get(namespace string, restConf *rest.Config, name string) error

func (*OpRoute) GetFileName

func (oRoute *OpRoute) GetFileName() string

func (*OpRoute) GetKind

func (oRoute *OpRoute) GetKind() string

func (*OpRoute) GetName

func (oRoute *OpRoute) GetName() string

func (*OpRoute) GetScale

func (oRoute *OpRoute) GetScale() int32

func (*OpRoute) Info

func (oRoute *OpRoute) Info() string

func (OpRoute) InfoStatusHtml

func (oRoute OpRoute) InfoStatusHtml() string

func (*OpRoute) IsScalable

func (oRoute *OpRoute) IsScalable() bool

func (*OpRoute) LoadFromFile

func (oRoute *OpRoute) LoadFromFile(file string, envs map[string]string) error

func (*OpRoute) Status

func (oRoute *OpRoute) Status() string

func (*OpRoute) String

func (oRoute *OpRoute) String() string

func (*OpRoute) ToYaml

func (oRoute *OpRoute) ToYaml() (string, error)

func (OpRoute) Update

func (oRoute OpRoute) Update(namespace string, restConf *rest.Config) error

func (*OpRoute) UpdateScale

func (oRoute *OpRoute) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpRoute) WriteToFile

func (oRoute *OpRoute) WriteToFile(file string) error

type OpService

type OpService struct {
	Service *v1.Service
}

func NewOpService

func NewOpService(Service v1.Service) *OpService

func (*OpService) Create

func (oService *OpService) Create(namespace string, restConf *rest.Config) error

func (*OpService) Delete

func (oService *OpService) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpService) FromData

func (oService *OpService) FromData(data []byte) error

func (*OpService) Get

func (oService *OpService) Get(namespace string, restConf *rest.Config, name string) error

func (*OpService) GetFileName

func (oService *OpService) GetFileName() string

func (*OpService) GetKind

func (oService *OpService) GetKind() string

func (*OpService) GetName

func (oService *OpService) GetName() string

func (*OpService) GetScale

func (oService *OpService) GetScale() int32

func (*OpService) Info

func (oService *OpService) Info() string

func (OpService) InfoStatusHtml

func (oService OpService) InfoStatusHtml() string

func (*OpService) IsScalable

func (oService *OpService) IsScalable() bool

func (*OpService) LoadFromFile

func (oService *OpService) LoadFromFile(file string, envs map[string]string) error

func (*OpService) Status

func (oService *OpService) Status() string

TODO more infos

func (*OpService) String

func (oService *OpService) String() string

func (*OpService) ToYaml

func (oService *OpService) ToYaml() (string, error)

func (OpService) Update

func (oService OpService) Update(namespace string, restConf *rest.Config) error

func (*OpService) UpdateScale

func (oService *OpService) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpService) WriteToFile

func (oService *OpService) WriteToFile(file string) error

type OpServiceAccount

type OpServiceAccount struct {
	ServiceAccount *v1.ServiceAccount
}

func NewOpServiceAccount

func NewOpServiceAccount(ServiceAccount v1.ServiceAccount) *OpServiceAccount

func (*OpServiceAccount) Create

func (oServiceAccount *OpServiceAccount) Create(namespace string, restConf *rest.Config) error

func (*OpServiceAccount) Delete

func (oServiceAccount *OpServiceAccount) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpServiceAccount) FromData

func (oServiceAccount *OpServiceAccount) FromData(data []byte) error

func (*OpServiceAccount) Get

func (oServiceAccount *OpServiceAccount) Get(namespace string, restConf *rest.Config, name string) error

func (*OpServiceAccount) GetFileName

func (oServiceAccount *OpServiceAccount) GetFileName() string

func (*OpServiceAccount) GetKind

func (oServiceAccount *OpServiceAccount) GetKind() string

func (*OpServiceAccount) GetName

func (oServiceAccount *OpServiceAccount) GetName() string

func (*OpServiceAccount) GetScale

func (oServiceAccount *OpServiceAccount) GetScale() int32

func (*OpServiceAccount) Info

func (oServiceAccount *OpServiceAccount) Info() string

func (OpServiceAccount) InfoStatusHtml

func (oServiceAccount OpServiceAccount) InfoStatusHtml() string

func (*OpServiceAccount) IsScalable

func (oServiceAccount *OpServiceAccount) IsScalable() bool

func (*OpServiceAccount) LoadFromFile

func (oServiceAccount *OpServiceAccount) LoadFromFile(file string, envs map[string]string) error

func (*OpServiceAccount) Status

func (oServiceAccount *OpServiceAccount) Status() string

TODO more infos

func (*OpServiceAccount) String

func (oServiceAccount *OpServiceAccount) String() string

func (*OpServiceAccount) ToYaml

func (oServiceAccount *OpServiceAccount) ToYaml() (string, error)

func (OpServiceAccount) Update

func (oServiceAccount OpServiceAccount) Update(namespace string, restConf *rest.Config) error

func (*OpServiceAccount) UpdateScale

func (oServiceAccount *OpServiceAccount) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (*OpServiceAccount) WriteToFile

func (oServiceAccount *OpServiceAccount) WriteToFile(file string) error

type OpStatefulSet

type OpStatefulSet struct {
	StatefulSet *v1.StatefulSet
}

func NewOpStatefulSet

func NewOpStatefulSet(StatefulSet v1.StatefulSet) *OpStatefulSet

func (OpStatefulSet) Create

func (oStatefulSet OpStatefulSet) Create(namespace string, restConf *rest.Config) error

func (OpStatefulSet) Delete

func (oStatefulSet OpStatefulSet) Delete(namespace string, restConf *rest.Config, options *v12.DeleteOptions) error

func (*OpStatefulSet) FromData

func (oStatefulSet *OpStatefulSet) FromData(data []byte) error

func (*OpStatefulSet) Get

func (oStatefulSet *OpStatefulSet) Get(namespace string, restConf *rest.Config, name string) error

func (OpStatefulSet) GetFileName

func (oStatefulSet OpStatefulSet) GetFileName() string

func (OpStatefulSet) GetKind

func (oStatefulSet OpStatefulSet) GetKind() string

func (OpStatefulSet) GetName

func (oStatefulSet OpStatefulSet) GetName() string

func (OpStatefulSet) GetScale

func (oStatefulSet OpStatefulSet) GetScale() int32

func (OpStatefulSet) Info

func (oStatefulSet OpStatefulSet) Info() string

func (OpStatefulSet) InfoStatusHtml

func (oStatefulSet OpStatefulSet) InfoStatusHtml() string

func (OpStatefulSet) IsScalable

func (oStatefulSet OpStatefulSet) IsScalable() bool

func (*OpStatefulSet) LoadFromFile

func (oStatefulSet *OpStatefulSet) LoadFromFile(file string, envs map[string]string) error

func (OpStatefulSet) Status

func (oStatefulSet OpStatefulSet) Status() string

func (OpStatefulSet) String

func (oStatefulSet OpStatefulSet) String() string

func (*OpStatefulSet) ToYaml

func (oStatefulSet *OpStatefulSet) ToYaml() (string, error)

func (OpStatefulSet) Update

func (oStatefulSet OpStatefulSet) Update(namespace string, restConf *rest.Config) error

func (OpStatefulSet) UpdateScale

func (oStatefulSet OpStatefulSet) UpdateScale(replicas int32, namespace string, restConf *rest.Config) error

func (OpStatefulSet) WriteToFile

func (oStatefulSet OpStatefulSet) WriteToFile(file string) error

Jump to

Keyboard shortcuts

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