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 ¶
var ( PendingCondition = condition.Cond("Pending") DeployedCondition = condition.Cond("Deployed") )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: mesh.GroupName, Version: "v1"}
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 App ¶
type App struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AppSpec `json:"spec,omitempty"` Status AppStatus `json:"status,omitempty"` }
func (*App) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new App.
func (*App) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*App) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppList.
func (*AppList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AppList) DeepCopyObject ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppSpec.
func (*AppSpec) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AppStatus.
func (*AppStatus) DeepCopyInto ¶
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 ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Revision.
func (*Revision) DeepCopyInto ¶
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 ¶
func (in *ServiceObservedWeight) DeepCopy() *ServiceObservedWeight
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.