Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Abort
- type BindOptions
- type Client
- func (c *Client) Configs(namespace string) ConfigInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) RouteSets(namespace string) RouteSetInterface
- func (c *Client) Services(namespace string) ServiceInterface
- func (c *Client) Stacks(namespace string) StackInterface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- func (c *Client) Volumes(namespace string) VolumeInterface
- type Condition
- type Config
- type ConfigController
- type ConfigHandlerFunc
- type ConfigInterface
- type ConfigLifecycle
- type ConfigList
- type ConfigLister
- type ConfigMapping
- type ConfigSpec
- type ConfigsGetter
- type ContainerConfig
- type ContainerPrivilegedConfig
- type CustomResourceDefinition
- type Destination
- type DeviceMapping
- type ExposedPort
- type Fault
- type HealthConfig
- type Interface
- type InternalStack
- type Kubernetes
- type Match
- type Mount
- type NodeScheduling
- type Permission
- type PodConfig
- type PortBinding
- type PrivilegedConfig
- type Propagation
- type Redirect
- type Retry
- type Rewrite
- type RouteSet
- type RouteSetController
- type RouteSetHandlerFunc
- type RouteSetInterface
- type RouteSetLifecycle
- type RouteSetList
- type RouteSetLister
- type RouteSetSpec
- type RouteSetsGetter
- type RouteSpec
- type RouteTraffic
- type ScaleStatus
- type Scheduling
- type SecretMapping
- type Service
- type ServiceController
- type ServiceHandlerFunc
- type ServiceInterface
- type ServiceLifecycle
- type ServiceList
- type ServiceLister
- type ServiceRevision
- type ServiceSource
- type ServiceSpec
- type ServiceStatus
- type ServiceUnversionedSpec
- type ServicesGetter
- type SidekickConfig
- type Stack
- type StackController
- type StackHandlerFunc
- type StackInterface
- type StackLifecycle
- type StackList
- type StackLister
- type StackScoped
- type StackSpec
- type StackStatus
- type StacksGetter
- type StringMatch
- type Tmpfs
- type Volume
- type VolumeController
- type VolumeHandlerFunc
- type VolumeInterface
- type VolumeLifecycle
- type VolumeList
- type VolumeLister
- type VolumeOptions
- type VolumeSpec
- type VolumeStatus
- type VolumesGetter
- type WeightedDestination
Constants ¶
const ( GroupName = "rio.cattle.io" Version = "v1beta1" )
Variables ¶
var ( ReadVerbs = []string{ "get", "list", "watch", } WriteVerbs = []string{ "create", "delete", "get", "list", "patch", "update", "watch", } )
var ( StackConditionNamespaceCreated = condition.Cond("NamespaceCreated") StackConditionParsed = condition.Cond("Parsed") StackConditionDefined = condition.Cond("Defined") StackConditionDeployed = condition.Cond("Deployed") StackConditionMeshDeployed = condition.Cond("MeshDeployed") )
var ( ConfigGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Config", } ConfigResource = metav1.APIResource{ Name: "configs", SingularName: "config", Namespaced: true, Kind: ConfigGroupVersionKind.Kind, } )
var ( RouteSetGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "RouteSet", } RouteSetResource = metav1.APIResource{ Name: "routesets", SingularName: "routeset", Namespaced: true, Kind: RouteSetGroupVersionKind.Kind, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( ServiceGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Service", } ServiceResource = metav1.APIResource{ Name: "services", SingularName: "service", Namespaced: true, Kind: ServiceGroupVersionKind.Kind, } )
var ( StackGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Stack", } StackResource = metav1.APIResource{ Name: "stacks", SingularName: "stack", Namespaced: true, Kind: StackGroupVersionKind.Kind, } )
var ( VolumeGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Volume", } VolumeResource = metav1.APIResource{ Name: "volumes", SingularName: "volume", Namespaced: true, Kind: VolumeGroupVersionKind.Kind, } )
var Propagations = []Propagation{ PropagationRPrivate, PropagationPrivate, PropagationRShared, PropagationShared, PropagationRSlave, PropagationSlave, }
Propagations is the list of all valid mount propagations
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Abort ¶
type Abort struct { HTTPStatus int `json:"httpStatus,omitempty"` HTTP2Status string `json:"http2Status,omitempty"` GRPCStatus string `json:"grpcStatus,omitempty"` }
func (*Abort) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Abort.
func (*Abort) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BindOptions ¶
type BindOptions struct {
Propagation Propagation `json:"propagation,omitempty"`
}
BindOptions defines options specific to mounts of type "bind".
func (*BindOptions) DeepCopy ¶
func (in *BindOptions) DeepCopy() *BindOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BindOptions.
func (*BindOptions) DeepCopyInto ¶
func (in *BindOptions) DeepCopyInto(out *BindOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Client ¶
func (*Client) Configs ¶
func (c *Client) Configs(namespace string) ConfigInterface
func (*Client) RESTClient ¶
func (*Client) RouteSets ¶
func (c *Client) RouteSets(namespace string) RouteSetInterface
func (*Client) Services ¶
func (c *Client) Services(namespace string) ServiceInterface
func (*Client) Stacks ¶
func (c *Client) Stacks(namespace string) StackInterface
func (*Client) Volumes ¶
func (c *Client) Volumes(namespace string) VolumeInterface
type Condition ¶
type Condition struct { // Type of cluster condition. Type string `json:"type"` // Status of the condition, one of True, False, Unknown. Status v1.ConditionStatus `json:"status"` // The last time this condition was updated. LastUpdateTime string `json:"lastUpdateTime,omitempty"` // Last time the condition transitioned from one status to another. LastTransitionTime string `json:"lastTransitionTime,omitempty"` // The reason for the condition's last transition. Reason string `json:"reason,omitempty"` // Human-readable message indicating details about last transition Message string `json:"message,omitempty"` }
func (*Condition) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Condition.
func (*Condition) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Config ¶
type Config struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConfigSpec `json:"spec,omitempty"` }
func (*Config) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Config.
func (*Config) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Config) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigController ¶
type ConfigController interface { Informer() cache.SharedIndexInformer Lister() ConfigLister AddHandler(name string, handler ConfigHandlerFunc) AddClusterScopedHandler(name, clusterName string, handler ConfigHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ConfigHandlerFunc ¶
func NewConfigLifecycleAdapter ¶
func NewConfigLifecycleAdapter(name string, clusterScoped bool, client ConfigInterface, l ConfigLifecycle) ConfigHandlerFunc
type ConfigInterface ¶
type ConfigInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Config) (*Config, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Config, error) Get(name string, opts metav1.GetOptions) (*Config, error) Update(*Config) (*Config, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ConfigList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ConfigController AddHandler(name string, sync ConfigHandlerFunc) AddLifecycle(name string, lifecycle ConfigLifecycle) AddClusterScopedHandler(name, clusterName string, sync ConfigHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle ConfigLifecycle) }
type ConfigLifecycle ¶
type ConfigList ¶
type ConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Config }
func (*ConfigList) DeepCopy ¶
func (in *ConfigList) DeepCopy() *ConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigList.
func (*ConfigList) DeepCopyInto ¶
func (in *ConfigList) DeepCopyInto(out *ConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigList) DeepCopyObject ¶
func (in *ConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigLister ¶
type ConfigMapping ¶
type ConfigMapping struct { Source string `json:"source,omitempty" norman:"required"` Target string `json:"target,omitempty"` UID int `json:"uid,omitempty"` GID int `json:"gid,omitempty"` Mode string `json:"mode,omitempty"` }
func (*ConfigMapping) DeepCopy ¶
func (in *ConfigMapping) DeepCopy() *ConfigMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapping.
func (*ConfigMapping) DeepCopyInto ¶
func (in *ConfigMapping) DeepCopyInto(out *ConfigMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ConfigMapping) MaybeString ¶
func (c ConfigMapping) MaybeString() interface{}
type ConfigSpec ¶
type ConfigSpec struct { Description string `json:"description,omitempty"` Content string `json:"content,omitempty"` Encoded bool `json:"encoded,omitempty"` StackScoped }
func (*ConfigSpec) DeepCopy ¶
func (in *ConfigSpec) DeepCopy() *ConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigSpec.
func (*ConfigSpec) DeepCopyInto ¶
func (in *ConfigSpec) DeepCopyInto(out *ConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigsGetter ¶
type ConfigsGetter interface {
Configs(namespace string) ConfigInterface
}
type ContainerConfig ¶
type ContainerConfig struct { ContainerPrivilegedConfig CPUs string `json:"nanoCpus,omitempty"` CapAdd []string `json:"capAdd,omitempty"` // support string CapDrop []string `json:"capDrop,omitempty"` // support string Command []string `json:"command,omitempty"` // support string DefaultVolumeDriver string `json:"defaultVolumeDriver,omitempty"` Entrypoint []string `json:"entrypoint,omitempty"` Environment []string `json:"environment,omitempty"` // alias env, support map ExposedPorts []ExposedPort `json:"expose,omitempty"` // support []string, map Healthcheck *HealthConfig `json:"healthcheck,omitempty"` Image string `json:"image,omitempty"` ImagePullPolicy string `json:"imagePullPolicy,omitempty" norman:"type=enum,options=always|never|not-present,default=not-present"` Init bool `json:"init,omitempty"` MemoryLimitBytes int64 `json:"memoryLimitBytes,omitempty"` MemoryReservationBytes int64 `json:"memoryReservationBytes,omitempty"` OpenStdin bool `json:"stdinOpen,omitempty"` // alias interactive ReadonlyRootfs bool `json:"readOnly,omitempty"` Tmpfs []Tmpfs `json:"tmpfs,omitempty"` // support []string too Tty bool `json:"tty,omitempty"` User string `json:"user,omitempty"` Volumes []Mount `json:"volumes,omitempty"` // support []string too VolumesFrom []string `json:"volumesFrom,omitempty"` // support []string too WorkingDir string `json:"workingDir,omitempty"` Devices []DeviceMapping `json:"devices,omitempty"` // support []string and map[string]string Configs []ConfigMapping `json:"configs,omitempty"` Secrets []SecretMapping `json:"secrets,omitempty"` }
func (*ContainerConfig) DeepCopy ¶
func (in *ContainerConfig) DeepCopy() *ContainerConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerConfig.
func (*ContainerConfig) DeepCopyInto ¶
func (in *ContainerConfig) DeepCopyInto(out *ContainerConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerPrivilegedConfig ¶
type ContainerPrivilegedConfig struct {
Privileged bool `json:"privileged,omitempty"`
}
func (*ContainerPrivilegedConfig) DeepCopy ¶
func (in *ContainerPrivilegedConfig) DeepCopy() *ContainerPrivilegedConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerPrivilegedConfig.
func (*ContainerPrivilegedConfig) DeepCopyInto ¶
func (in *ContainerPrivilegedConfig) DeepCopyInto(out *ContainerPrivilegedConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CustomResourceDefinition ¶
type CustomResourceDefinition struct { Kind string `json:"kind,omitempty"` Group string `json:"group,omitempty"` Version string `json:"version,omitempty"` }
func (*CustomResourceDefinition) DeepCopy ¶
func (in *CustomResourceDefinition) DeepCopy() *CustomResourceDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomResourceDefinition.
func (*CustomResourceDefinition) DeepCopyInto ¶
func (in *CustomResourceDefinition) DeepCopyInto(out *CustomResourceDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CustomResourceDefinition) MaybeString ¶
func (n *CustomResourceDefinition) MaybeString() interface{}
type Destination ¶
type Destination struct { Service string `json:"service,omitempty"` Stack string `json:"stack,omitempty"` Revision string `json:"revision,omitempty"` Port int64 `json:"port,omitempty"` }
func (*Destination) DeepCopy ¶
func (in *Destination) DeepCopy() *Destination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Destination.
func (*Destination) DeepCopyInto ¶
func (in *Destination) DeepCopyInto(out *Destination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Destination) String ¶
func (d Destination) String() string
type DeviceMapping ¶
type DeviceMapping struct { OnHost string `json:"onHost,omitempty"` InContainer string `json:"inContainer,omitempty"` Permissions string `json:"permissions,omitempty"` }
DeviceMapping represents the device mapping between the host and the container.
func (*DeviceMapping) DeepCopy ¶
func (in *DeviceMapping) DeepCopy() *DeviceMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeviceMapping.
func (*DeviceMapping) DeepCopyInto ¶
func (in *DeviceMapping) DeepCopyInto(out *DeviceMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (DeviceMapping) MaybeString ¶
func (d DeviceMapping) MaybeString() interface{}
type ExposedPort ¶
type ExposedPort struct { Name string `json:"name,omitempty"` PortBinding }
func (*ExposedPort) DeepCopy ¶
func (in *ExposedPort) DeepCopy() *ExposedPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ExposedPort.
func (*ExposedPort) DeepCopyInto ¶
func (in *ExposedPort) DeepCopyInto(out *ExposedPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ExposedPort) MaybeString ¶
func (e ExposedPort) MaybeString() interface{}
type Fault ¶
type Fault struct { Percentage int `json:"percentage,omitempty" norman:"min=0,max=100"` DelayMillis int `json:"delayMillis,omitempty"` Abort Abort `json:"abort,omitempty"` }
func (*Fault) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Fault.
func (*Fault) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HealthConfig ¶
type HealthConfig struct { // Test is the test to perform to check that the container is healthy. // An empty slice means to inherit the default. // The options are: // {} : inherit healthcheck // {"NONE"} : disable healthcheck // {"CMD", args...} : exec arguments directly // {"CMD-SHELL", command} : run command with system's default shell Test []string `json:"test,omitempty"` //alias string, deal with CMD, CMD-SHELL, NONE IntervalSeconds int `json:"intervalSeconds,omitempty" norman:"default=10"` // support friendly numbers, alias periodSeconds, period TimeoutSeconds int `json:"timeoutSeconds,omitempty" norman:"default=5"` // support friendly numbers InitialDelaySeconds int `json:"initialDelaySeconds,omitempty"` //alias start_period HealthyThreshold int `json:"healthyThreshold,omitempty" norman:"default=2"` //alias retries, successThreshold UnhealthyThreshold int `json:"unhealthyThreshold,omitempty" norman:"default=3"` //alias failureThreshold, set to retries if unset }
func (*HealthConfig) DeepCopy ¶
func (in *HealthConfig) DeepCopy() *HealthConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HealthConfig.
func (*HealthConfig) DeepCopyInto ¶
func (in *HealthConfig) DeepCopyInto(out *HealthConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter StacksGetter ServicesGetter ConfigsGetter VolumesGetter RouteSetsGetter }
type InternalStack ¶
type InternalStack struct { Services map[string]Service `json:"services,omitempty"` Configs map[string]Config `json:"configs,omitempty"` Volumes map[string]Volume `json:"volumes,omitempty"` Routes map[string]RouteSet `json:"routes,omitempty"` Kubernetes Kubernetes `json:"kubernetes,omitempty"` }
func (*InternalStack) DeepCopy ¶
func (in *InternalStack) DeepCopy() *InternalStack
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InternalStack.
func (*InternalStack) DeepCopyInto ¶
func (in *InternalStack) DeepCopyInto(out *InternalStack)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Kubernetes ¶
type Kubernetes struct { CustomResourceDefinitions []CustomResourceDefinition `json:"customResourceDefinitions,omitempty"` NamespacedCustomResourceDefinitions []CustomResourceDefinition `json:"namespacedCustomResourceDefinitions,omitempty"` Manifest string `json:"manifest,omitempty"` NamespacedManifest string `json:"namespacedManifest,omitempty"` }
func (*Kubernetes) DeepCopy ¶
func (in *Kubernetes) DeepCopy() *Kubernetes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Kubernetes.
func (*Kubernetes) DeepCopyInto ¶
func (in *Kubernetes) DeepCopyInto(out *Kubernetes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Match ¶
type Match struct { Path StringMatch `json:"path,omitempty"` Scheme StringMatch `json:"scheme,omitempty"` Method StringMatch `json:"method,omitempty"` Headers map[string]StringMatch `json:"headers,omitempty"` Cookies map[string]StringMatch `json:"cookies,omitempty"` Port int `json:"port,omitempty"` From ServiceSource `json:"from,omitempty"` }
func (*Match) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Match.
func (*Match) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Match) MaybeString ¶
func (m Match) MaybeString() interface{}
type Mount ¶
type Mount struct { Kind string `json:"kind,omitempty" norman:"type=enum,options=bind|volume"` // Source specifies the name of the mount. Depending on mount type, this // may be a volume name or a host path, or even ignored. Source string `json:"source,omitempty"` Target string `json:"target,omitempty"` ReadOnly bool `json:"readonly,omitempty"` BindOptions *BindOptions `json:"bind,omitempty"` VolumeOptions *VolumeOptions `json:"volume,omitempty"` }
func (*Mount) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mount.
func (*Mount) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Mount) MaybeString ¶
func (m Mount) MaybeString() interface{}
type NodeScheduling ¶
type NodeScheduling struct { NodeName string `json:"nodeName,omitempty" norman:"type=reference[/v1beta1/schemas/node]"` RequireAll []string `json:"requireAll,omitempty"` RequireAny []string `json:"requireAny,omitempty"` Preferred []string `json:"preferred,omitempty"` }
func (*NodeScheduling) DeepCopy ¶
func (in *NodeScheduling) DeepCopy() *NodeScheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeScheduling.
func (*NodeScheduling) DeepCopyInto ¶
func (in *NodeScheduling) DeepCopyInto(out *NodeScheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Permission ¶
type Permission struct { Role string `json:"role,omitempty"` Verbs []string `json:"verbs,omitempty"` APIGroup string `json:"apiGroup,omitempty"` Resource string `json:"resource,omitempty"` Name string `json:"name,omitempty"` }
func (*Permission) DeepCopy ¶
func (in *Permission) DeepCopy() *Permission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Permission.
func (*Permission) DeepCopyInto ¶
func (in *Permission) DeepCopyInto(out *Permission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Permission) MaybeString ¶
func (p Permission) MaybeString() interface{}
type PodConfig ¶
type PodConfig struct { Hostname string `json:"hostname,omitempty"` Global bool `json:"global,omitempty"` Scheduling Scheduling `json:"scheduling,omitempty"` StopGracePeriodSeconds *int `json:"stopGracePeriod,omitempty"` // support friendly numbers RestartPolicy string `json:"restart,omitempty" norman:"type=enum,options=never|on-failure|always,default=always"` //support no and OnFailure DNS []string `json:"dns,omitempty"` // support string DNSOptions []string `json:"dnsOptions,omitempty"` // support string DNSSearch []string `json:"dnsSearch,omitempty"` // support string ExtraHosts []string `json:"extraHosts,omitempty"` // support map GlobalPermissions []Permission `json:"globalPermissions,omitempty"` Permissions []Permission `json:"permissions,omitempty"` PortBindings []PortBinding `json:"ports,omitempty"` // support []string }
func (*PodConfig) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodConfig.
func (*PodConfig) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PortBinding ¶
type PortBinding struct { Port int64 `json:"port,omitempty"` Protocol string `json:"protocol,omitempty"` IP string `json:"ip,omitempty"` TargetPort int64 `json:"targetPort,omitempty"` }
func (*PortBinding) DeepCopy ¶
func (in *PortBinding) DeepCopy() *PortBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortBinding.
func (*PortBinding) DeepCopyInto ¶
func (in *PortBinding) DeepCopyInto(out *PortBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PortBinding) MaybeString ¶
func (p PortBinding) MaybeString() interface{}
type PrivilegedConfig ¶
type PrivilegedConfig struct { NetworkMode string `json:"net,omitempty" norman:"type=enum,options=default|host,default=default"` // alias network, support bridge IpcMode string `json:"ipc,omitempty" norman:"type=enum,options=default|host,default=default"` PidMode string `json:"pid,omitempty" norman:"type=enum,options=default|host,default=default"` }
func (*PrivilegedConfig) DeepCopy ¶
func (in *PrivilegedConfig) DeepCopy() *PrivilegedConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PrivilegedConfig.
func (*PrivilegedConfig) DeepCopyInto ¶
func (in *PrivilegedConfig) DeepCopyInto(out *PrivilegedConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Propagation ¶
type Propagation string
Propagation represents the propagation of a mount.
const ( // PropagationRPrivate RPRIVATE PropagationRPrivate Propagation = "rprivate" // PropagationPrivate PRIVATE PropagationPrivate Propagation = "private" PropagationRShared Propagation = "rshared" PropagationShared Propagation = "shared" // PropagationRSlave RSLAVE PropagationRSlave Propagation = "rslave" // PropagationSlave SLAVE PropagationSlave Propagation = "slave" )
type Redirect ¶
func (*Redirect) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Redirect.
func (*Redirect) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Retry ¶
type Retry struct { Attempts int `json:"attempts,omitempty"` TimeoutMillis int `json:"timeoutMillis,omitempty"` }
func (*Retry) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Retry.
func (*Retry) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Rewrite ¶
func (*Rewrite) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Rewrite.
func (*Rewrite) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSet ¶
type RouteSet struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec RouteSetSpec `json:"spec,omitempty"` }
func (*RouteSet) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSet.
func (*RouteSet) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteSet) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteSetController ¶
type RouteSetController interface { Informer() cache.SharedIndexInformer Lister() RouteSetLister AddHandler(name string, handler RouteSetHandlerFunc) AddClusterScopedHandler(name, clusterName string, handler RouteSetHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type RouteSetHandlerFunc ¶
func NewRouteSetLifecycleAdapter ¶
func NewRouteSetLifecycleAdapter(name string, clusterScoped bool, client RouteSetInterface, l RouteSetLifecycle) RouteSetHandlerFunc
type RouteSetInterface ¶
type RouteSetInterface interface { ObjectClient() *objectclient.ObjectClient Create(*RouteSet) (*RouteSet, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*RouteSet, error) Get(name string, opts metav1.GetOptions) (*RouteSet, error) Update(*RouteSet) (*RouteSet, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*RouteSetList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() RouteSetController AddHandler(name string, sync RouteSetHandlerFunc) AddLifecycle(name string, lifecycle RouteSetLifecycle) AddClusterScopedHandler(name, clusterName string, sync RouteSetHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle RouteSetLifecycle) }
type RouteSetLifecycle ¶
type RouteSetList ¶
type RouteSetList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []RouteSet }
func (*RouteSetList) DeepCopy ¶
func (in *RouteSetList) DeepCopy() *RouteSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSetList.
func (*RouteSetList) DeepCopyInto ¶
func (in *RouteSetList) DeepCopyInto(out *RouteSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RouteSetList) DeepCopyObject ¶
func (in *RouteSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RouteSetLister ¶
type RouteSetSpec ¶
type RouteSetSpec struct { Routes []RouteSpec `json:"routes,omitempty"` StackScoped }
func (*RouteSetSpec) DeepCopy ¶
func (in *RouteSetSpec) DeepCopy() *RouteSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSetSpec.
func (*RouteSetSpec) DeepCopyInto ¶
func (in *RouteSetSpec) DeepCopyInto(out *RouteSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteSetsGetter ¶
type RouteSetsGetter interface {
RouteSets(namespace string) RouteSetInterface
}
type RouteSpec ¶
type RouteSpec struct { Matches []Match `json:"matches,omitempty"` To []WeightedDestination `json:"to,omitempty"` Redirect Redirect `json:"redirect,omitempty"` Rewrite Rewrite `json:"rewrite,omitempty"` Websocket bool `json:"websocket,omitempty"` AddHeaders []string `json:"addHeaders,omitempty"` RouteTraffic }
func (*RouteSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteSpec.
func (*RouteSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RouteTraffic ¶
type RouteTraffic struct { Fault Fault `json:"fault,omitempty"` Mirror Destination `json:"mirror,omitempty"` TimeoutMillis int `json:"timeoutMillis,omitempty"` Retry Retry `json:"retry,omitempty"` }
func (*RouteTraffic) DeepCopy ¶
func (in *RouteTraffic) DeepCopy() *RouteTraffic
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RouteTraffic.
func (*RouteTraffic) DeepCopyInto ¶
func (in *RouteTraffic) DeepCopyInto(out *RouteTraffic)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ScaleStatus ¶
type ScaleStatus struct { Ready int `json:"ready,omitempty"` Available int `json:"available,omitempty"` Updated int `json:"updated,omitempty"` }
func (*ScaleStatus) DeepCopy ¶
func (in *ScaleStatus) DeepCopy() *ScaleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleStatus.
func (*ScaleStatus) DeepCopyInto ¶
func (in *ScaleStatus) DeepCopyInto(out *ScaleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Scheduling ¶
type Scheduling struct { Node NodeScheduling `json:"node,omitempty"` Scheduler string `json:"scheduler,omitempty"` }
func (*Scheduling) DeepCopy ¶
func (in *Scheduling) DeepCopy() *Scheduling
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Scheduling.
func (*Scheduling) DeepCopyInto ¶
func (in *Scheduling) DeepCopyInto(out *Scheduling)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Scheduling) ToNodeAffinity ¶
func (s Scheduling) ToNodeAffinity() (*v1.NodeAffinity, error)
type SecretMapping ¶
type SecretMapping struct { Source string `json:"source,omitempty" norman:"required"` Target string `json:"target,omitempty"` Mode string `json:"mode,omitempty"` }
func (*SecretMapping) DeepCopy ¶
func (in *SecretMapping) DeepCopy() *SecretMapping
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretMapping.
func (*SecretMapping) DeepCopyInto ¶
func (in *SecretMapping) DeepCopyInto(out *SecretMapping)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SecretMapping) MaybeString ¶
func (s SecretMapping) MaybeString() interface{}
type Service ¶
type Service struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceSpec `json:"spec,omitempty"` Status ServiceStatus `json:"status,omitempty"` }
func (*Service) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Service.
func (*Service) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Service) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceController ¶
type ServiceController interface { Informer() cache.SharedIndexInformer Lister() ServiceLister AddHandler(name string, handler ServiceHandlerFunc) AddClusterScopedHandler(name, clusterName string, handler ServiceHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ServiceHandlerFunc ¶
func NewServiceLifecycleAdapter ¶
func NewServiceLifecycleAdapter(name string, clusterScoped bool, client ServiceInterface, l ServiceLifecycle) ServiceHandlerFunc
type ServiceInterface ¶
type ServiceInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Service) (*Service, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Service, error) Get(name string, opts metav1.GetOptions) (*Service, error) Update(*Service) (*Service, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ServiceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ServiceController AddHandler(name string, sync ServiceHandlerFunc) AddLifecycle(name string, lifecycle ServiceLifecycle) AddClusterScopedHandler(name, clusterName string, sync ServiceHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle ServiceLifecycle) }
type ServiceLifecycle ¶
type ServiceList ¶
type ServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Service }
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceLister ¶
type ServiceRevision ¶
type ServiceRevision struct { Spec ServiceUnversionedSpec `json:"spec,omitempty"` Weight int `json:"weight,omitempty"` Promote bool `json:"promote,omitempty"` Status ServiceStatus `json:"status,omitempty"` }
func (*ServiceRevision) DeepCopy ¶
func (in *ServiceRevision) DeepCopy() *ServiceRevision
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceRevision.
func (*ServiceRevision) DeepCopyInto ¶
func (in *ServiceRevision) DeepCopyInto(out *ServiceRevision)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceSource ¶
type ServiceSource struct { Service string `json:"service,omitempty"` Stack string `json:"stack,omitempty"` Revision string `json:"revision,omitempty"` }
func (*ServiceSource) DeepCopy ¶
func (in *ServiceSource) DeepCopy() *ServiceSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSource.
func (*ServiceSource) DeepCopyInto ¶
func (in *ServiceSource) DeepCopyInto(out *ServiceSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (ServiceSource) String ¶
func (s ServiceSource) String() string
type ServiceSpec ¶
type ServiceSpec struct { ServiceUnversionedSpec StackScoped Revisions map[string]ServiceRevision `json:"revisions,omitempty"` }
func (*ServiceSpec) DeepCopy ¶
func (in *ServiceSpec) DeepCopy() *ServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceSpec.
func (*ServiceSpec) DeepCopyInto ¶
func (in *ServiceSpec) DeepCopyInto(out *ServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceStatus ¶
type ServiceStatus struct { DeploymentStatus *v1beta2.DeploymentStatus `json:"deploymentStatus,omitempty"` ScaleStatus *ScaleStatus `json:"scaleStatus,omitempty"` Conditions []Condition `json:"conditions,omitempty"` }
func (*ServiceStatus) DeepCopy ¶
func (in *ServiceStatus) DeepCopy() *ServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceStatus.
func (*ServiceStatus) DeepCopyInto ¶
func (in *ServiceStatus) DeepCopyInto(out *ServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceUnversionedSpec ¶
type ServiceUnversionedSpec struct { Labels map[string]string `json:"labels,omitempty"` Metadata map[string]string `json:"metadata,omitempty"` //alias annotations Scale int `json:"scale"` BatchSize int `json:"batchSize,omitempty"` UpdateOrder string `json:"updateOrder,omitempty" norman:"type=enum,options=start-first|stop-first"` UpdateStrategy string `json:"updateStrategy,omitempty" norman:"type=enum,options=rolling|on-delete,default=rolling"` DeploymentStrategy string `json:"deploymentStrategy,omitempty" norman:"type=enum,options=parallel|ordered,default=parallel"` PodConfig PrivilegedConfig Sidekicks map[string]SidekickConfig `json:"sidekicks,omitempty"` ContainerConfig }
func (*ServiceUnversionedSpec) DeepCopy ¶
func (in *ServiceUnversionedSpec) DeepCopy() *ServiceUnversionedSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceUnversionedSpec.
func (*ServiceUnversionedSpec) DeepCopyInto ¶
func (in *ServiceUnversionedSpec) DeepCopyInto(out *ServiceUnversionedSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
type SidekickConfig ¶
type SidekickConfig struct { InitContainer bool `json:"initContainer,omitempty"` ContainerConfig }
func (*SidekickConfig) DeepCopy ¶
func (in *SidekickConfig) DeepCopy() *SidekickConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidekickConfig.
func (*SidekickConfig) DeepCopyInto ¶
func (in *SidekickConfig) DeepCopyInto(out *SidekickConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Stack ¶
type Stack struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StackSpec `json:"spec"` Status StackStatus `json:"status"` }
func (*Stack) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stack.
func (*Stack) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stack) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackController ¶
type StackController interface { Informer() cache.SharedIndexInformer Lister() StackLister AddHandler(name string, handler StackHandlerFunc) AddClusterScopedHandler(name, clusterName string, handler StackHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type StackHandlerFunc ¶
func NewStackLifecycleAdapter ¶
func NewStackLifecycleAdapter(name string, clusterScoped bool, client StackInterface, l StackLifecycle) StackHandlerFunc
type StackInterface ¶
type StackInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Stack) (*Stack, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Stack, error) Get(name string, opts metav1.GetOptions) (*Stack, error) Update(*Stack) (*Stack, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*StackList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() StackController AddHandler(name string, sync StackHandlerFunc) AddLifecycle(name string, lifecycle StackLifecycle) AddClusterScopedHandler(name, clusterName string, sync StackHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle StackLifecycle) }
type StackLifecycle ¶
type StackList ¶
type StackList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Stack }
func (*StackList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackList.
func (*StackList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackLister ¶
type StackScoped ¶
type StackScoped struct { StackName string `json:"stackName,omitempty" norman:"type=reference[stack],required,noupdate"` SpaceName string `json:"spaceName,omitempty" norman:"type=reference[/v1beta1-rio/schemas/space],noupdate"` }
func (*StackScoped) DeepCopy ¶
func (in *StackScoped) DeepCopy() *StackScoped
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackScoped.
func (*StackScoped) DeepCopyInto ¶
func (in *StackScoped) DeepCopyInto(out *StackScoped)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackSpec ¶
type StackSpec struct { Description string `json:"description,omitempty"` Template string `json:"template,omitempty"` AdditionalFiles map[string]string `json:"additionalFiles,omitempty"` Answers map[string]string `json:"answers,omitempty"` Questions []v3.Question `json:"questions,omitempty"` DisableMesh bool `json:"disableMesh,omitempty"` EnableKubernetesResources bool `json:"enableKubernetesResources,omitempty"` }
func (*StackSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackSpec.
func (*StackSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackStatus ¶
type StackStatus struct {
Conditions []Condition `json:"conditions,omitempty"`
}
func (*StackStatus) DeepCopy ¶
func (in *StackStatus) DeepCopy() *StackStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackStatus.
func (*StackStatus) DeepCopyInto ¶
func (in *StackStatus) DeepCopyInto(out *StackStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StacksGetter ¶
type StacksGetter interface {
Stacks(namespace string) StackInterface
}
type StringMatch ¶
type StringMatch struct { Exact string `json:"exact,omitempty"` Prefix string `json:"prefix,omitempty"` Regexp string `json:"regexp,omitempty"` }
func (*StringMatch) DeepCopy ¶
func (in *StringMatch) DeepCopy() *StringMatch
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StringMatch.
func (*StringMatch) DeepCopyInto ¶
func (in *StringMatch) DeepCopyInto(out *StringMatch)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (StringMatch) String ¶
func (s StringMatch) String() string
type Tmpfs ¶
type Tmpfs struct { SizeBytes int64 `json:"sizeBytes,omitempty"` ReadOnly bool `json:"readOnly,omitempty"` Path string `json:"path,omitempty" norman:"required"` }
Tmpfs defines options specific to mounts of type "tmpfs".
func (*Tmpfs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tmpfs.
func (*Tmpfs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Tmpfs) MaybeString ¶
func (t Tmpfs) MaybeString() interface{}
type Volume ¶
type Volume struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VolumeSpec `json:"spec,omitempty"` Status VolumeStatus `json:"status,omitempty"` }
func (*Volume) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Volume.
func (*Volume) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Volume) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeController ¶
type VolumeController interface { Informer() cache.SharedIndexInformer Lister() VolumeLister AddHandler(name string, handler VolumeHandlerFunc) AddClusterScopedHandler(name, clusterName string, handler VolumeHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type VolumeHandlerFunc ¶
func NewVolumeLifecycleAdapter ¶
func NewVolumeLifecycleAdapter(name string, clusterScoped bool, client VolumeInterface, l VolumeLifecycle) VolumeHandlerFunc
type VolumeInterface ¶
type VolumeInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Volume) (*Volume, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Volume, error) Get(name string, opts metav1.GetOptions) (*Volume, error) Update(*Volume) (*Volume, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*VolumeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() VolumeController AddHandler(name string, sync VolumeHandlerFunc) AddLifecycle(name string, lifecycle VolumeLifecycle) AddClusterScopedHandler(name, clusterName string, sync VolumeHandlerFunc) AddClusterScopedLifecycle(name, clusterName string, lifecycle VolumeLifecycle) }
type VolumeLifecycle ¶
type VolumeList ¶
type VolumeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Volume }
func (*VolumeList) DeepCopy ¶
func (in *VolumeList) DeepCopy() *VolumeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeList.
func (*VolumeList) DeepCopyInto ¶
func (in *VolumeList) DeepCopyInto(out *VolumeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VolumeList) DeepCopyObject ¶
func (in *VolumeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VolumeLister ¶
type VolumeOptions ¶
type VolumeOptions struct { NoCopy bool `json:"noCopy,omitempty"` Driver string `json:"driver,omitempty"` SizeInGB int `json:"sizeInGb,omitempty"` SubPath string `json:"subPath,omitempty"` }
VolumeOptions represents the options for a mount of type volume.
func (*VolumeOptions) DeepCopy ¶
func (in *VolumeOptions) DeepCopy() *VolumeOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeOptions.
func (*VolumeOptions) DeepCopyInto ¶
func (in *VolumeOptions) DeepCopyInto(out *VolumeOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeSpec ¶
type VolumeSpec struct { Description string `json:"description,omitempty"` Driver string `json:"driver,omitempty"` Template bool `json:"template,omitempty,noupdate"` SizeInGB int `json:"sizeInGb,omitempty,required"` AccessMode string `json:"accessMode,omitempty" norman:"type=enum,options=readWriteOnce|readOnlyMany|readWriteMany,default=readWriteOnce"` StackScoped }
func (*VolumeSpec) DeepCopy ¶
func (in *VolumeSpec) DeepCopy() *VolumeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeSpec.
func (*VolumeSpec) DeepCopyInto ¶
func (in *VolumeSpec) DeepCopyInto(out *VolumeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumeStatus ¶
type VolumeStatus struct { PVCStatus *v1.PersistentVolumeClaimStatus `json:"pvcStatus,omitempty"` Conditions []Condition `json:"conditions,omitempty"` }
func (*VolumeStatus) DeepCopy ¶
func (in *VolumeStatus) DeepCopy() *VolumeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VolumeStatus.
func (*VolumeStatus) DeepCopyInto ¶
func (in *VolumeStatus) DeepCopyInto(out *VolumeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VolumesGetter ¶
type VolumesGetter interface {
Volumes(namespace string) VolumeInterface
}
type WeightedDestination ¶
type WeightedDestination struct { Destination Weight int64 `json:"weight,omitempty"` }
func (*WeightedDestination) DeepCopy ¶
func (in *WeightedDestination) DeepCopy() *WeightedDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WeightedDestination.
func (*WeightedDestination) DeepCopyInto ¶
func (in *WeightedDestination) DeepCopyInto(out *WeightedDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (WeightedDestination) String ¶
func (w WeightedDestination) String() string
Source Files ¶
- auth.go
- condition.go
- config.go
- kubernetes.go
- mount.go
- route.go
- service.go
- stack.go
- volume.go
- zz_generated_config_controller.go
- zz_generated_config_lifecycle_adapter.go
- zz_generated_deepcopy.go
- zz_generated_k8s_client.go
- zz_generated_route_set_controller.go
- zz_generated_route_set_lifecycle_adapter.go
- zz_generated_scheme.go
- zz_generated_service_controller.go
- zz_generated_service_lifecycle_adapter.go
- zz_generated_stack_controller.go
- zz_generated_stack_lifecycle_adapter.go
- zz_generated_volume_controller.go
- zz_generated_volume_lifecycle_adapter.go