coredump

package
v0.0.0-...-9685ac1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package api is the internal version of the API.

Index

Constants

This section is empty.

Variables

View Source
var (
	CoredumpCoredumpEndpointStorage = builders.NewApiResource(
		InternalCoredumpEndpoint,
		func() runtime.Object { return &CoredumpEndpoint{} },
		func() runtime.Object { return &CoredumpEndpointList{} },
		&CoredumpEndpointStrategy{builders.StorageStrategySingleton, k8sclient.GetClient().CoreV1()},
	)
	InternalCoredumpEndpoint = builders.NewInternalResource(
		"coredumpendpoints",
		"CoredumpEndpoint",
		func() runtime.Object { return &CoredumpEndpoint{} },
		func() runtime.Object { return &CoredumpEndpointList{} },
	)
	InternalCoredumpEndpointStatus = builders.NewInternalResourceStatus(
		"coredumpendpoints",
		"CoredumpEndpointStatus",
		func() runtime.Object { return &CoredumpEndpoint{} },
		func() runtime.Object { return &CoredumpEndpointList{} },
	)
	InternalCoredumpEndpointDumpREST = builders.NewInternalSubresource(
		"coredumpendpoints", "CoredumpEndpointDump", "dump",
		func() runtime.Object { return &CoredumpEndpointDump{} },
	)
	// Registered resources and subresources
	ApiVersion = builders.NewApiGroup("coredump.fujitsu.com").WithKinds(
		InternalCoredumpEndpoint,
		InternalCoredumpEndpointStatus,
		InternalCoredumpEndpointDumpREST,
	)

	// Required by code generated by go2idl
	AddToScheme = (&runtime.SchemeBuilder{
		ApiVersion.SchemeBuilder.AddToScheme,
		RegisterDefaults,
	}).AddToScheme
	SchemeBuilder = ApiVersion.SchemeBuilder

	SchemeGroupVersion = ApiVersion.GroupVersion
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind

func RegisterDefaults

func RegisterDefaults(scheme *runtime.Scheme) error

RegisterDefaults adds defaulters functions to the given scheme. Public to allow building arbitrary schemes. All generated defaulters are covering - they call all nested defaulters.

func Resource

func Resource(resource string) schema.GroupResource

Required by code generated by go2idl Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type CoredumpEndpoint

type CoredumpEndpoint struct {
	metav1.TypeMeta
	metav1.ObjectMeta
	Spec   CoredumpEndpointSpec
	Status CoredumpEndpointStatus
}

func (*CoredumpEndpoint) DeepCopy

func (in *CoredumpEndpoint) DeepCopy() *CoredumpEndpoint

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

func (*CoredumpEndpoint) DeepCopyInto

func (in *CoredumpEndpoint) DeepCopyInto(out *CoredumpEndpoint)

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

func (*CoredumpEndpoint) DeepCopyObject

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

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

func (CoredumpEndpoint) GetGeneration

func (pc CoredumpEndpoint) GetGeneration() int64

func (*CoredumpEndpoint) GetObjectMeta

func (pc *CoredumpEndpoint) GetObjectMeta() *metav1.ObjectMeta

func (*CoredumpEndpoint) GetSpec

func (pc *CoredumpEndpoint) GetSpec() interface{}

func (*CoredumpEndpoint) GetStatus

func (pc *CoredumpEndpoint) GetStatus() interface{}

func (CoredumpEndpoint) NewStatus

func (CoredumpEndpoint) NewStatus() interface{}

func (*CoredumpEndpoint) SetGeneration

func (pc *CoredumpEndpoint) SetGeneration(generation int64)

func (*CoredumpEndpoint) SetSpec

func (pc *CoredumpEndpoint) SetSpec(s interface{})

func (*CoredumpEndpoint) SetStatus

func (pc *CoredumpEndpoint) SetStatus(s interface{})

type CoredumpEndpointDump

type CoredumpEndpointDump struct {
	metav1.TypeMeta
	metav1.ObjectMeta
}

func (*CoredumpEndpointDump) DeepCopy

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

func (*CoredumpEndpointDump) DeepCopyInto

func (in *CoredumpEndpointDump) DeepCopyInto(out *CoredumpEndpointDump)

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

func (*CoredumpEndpointDump) DeepCopyObject

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

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

type CoredumpEndpointDumpList

type CoredumpEndpointDumpList struct {
	metav1.TypeMeta
	metav1.ListMeta
	Items []CoredumpEndpointDump
}

func (*CoredumpEndpointDumpList) DeepCopy

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

func (*CoredumpEndpointDumpList) DeepCopyInto

func (in *CoredumpEndpointDumpList) DeepCopyInto(out *CoredumpEndpointDumpList)

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

func (*CoredumpEndpointDumpList) DeepCopyObject

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

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

type CoredumpEndpointDumpREST

type CoredumpEndpointDumpREST struct {
	Registry CoredumpEndpointRegistry
}

+k8s:deepcopy-gen=false

func (*CoredumpEndpointDumpREST) Get

Get retrieves the object from the storage. It is required to support Patch.

func (*CoredumpEndpointDumpREST) New

func (*CoredumpEndpointDumpREST) NewGetOptions

func (r *CoredumpEndpointDumpREST) NewGetOptions() (runtime.Object, bool, string)

NewGetOptions creates a new options object

type CoredumpEndpointList

type CoredumpEndpointList struct {
	metav1.TypeMeta
	metav1.ListMeta
	Items []CoredumpEndpoint
}

func (*CoredumpEndpointList) DeepCopy

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

func (*CoredumpEndpointList) DeepCopyInto

func (in *CoredumpEndpointList) DeepCopyInto(out *CoredumpEndpointList)

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

func (*CoredumpEndpointList) DeepCopyObject

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

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

type CoredumpEndpointRegistry

type CoredumpEndpointRegistry interface {
	ListCoredumpEndpoints(ctx context.Context, options *internalversion.ListOptions) (*CoredumpEndpointList, error)
	GetCoredumpEndpoint(ctx context.Context, id string, options *metav1.GetOptions) (*CoredumpEndpoint, error)
	CreateCoredumpEndpoint(ctx context.Context, id *CoredumpEndpoint) (*CoredumpEndpoint, error)
	UpdateCoredumpEndpoint(ctx context.Context, id *CoredumpEndpoint) (*CoredumpEndpoint, error)
	DeleteCoredumpEndpoint(ctx context.Context, id string) (bool, error)
}

Registry is an interface for things that know how to store CoredumpEndpoint. +k8s:deepcopy-gen=false

func NewCoredumpEndpointRegistry

func NewCoredumpEndpointRegistry(sp builders.StandardStorageProvider) CoredumpEndpointRegistry

NewRegistry returns a new Registry interface for the given Storage. Any mismatched types will panic.

type CoredumpEndpointSpec

type CoredumpEndpointSpec struct {
	PodUID  types.UID
	PodName string
}

func (*CoredumpEndpointSpec) DeepCopy

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

func (*CoredumpEndpointSpec) DeepCopyInto

func (in *CoredumpEndpointSpec) DeepCopyInto(out *CoredumpEndpointSpec)

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

type CoredumpEndpointStatus

type CoredumpEndpointStatus struct {
}

func (*CoredumpEndpointStatus) DeepCopy

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

func (*CoredumpEndpointStatus) DeepCopyInto

func (in *CoredumpEndpointStatus) DeepCopyInto(out *CoredumpEndpointStatus)

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

type CoredumpEndpointStatusStrategy

type CoredumpEndpointStatusStrategy struct {
	builders.DefaultStatusStorageStrategy
}

+k8s:deepcopy-gen=false

type CoredumpEndpointStrategy

type CoredumpEndpointStrategy struct {
	builders.DefaultStorageStrategy
	PodClient coreclient.PodsGetter
}

CoredumpEndpoint Functions and Structs

+k8s:deepcopy-gen=false

func (*CoredumpEndpointStrategy) Validate

Validate checks that an instance of CoredumpEndpoint is well formed

type CoredumpGetOptions

type CoredumpGetOptions struct {
	metav1.TypeMeta
	Container string
}

func (*CoredumpGetOptions) DeepCopy

func (in *CoredumpGetOptions) DeepCopy() *CoredumpGetOptions

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

func (*CoredumpGetOptions) DeepCopyInto

func (in *CoredumpGetOptions) DeepCopyInto(out *CoredumpGetOptions)

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

func (*CoredumpGetOptions) DeepCopyObject

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

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

Directories

Path Synopsis
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/fenggw-fnst/coredump-detector/pkg/apis/coredump +k8s:defaulter-gen=TypeMeta +groupName=coredump.fujitsu.com Package v1alpha1 is a generated protocol buffer package.
+k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/fenggw-fnst/coredump-detector/pkg/apis/coredump +k8s:defaulter-gen=TypeMeta +groupName=coredump.fujitsu.com Package v1alpha1 is a generated protocol buffer package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL