Documentation ¶
Index ¶
- Constants
- Variables
- type Agent
- type AgentCopy
- type AgentList
- type AgentListCopy
- type AgentSpec
- type AgentsClient
- func (c *AgentsClient) Create(agent *Agent) (result *Agent, err error)
- func (c *AgentsClient) Delete(name string, options *api.DeleteOptions) error
- func (c *AgentsClient) Get(name string) (result *Agent, err error)
- func (c *AgentsClient) List(opts api.ListOptions) (result *AgentList, err error)
- func (c *AgentsClient) Update(agent *Agent) (result *Agent, err error)
- func (c *AgentsClient) Watch(opts api.ListOptions) (watch.Interface, error)
- type AgentsInterface
- type Clientset
- type WrappedClientset
Constants ¶
View Source
const ( GroupName string = "network-checker.ext" Version string = "v1" )
Variables ¶
View Source
var ( SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version} SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) )
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { meta_v1.TypeMeta `json:",inline"` Metadata meta_v1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Spec AgentSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"` }
func (*Agent) GetObjectKind ¶
func (e *Agent) GetObjectKind() schema.ObjectKind
func (*Agent) GetObjectMeta ¶
func (*Agent) UnmarshalJSON ¶
type AgentList ¶
type AgentList struct { meta_v1.TypeMeta `json:",inline"` Metadata meta_v1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"` Items []Agent `json:"items" protobuf:"bytes,2,rep,name=items"` }
func (*AgentList) GetListMeta ¶
func (*AgentList) GetObjectKind ¶
func (el *AgentList) GetObjectKind() schema.ObjectKind
func (*AgentList) UnmarshalJSON ¶
type AgentListCopy ¶
type AgentListCopy AgentList
type AgentsClient ¶
type AgentsClient struct {
// contains filtered or unexported fields
}
AgentsClient structure
func (*AgentsClient) Create ¶
func (c *AgentsClient) Create(agent *Agent) (result *Agent, err error)
Create agent function
func (*AgentsClient) Delete ¶
func (c *AgentsClient) Delete(name string, options *api.DeleteOptions) error
Delete agent function
func (*AgentsClient) Get ¶
func (c *AgentsClient) Get(name string) (result *Agent, err error)
Get agent function
func (*AgentsClient) List ¶
func (c *AgentsClient) List(opts api.ListOptions) (result *AgentList, err error)
List agents function
func (*AgentsClient) Update ¶
func (c *AgentsClient) Update(agent *Agent) (result *Agent, err error)
Update agents function
func (*AgentsClient) Watch ¶
func (c *AgentsClient) Watch(opts api.ListOptions) (watch.Interface, error)
Watch agents function
type AgentsInterface ¶
type AgentsInterface interface { Create(*Agent) (*Agent, error) Get(name string) (*Agent, error) List(api.ListOptions) (*AgentList, error) Watch(api.ListOptions) (watch.Interface, error) Update(*Agent) (*Agent, error) Delete(string, *api.DeleteOptions) error }
AgentsInterface interface
type WrappedClientset ¶
type WrappedClientset struct {
Client *rest.RESTClient
}
WrappedClientset structure
func WrapClientsetWithExtensions ¶
func WrapClientsetWithExtensions(clientset *kubernetes.Clientset, config *rest.Config) (*WrappedClientset, error)
WrapClientsetWithExtensions function
func (*WrappedClientset) Agents ¶
func (w *WrappedClientset) Agents() AgentsInterface
Agents function
Click to show internal directories.
Click to hide internal directories.