v1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+groupName=squash.solo.io

Index

Constants

View Source
const (
	CRDAttachmentsPlural   = "debugattachments"
	CRDRequestsPlural      = "debugrequests"
	CRDGroup               = "squash.solo.io"
	CRDVersion             = "v1"
	CRDAttachmentsFullName = CRDAttachmentsPlural + "." + CRDGroup
	CRDRequestsFullName    = CRDRequestsPlural + "." + CRDGroup
)

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: squash.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 DebugAttachment

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

	// spec
	// Required: true
	Spec *DebugAttachmentSpec `json:"spec"`

	// status
	Status *DebugAttachmentStatus `json:"status,omitempty"`
}

func (*DebugAttachment) DeepCopy

func (in *DebugAttachment) DeepCopy() *DebugAttachment

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

func (*DebugAttachment) DeepCopyInto

func (in *DebugAttachment) DeepCopyInto(out *DebugAttachment)

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

func (*DebugAttachment) DeepCopyObject

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

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

type DebugAttachmentList

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

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

func (*DebugAttachmentList) DeepCopy

func (in *DebugAttachmentList) DeepCopy() *DebugAttachmentList

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

func (*DebugAttachmentList) DeepCopyInto

func (in *DebugAttachmentList) DeepCopyInto(out *DebugAttachmentList)

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

func (*DebugAttachmentList) DeepCopyObject

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

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

type DebugAttachmentSpec

type DebugAttachmentSpec struct {

	// attachment
	// Required: true
	Attachment *KubeAttachment `json:"attachment"`

	// debugger
	Debugger string `json:"debugger,omitempty"`

	// image
	Image string `json:"image,omitempty"`

	// If true, this attachment must match a pending debug request.
	MatchRequest bool `json:"match_request,omitempty"`

	// node
	Node string `json:"node,omitempty"`

	// process name
	ProcessName string `json:"process_name,omitempty"`
}

func (*DebugAttachmentSpec) DeepCopy

func (in *DebugAttachmentSpec) DeepCopy() *DebugAttachmentSpec

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

func (*DebugAttachmentSpec) DeepCopyInto

func (in *DebugAttachmentSpec) DeepCopyInto(out *DebugAttachmentSpec)

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

type DebugAttachmentStatus

type DebugAttachmentStatus struct {

	// debug server address
	DebugServerAddress string `json:"debug_server_address,omitempty"`

	// state
	State string `json:"state,omitempty"`
}

func (*DebugAttachmentStatus) DeepCopy

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

func (*DebugAttachmentStatus) DeepCopyInto

func (in *DebugAttachmentStatus) DeepCopyInto(out *DebugAttachmentStatus)

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

type DebugRequest

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

	// spec
	// Required: true
	Spec *DebugRequestSpec `json:"spec"`

	// status
	Status *DebugRequestStatus `json:"status,omitempty"`
}

func (*DebugRequest) DeepCopy

func (in *DebugRequest) DeepCopy() *DebugRequest

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

func (*DebugRequest) DeepCopyInto

func (in *DebugRequest) DeepCopyInto(out *DebugRequest)

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

func (*DebugRequest) DeepCopyObject

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

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

type DebugRequestList

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

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

func (*DebugRequestList) DeepCopy

func (in *DebugRequestList) DeepCopy() *DebugRequestList

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

func (*DebugRequestList) DeepCopyInto

func (in *DebugRequestList) DeepCopyInto(out *DebugRequestList)

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

func (*DebugRequestList) DeepCopyObject

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

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

type DebugRequestSpec

type DebugRequestSpec struct {

	// debugger
	// Required: true
	Debugger *string `json:"debugger"`

	// image
	// Required: true
	Image *string `json:"image"`

	// process name
	ProcessName string `json:"process_name,omitempty"`
}

func (*DebugRequestSpec) DeepCopy

func (in *DebugRequestSpec) DeepCopy() *DebugRequestSpec

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

func (*DebugRequestSpec) DeepCopyInto

func (in *DebugRequestSpec) DeepCopyInto(out *DebugRequestSpec)

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

type DebugRequestStatus

type DebugRequestStatus struct {

	// debug attachment ref
	DebugAttachmentRef string `json:"debug_attachment_ref,omitempty"`
}

func (*DebugRequestStatus) DeepCopy

func (in *DebugRequestStatus) DeepCopy() *DebugRequestStatus

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

func (*DebugRequestStatus) DeepCopyInto

func (in *DebugRequestStatus) DeepCopyInto(out *DebugRequestStatus)

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

type KubeAttachment

type KubeAttachment struct {
	Namespace string `json:"namespace"`
	Pod       string `json:"pod"`
	Container string `json:"container"`
}

func (*KubeAttachment) DeepCopy

func (in *KubeAttachment) DeepCopy() *KubeAttachment

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

func (*KubeAttachment) DeepCopyInto

func (in *KubeAttachment) DeepCopyInto(out *KubeAttachment)

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