Documentation ¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func RegisterDefaults(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type CoredumpEndpoint
- func (in *CoredumpEndpoint) DeepCopy() *CoredumpEndpoint
- func (in *CoredumpEndpoint) DeepCopyInto(out *CoredumpEndpoint)
- func (in *CoredumpEndpoint) DeepCopyObject() runtime.Object
- func (pc CoredumpEndpoint) GetGeneration() int64
- func (pc *CoredumpEndpoint) GetObjectMeta() *metav1.ObjectMeta
- func (pc *CoredumpEndpoint) GetSpec() interface{}
- func (pc *CoredumpEndpoint) GetStatus() interface{}
- func (CoredumpEndpoint) NewStatus() interface{}
- func (pc *CoredumpEndpoint) SetGeneration(generation int64)
- func (pc *CoredumpEndpoint) SetSpec(s interface{})
- func (pc *CoredumpEndpoint) SetStatus(s interface{})
- type CoredumpEndpointDump
- type CoredumpEndpointDumpList
- type CoredumpEndpointDumpREST
- type CoredumpEndpointList
- type CoredumpEndpointRegistry
- type CoredumpEndpointSpec
- type CoredumpEndpointStatus
- type CoredumpEndpointStatusStrategy
- type CoredumpEndpointStrategy
- type CoredumpGetOptions
Constants ¶
This section is empty.
Variables ¶
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 ¶
Required by code generated by go2idl Kind takes an unqualified kind and returns a Group qualified GroupKind
func RegisterDefaults ¶
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 ¶
func (in *CoredumpEndpointDump) DeepCopy() *CoredumpEndpointDump
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 ¶
func (in *CoredumpEndpointDumpList) DeepCopy() *CoredumpEndpointDumpList
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 ¶
func (r *CoredumpEndpointDumpREST) Get(ctx context.Context, name string, opts runtime.Object) (runtime.Object, error)
Get retrieves the object from the storage. It is required to support Patch.
func (*CoredumpEndpointDumpREST) New ¶
func (r *CoredumpEndpointDumpREST) New() runtime.Object
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 ¶
func (in *CoredumpEndpointList) DeepCopy() *CoredumpEndpointList
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 ¶
func (*CoredumpEndpointSpec) DeepCopy ¶
func (in *CoredumpEndpointSpec) DeepCopy() *CoredumpEndpointSpec
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 ¶
func (in *CoredumpEndpointStatus) DeepCopy() *CoredumpEndpointStatus
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
type CoredumpGetOptions ¶
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.
Source Files ¶
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. |