- Activate / Deactivate via flox activate --detach (with graceful SIGTERM→SIGKILL) - Non-privileged IsAlive process check with Linux /proc fallback - Dev-mode stub when flox is missing or FLOXENV_DEV_MODE=1 - Unit and integration tests Closes #16
1048 lines
24 KiB
Go
1048 lines
24 KiB
Go
//go:build !ignore_autogenerated
|
|
// +build !ignore_autogenerated
|
|
|
|
// kubeclaw — OpenClaw operator for Kubernetes
|
|
// Copyright © 2026 Scott Scoble / Greybeard Holdings, LLC
|
|
|
|
// Code generated by controller-gen. DO NOT EDIT.
|
|
|
|
package v1alpha1
|
|
|
|
import (
|
|
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
|
runtime "k8s.io/apimachinery/pkg/runtime"
|
|
)
|
|
|
|
// DeepCopyInto copies all pointer and value fields into the receiver.
|
|
func (in *Agent) DeepCopyInto(out *Agent) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
in.Status.DeepCopyInto(&out.Status)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *Agent) DeepCopy() *Agent {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Agent)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *Agent) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields into the receiver.
|
|
func (in *AgentConfig) DeepCopyInto(out *AgentConfig) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentConfig) DeepCopy() *AgentConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *AgentConfig) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentConfigList) DeepCopyInto(out *AgentConfigList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]AgentConfig, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentConfigList) DeepCopy() *AgentConfigList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentConfigList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *AgentConfigList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentConfigRef) DeepCopyInto(out *AgentConfigRef) {
|
|
*out = *in
|
|
in.AgentConfigRef.DeepCopyInto(&out.AgentConfigRef)
|
|
if in.Overrides != nil {
|
|
in, out := &in.Overrides, &out.Overrides
|
|
*out = new(ResourceSpec)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentConfigRef) DeepCopy() *AgentConfigRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentConfigRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentConfigSpec) DeepCopyInto(out *AgentConfigSpec) {
|
|
*out = *in
|
|
out.Workspace = in.Workspace
|
|
out.Memory = in.Memory
|
|
if in.Skills != nil {
|
|
in, out := &in.Skills, &out.Skills
|
|
*out = make([]SkillRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Sandbox = in.Sandbox
|
|
out.Resources = in.Resources
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentConfigSpec) DeepCopy() *AgentConfigSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentConfigSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroup) DeepCopyInto(out *AgentGroup) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroup) DeepCopy() *AgentGroup {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroup)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *AgentGroup) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroupList) DeepCopyInto(out *AgentGroupList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]AgentGroup, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroupList) DeepCopy() *AgentGroupList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroupList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *AgentGroupList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroupMember) DeepCopyInto(out *AgentGroupMember) {
|
|
*out = *in
|
|
in.Overrides.DeepCopyInto(&out.Overrides)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroupMember) DeepCopy() *AgentGroupMember {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroupMember)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroupOverrides) DeepCopyInto(out *AgentGroupOverrides) {
|
|
*out = *in
|
|
if in.Channels != nil {
|
|
in, out := &in.Channels, &out.Channels
|
|
*out = make([]ChannelRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroupOverrides) DeepCopy() *AgentGroupOverrides {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroupOverrides)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroupSharedConfig) DeepCopyInto(out *AgentGroupSharedConfig) {
|
|
*out = *in
|
|
in.AgentConfigRef.DeepCopyInto(&out.AgentConfigRef)
|
|
if in.Providers != nil {
|
|
in, out := &in.Providers, &out.Providers
|
|
*out = make([]ProviderRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Channels != nil {
|
|
in, out := &in.Channels, &out.Channels
|
|
*out = make([]ChannelRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroupSharedConfig) DeepCopy() *AgentGroupSharedConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroupSharedConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentGroupSpec) DeepCopyInto(out *AgentGroupSpec) {
|
|
*out = *in
|
|
in.SharedConfig.DeepCopyInto(&out.SharedConfig)
|
|
if in.Members != nil {
|
|
in, out := &in.Members, &out.Members
|
|
*out = make([]AgentGroupMember, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentGroupSpec) DeepCopy() *AgentGroupSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentGroupSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentIdentity) DeepCopyInto(out *AgentIdentity) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentIdentity) DeepCopy() *AgentIdentity {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentIdentity)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentList) DeepCopyInto(out *AgentList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Agent, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentList) DeepCopy() *AgentList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *AgentList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentSpec) DeepCopyInto(out *AgentSpec) {
|
|
*out = *in
|
|
out.Identity = in.Identity
|
|
in.Config.DeepCopyInto(&out.Config)
|
|
if in.Providers != nil {
|
|
in, out := &in.Providers, &out.Providers
|
|
*out = make([]ProviderRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.Channels != nil {
|
|
in, out := &in.Channels, &out.Channels
|
|
*out = make([]ChannelRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.WorkflowTemplates != nil {
|
|
in, out := &in.WorkflowTemplates, &out.WorkflowTemplates
|
|
*out = make([]TemplateRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
if in.CompliancePolicies != nil {
|
|
in, out := &in.CompliancePolicies, &out.CompliancePolicies
|
|
*out = make([]PolicyRef, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Judge = in.Judge
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentSpec) DeepCopy() *AgentSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *AgentStatus) DeepCopyInto(out *AgentStatus) {
|
|
*out = *in
|
|
if in.Conditions != nil {
|
|
in, out := &in.Conditions, &out.Conditions
|
|
*out = make([]metav1.Condition, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.AgentPodRef != nil {
|
|
in, out := &in.AgentPodRef, &out.AgentPodRef
|
|
*out = new(LocalRef)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *AgentStatus) DeepCopy() *AgentStatus {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(AgentStatus)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *Channel) DeepCopyInto(out *Channel) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *Channel) DeepCopy() *Channel {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Channel)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *Channel) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ChannelList) DeepCopyInto(out *ChannelList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Channel, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ChannelList) DeepCopy() *ChannelList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ChannelList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *ChannelList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ChannelRef) DeepCopyInto(out *ChannelRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ChannelRef) DeepCopy() *ChannelRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ChannelRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ChannelSpec) DeepCopyInto(out *ChannelSpec) {
|
|
*out = *in
|
|
if in.AllowedChannels != nil {
|
|
in, out := &in.AllowedChannels, &out.AllowedChannels
|
|
*out = make([]string, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ChannelSpec) DeepCopy() *ChannelSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ChannelSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *CompliancePolicy) DeepCopyInto(out *CompliancePolicy) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *CompliancePolicy) DeepCopy() *CompliancePolicy {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CompliancePolicy)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *CompliancePolicy) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *CompliancePolicyList) DeepCopyInto(out *CompliancePolicyList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]CompliancePolicy, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *CompliancePolicyList) DeepCopy() *CompliancePolicyList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CompliancePolicyList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *CompliancePolicyList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *CompliancePolicySpec) DeepCopyInto(out *CompliancePolicySpec) {
|
|
*out = *in
|
|
if in.Rules != nil {
|
|
in, out := &in.Rules, &out.Rules
|
|
*out = make([]ComplianceRule, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
out.Escalation = in.Escalation
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *CompliancePolicySpec) DeepCopy() *CompliancePolicySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(CompliancePolicySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ComplianceRule) DeepCopyInto(out *ComplianceRule) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ComplianceRule) DeepCopy() *ComplianceRule {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ComplianceRule)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *EscalationSpec) DeepCopyInto(out *EscalationSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *EscalationSpec) DeepCopy() *EscalationSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(EscalationSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *JudgeConfig) DeepCopyInto(out *JudgeConfig) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *JudgeConfig) DeepCopy() *JudgeConfig {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(JudgeConfig)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *LocalRef) DeepCopyInto(out *LocalRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *LocalRef) DeepCopy() *LocalRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(LocalRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *MemorySpec) DeepCopyInto(out *MemorySpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *MemorySpec) DeepCopy() *MemorySpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(MemorySpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ModelSpec) DeepCopyInto(out *ModelSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ModelSpec) DeepCopy() *ModelSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ModelSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *PolicyRef) DeepCopyInto(out *PolicyRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *PolicyRef) DeepCopy() *PolicyRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(PolicyRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *Provider) DeepCopyInto(out *Provider) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *Provider) DeepCopy() *Provider {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(Provider)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *Provider) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ProviderList) DeepCopyInto(out *ProviderList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]Provider, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ProviderList) DeepCopy() *ProviderList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProviderList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *ProviderList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ProviderRef) DeepCopyInto(out *ProviderRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ProviderRef) DeepCopy() *ProviderRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProviderRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ProviderSpec) DeepCopyInto(out *ProviderSpec) {
|
|
*out = *in
|
|
if in.Models != nil {
|
|
in, out := &in.Models, &out.Models
|
|
*out = make([]ModelSpec, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ProviderSpec) DeepCopy() *ProviderSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ProviderSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *ResourceSpec) DeepCopy() *ResourceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(ResourceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *SandboxSpec) DeepCopyInto(out *SandboxSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *SandboxSpec) DeepCopy() *SandboxSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SandboxSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *SchemaDef) DeepCopyInto(out *SchemaDef) {
|
|
*out = *in
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = new(SchemaDef)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
if in.Properties != nil {
|
|
in, out := &in.Properties, &out.Properties
|
|
*out = make(map[string]SchemaProp, len(*in))
|
|
for key, val := range *in {
|
|
(*out)[key] = val
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *SchemaDef) DeepCopy() *SchemaDef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SchemaDef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *SchemaProp) DeepCopyInto(out *SchemaProp) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *SchemaProp) DeepCopy() *SchemaProp {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SchemaProp)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *SecretRef) DeepCopyInto(out *SecretRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *SecretRef) DeepCopy() *SecretRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SecretRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *SkillRef) DeepCopyInto(out *SkillRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *SkillRef) DeepCopy() *SkillRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(SkillRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *TemplateRef) DeepCopyInto(out *TemplateRef) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *TemplateRef) DeepCopy() *TemplateRef {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(TemplateRef)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowOutput) DeepCopyInto(out *WorkflowOutput) {
|
|
*out = *in
|
|
if in.Schema != nil {
|
|
in, out := &in.Schema, &out.Schema
|
|
*out = new(SchemaDef)
|
|
(*in).DeepCopyInto(*out)
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowOutput) DeepCopy() *WorkflowOutput {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowOutput)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowParam) DeepCopyInto(out *WorkflowParam) {
|
|
*out = *in
|
|
if in.Minimum != nil {
|
|
in, out := &in.Minimum, &out.Minimum
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
if in.Maximum != nil {
|
|
in, out := &in.Maximum, &out.Maximum
|
|
*out = new(int)
|
|
**out = **in
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowParam) DeepCopy() *WorkflowParam {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowParam)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowStep) DeepCopyInto(out *WorkflowStep) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowStep) DeepCopy() *WorkflowStep {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowStep)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowTemplate) DeepCopyInto(out *WorkflowTemplate) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ObjectMeta.DeepCopyInto(&out.ObjectMeta)
|
|
in.Spec.DeepCopyInto(&out.Spec)
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowTemplate) DeepCopy() *WorkflowTemplate {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowTemplate)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *WorkflowTemplate) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowTemplateList) DeepCopyInto(out *WorkflowTemplateList) {
|
|
*out = *in
|
|
out.TypeMeta = in.TypeMeta
|
|
in.ListMeta.DeepCopyInto(&out.ListMeta)
|
|
if in.Items != nil {
|
|
in, out := &in.Items, &out.Items
|
|
*out = make([]WorkflowTemplate, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowTemplateList) DeepCopy() *WorkflowTemplateList {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowTemplateList)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyObject is a runtime.Object interface implementation.
|
|
func (in *WorkflowTemplateList) DeepCopyObject() runtime.Object {
|
|
if c := in.DeepCopy(); c != nil {
|
|
return c
|
|
}
|
|
return nil
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkflowTemplateSpec) DeepCopyInto(out *WorkflowTemplateSpec) {
|
|
*out = *in
|
|
if in.Parameters != nil {
|
|
in, out := &in.Parameters, &out.Parameters
|
|
*out = make([]WorkflowParam, len(*in))
|
|
for i := range *in {
|
|
(*in)[i].DeepCopyInto(&(*out)[i])
|
|
}
|
|
}
|
|
if in.Steps != nil {
|
|
in, out := &in.Steps, &out.Steps
|
|
*out = make([]WorkflowStep, len(*in))
|
|
copy(*out, *in)
|
|
}
|
|
in.Output.DeepCopyInto(&out.Output)
|
|
out.Compliance = in.Compliance
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkflowTemplateSpec) DeepCopy() *WorkflowTemplateSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkflowTemplateSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|
|
|
|
// DeepCopyInto copies all pointer and value fields.
|
|
func (in *WorkspaceSpec) DeepCopyInto(out *WorkspaceSpec) {
|
|
*out = *in
|
|
}
|
|
|
|
// DeepCopy copies all pointer and value fields.
|
|
func (in *WorkspaceSpec) DeepCopy() *WorkspaceSpec {
|
|
if in == nil {
|
|
return nil
|
|
}
|
|
out := new(WorkspaceSpec)
|
|
in.DeepCopyInto(out)
|
|
return out
|
|
}
|