v1

package
v0.0.0-...-648e9b4 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package +groupName=mesh.oauthd.com

+k8s:deepcopy-gen=package +groupName=mesh.oauthd.com

+k8s:deepcopy-gen=package +groupName=mesh.oauthd.com

Index

Constants

This section is empty.

Variables

View Source
var (
	PendingCondition  = condition.Cond("Pending")
	DeployedCondition = condition.Cond("Deployed")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: mesh.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 App

type App struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AppSpec   `json:"spec,omitempty"`
	Status AppStatus `json:"status,omitempty"`
}

func NewApp

func NewApp(namespace, name string, obj App) *App

func (*App) DeepCopy

func (in *App) DeepCopy() *App

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

func (*App) DeepCopyInto

func (in *App) DeepCopyInto(out *App)

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

func (*App) DeepCopyObject

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

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

type AppList

type AppList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`

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

AppList is a list of App resources

func (*AppList) DeepCopy

func (in *AppList) DeepCopy() *AppList

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

func (*AppList) DeepCopyInto

func (in *AppList) DeepCopyInto(out *AppList)

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

func (*AppList) DeepCopyObject

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

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

type AppSpec

type AppSpec struct {
	Revisions []Revision `json:"revisions,omitempty"`
}

func (*AppSpec) DeepCopy

func (in *AppSpec) DeepCopy() *AppSpec

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

func (*AppSpec) DeepCopyInto

func (in *AppSpec) DeepCopyInto(out *AppSpec)

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

type AppStatus

type AppStatus struct {
	PublicDomains  []string                            `json:"publicDomains,omitempty"`
	Endpoints      []string                            `json:"endpoints,omitempty"`
	Conditions     []genericcondition.GenericCondition `json:"conditions,omitempty"`
	RevisionWeight map[string]ServiceObservedWeight    `json:"revisionWeight,omitempty"`
}

func (*AppStatus) DeepCopy

func (in *AppStatus) DeepCopy() *AppStatus

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

func (*AppStatus) DeepCopyInto

func (in *AppStatus) DeepCopyInto(out *AppStatus)

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

type Revision

type Revision struct {
	Public          bool   `json:"public,omitempty"`
	ServiceName     string `json:"serviceName,omitempty"`
	Version         string `json:"Version,omitempty"`
	AdjustedWeight  int    `json:"adjustedWeight,omitempty"`
	Weight          int    `json:"weight,omitempty"`
	Scale           int    `json:"scale,omitempty"`
	DeploymentReady bool   `json:"deploymentReady,omitempty"`
}

func (*Revision) DeepCopy

func (in *Revision) DeepCopy() *Revision

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

func (*Revision) DeepCopyInto

func (in *Revision) DeepCopyInto(out *Revision)

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

type ServiceObservedWeight

type ServiceObservedWeight struct {
	LastWrite   metav1.Time `json:"lastWrite,omitempty"`
	Weight      int         `json:"weight,omitempty"`
	ServiceName string      `json:"serviceName,omitempty"`
}

func (*ServiceObservedWeight) DeepCopy

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

func (*ServiceObservedWeight) DeepCopyInto

func (in *ServiceObservedWeight) DeepCopyInto(out *ServiceObservedWeight)

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