Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cache v1 API group +k8s:deepcopy-gen=package,register +groupName=cagip.github.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{
Group: "ca-gip.github.com",
Version: "v1",
}
Define your schema name and the version
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type EgressType ¶
type EgressType struct { Ports []int `json:"ports,omitempty"` Cidrs []string `json:"cidrs,omitempty"` }
func (*EgressType) DeepCopy ¶
func (in *EgressType) DeepCopy() *EgressType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EgressType.
func (*EgressType) DeepCopyInto ¶
func (in *EgressType) DeepCopyInto(out *EgressType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IngressType ¶
type IngressType struct {
Namespaces []string `json:"namespaces,omitempty"`
}
func (*IngressType) DeepCopy ¶
func (in *IngressType) DeepCopy() *IngressType
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IngressType.
func (*IngressType) DeepCopyInto ¶
func (in *IngressType) DeepCopyInto(out *IngressType)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyConfig ¶
type NetworkPolicyConfig struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status NetworkPolicyConfigSpecStatus `json:"status,omitempty"` // This is where you can define // your own custom spec Spec NetworkPolicyConfigSpec `json:"spec,omitempty"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*NetworkPolicyConfig) DeepCopy ¶
func (in *NetworkPolicyConfig) DeepCopy() *NetworkPolicyConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyConfig.
func (*NetworkPolicyConfig) DeepCopyInto ¶
func (in *NetworkPolicyConfig) DeepCopyInto(out *NetworkPolicyConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyConfig) DeepCopyObject ¶
func (in *NetworkPolicyConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPolicyConfigList ¶
type NetworkPolicyConfigList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `son:"metadata,omitempty"` Items []NetworkPolicyConfig `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*NetworkPolicyConfigList) DeepCopy ¶
func (in *NetworkPolicyConfigList) DeepCopy() *NetworkPolicyConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyConfigList.
func (*NetworkPolicyConfigList) DeepCopyInto ¶
func (in *NetworkPolicyConfigList) DeepCopyInto(out *NetworkPolicyConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NetworkPolicyConfigList) DeepCopyObject ¶
func (in *NetworkPolicyConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NetworkPolicyConfigSpec ¶
type NetworkPolicyConfigSpec struct { Egress EgressType `json:"egress,omitempty"` Ingress IngressType `json:"ingress,omitempty"` }
custom spec
func (*NetworkPolicyConfigSpec) DeepCopy ¶
func (in *NetworkPolicyConfigSpec) DeepCopy() *NetworkPolicyConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyConfigSpec.
func (*NetworkPolicyConfigSpec) DeepCopyInto ¶
func (in *NetworkPolicyConfigSpec) DeepCopyInto(out *NetworkPolicyConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkPolicyConfigSpecStatus ¶
type NetworkPolicyConfigSpecStatus struct {
Name string
}
custom status
func (*NetworkPolicyConfigSpecStatus) DeepCopy ¶
func (in *NetworkPolicyConfigSpecStatus) DeepCopy() *NetworkPolicyConfigSpecStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkPolicyConfigSpecStatus.
func (*NetworkPolicyConfigSpecStatus) DeepCopyInto ¶
func (in *NetworkPolicyConfigSpecStatus) DeepCopyInto(out *NetworkPolicyConfigSpecStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Project ¶
type Project struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Status ProjectSpecStatus `json:"status,omitempty"` // This is where you can define // your own custom spec Spec ProjectSpec `json:"spec,omitempty"` }
+genclient +genclient:nonNamespaced +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*Project) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Project.
func (*Project) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Project) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectList ¶
type ProjectList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `son:"metadata,omitempty"` Items []Project `json:"items"` }
+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object no client needed for list as it's been created in above
func (*ProjectList) DeepCopy ¶
func (in *ProjectList) DeepCopy() *ProjectList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectList.
func (*ProjectList) DeepCopyInto ¶
func (in *ProjectList) DeepCopyInto(out *ProjectList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProjectList) DeepCopyObject ¶
func (in *ProjectList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ProjectSpec ¶
type ProjectSpec struct { Tenant string `json:"tenant,omitempty"` Environment string `json:"environment,omitempty"` Project string `json:"project,omitempty"` SourceEntity string `json:"sourceEntity,omitempty"` Stages []string `json:"stages,omitempty"` }
func (*ProjectSpec) DeepCopy ¶
func (in *ProjectSpec) DeepCopy() *ProjectSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpec.
func (*ProjectSpec) DeepCopyInto ¶
func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProjectSpecStatus ¶
type ProjectSpecStatus struct {
Name string
}
func (*ProjectSpecStatus) DeepCopy ¶
func (in *ProjectSpecStatus) DeepCopy() *ProjectSpecStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProjectSpecStatus.
func (*ProjectSpecStatus) DeepCopyInto ¶
func (in *ProjectSpecStatus) DeepCopyInto(out *ProjectSpecStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.