Documentation
¶
Index ¶
- Constants
- type Client
- type Gateway
- type GatewayClient
- func (c *GatewayClient) ByID(id string) (*Gateway, error)
- func (c *GatewayClient) Create(container *Gateway) (*Gateway, error)
- func (c *GatewayClient) Delete(container *Gateway) error
- func (c *GatewayClient) List(opts *types.ListOpts) (*GatewayCollection, error)
- func (c *GatewayClient) Replace(obj *Gateway) (*Gateway, error)
- func (c *GatewayClient) Update(existing *Gateway, updates interface{}) (*Gateway, error)
- type GatewayCollection
- type GatewayOperations
- type GatewaySpec
- type Initializer
- type Initializers
- type ListMeta
- type ObjectMeta
- type OwnerReference
- type Port
- type Server
- type Status
- type StatusCause
- type StatusDetails
- type VirtualService
- type VirtualServiceClient
- func (c *VirtualServiceClient) ByID(id string) (*VirtualService, error)
- func (c *VirtualServiceClient) Create(container *VirtualService) (*VirtualService, error)
- func (c *VirtualServiceClient) Delete(container *VirtualService) error
- func (c *VirtualServiceClient) List(opts *types.ListOpts) (*VirtualServiceCollection, error)
- func (c *VirtualServiceClient) Replace(obj *VirtualService) (*VirtualService, error)
- func (c *VirtualServiceClient) Update(existing *VirtualService, updates interface{}) (*VirtualService, error)
- type VirtualServiceCollection
- type VirtualServiceOperations
Constants ¶
View Source
const ( GatewayType = "gateway" GatewayFieldCreated = "created" GatewayFieldLabels = "labels" GatewayFieldName = "name" GatewayFieldNamespace = "namespace" GatewayFieldRemoved = "removed" GatewayFieldSelector = "selector" GatewayFieldServers = "servers" GatewayFieldUUID = "uuid" )
View Source
const ( GatewaySpecType = "gatewaySpec" GatewaySpecFieldSelector = "selector" GatewaySpecFieldServers = "servers" )
View Source
const ( InitializerType = "initializer" InitializerFieldName = "name" )
View Source
const ( InitializersType = "initializers" InitializersFieldPending = "pending" InitializersFieldResult = "result" )
View Source
const ( ListMetaType = "listMeta" ListMetaFieldContinue = "continue" ListMetaFieldResourceVersion = "resourceVersion" ListMetaFieldSelfLink = "selfLink" )
View Source
const ( ObjectMetaType = "objectMeta" ObjectMetaFieldAnnotations = "annotations" ObjectMetaFieldCreated = "created" ObjectMetaFieldFinalizers = "finalizers" ObjectMetaFieldLabels = "labels" ObjectMetaFieldName = "name" ObjectMetaFieldNamespace = "namespace" ObjectMetaFieldOwnerReferences = "ownerReferences" ObjectMetaFieldRemoved = "removed" ObjectMetaFieldSelfLink = "selfLink" ObjectMetaFieldUUID = "uuid" )
View Source
const ( OwnerReferenceType = "ownerReference" OwnerReferenceFieldAPIVersion = "apiVersion" OwnerReferenceFieldBlockOwnerDeletion = "blockOwnerDeletion" OwnerReferenceFieldController = "controller" OwnerReferenceFieldKind = "kind" OwnerReferenceFieldName = "name" OwnerReferenceFieldUID = "uid" )
View Source
const ( PortType = "port" PortFieldName = "name" PortFieldNumber = "number" PortFieldProtocol = "protocol" )
View Source
const ( ServerType = "server" ServerFieldHosts = "hosts" ServerFieldPort = "port" )
View Source
const ( StatusType = "status" StatusFieldAPIVersion = "apiVersion" StatusFieldCode = "code" StatusFieldDetails = "details" StatusFieldKind = "kind" StatusFieldListMeta = "metadata" StatusFieldMessage = "message" StatusFieldReason = "reason" StatusFieldStatus = "status" )
View Source
const ( StatusCauseType = "statusCause" StatusCauseFieldField = "field" StatusCauseFieldMessage = "message" StatusCauseFieldType = "reason" )
View Source
const ( StatusDetailsType = "statusDetails" StatusDetailsFieldCauses = "causes" StatusDetailsFieldGroup = "group" StatusDetailsFieldKind = "kind" StatusDetailsFieldName = "name" StatusDetailsFieldRetryAfterSeconds = "retryAfterSeconds" StatusDetailsFieldUID = "uid" )
View Source
const ( VirtualServiceType = "virtualService" VirtualServiceFieldCreated = "created" VirtualServiceFieldLabels = "labels" VirtualServiceFieldName = "name" VirtualServiceFieldNamespace = "namespace" VirtualServiceFieldRemoved = "removed" VirtualServiceFieldUUID = "uuid" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
clientbase.APIBaseClient
}
func NewClient ¶
func NewClient(opts *clientbase.ClientOpts) (*Client, error)
type Gateway ¶
type Gateway struct {
types.Resource
Created string `json:"created,omitempty" yaml:"created,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
Selector map[string]string `json:"selector,omitempty" yaml:"selector,omitempty"`
Servers []Server `json:"servers,omitempty" yaml:"servers,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}
type GatewayClient ¶
type GatewayClient struct {
// contains filtered or unexported fields
}
func (*GatewayClient) ByID ¶
func (c *GatewayClient) ByID(id string) (*Gateway, error)
func (*GatewayClient) Create ¶
func (c *GatewayClient) Create(container *Gateway) (*Gateway, error)
func (*GatewayClient) Delete ¶
func (c *GatewayClient) Delete(container *Gateway) error
func (*GatewayClient) List ¶
func (c *GatewayClient) List(opts *types.ListOpts) (*GatewayCollection, error)
func (*GatewayClient) Replace ¶
func (c *GatewayClient) Replace(obj *Gateway) (*Gateway, error)
func (*GatewayClient) Update ¶
func (c *GatewayClient) Update(existing *Gateway, updates interface{}) (*Gateway, error)
type GatewayCollection ¶
type GatewayCollection struct {
types.Collection
Data []Gateway `json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*GatewayCollection) Next ¶
func (cc *GatewayCollection) Next() (*GatewayCollection, error)
type GatewayOperations ¶
type GatewayOperations interface {
List(opts *types.ListOpts) (*GatewayCollection, error)
Create(opts *Gateway) (*Gateway, error)
Update(existing *Gateway, updates interface{}) (*Gateway, error)
Replace(existing *Gateway) (*Gateway, error)
ByID(id string) (*Gateway, error)
Delete(container *Gateway) error
}
type GatewaySpec ¶
type Initializer ¶
type Initializer struct {
Name string `json:"name,omitempty" yaml:"name,omitempty"`
}
type Initializers ¶
type Initializers struct {
Pending []Initializer `json:"pending,omitempty" yaml:"pending,omitempty"`
Result *Status `json:"result,omitempty" yaml:"result,omitempty"`
}
type ListMeta ¶
type ObjectMeta ¶
type ObjectMeta struct {
Annotations map[string]string `json:"annotations,omitempty" yaml:"annotations,omitempty"`
Created string `json:"created,omitempty" yaml:"created,omitempty"`
Finalizers []string `json:"finalizers,omitempty" yaml:"finalizers,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
OwnerReferences []OwnerReference `json:"ownerReferences,omitempty" yaml:"ownerReferences,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
SelfLink string `json:"selfLink,omitempty" yaml:"selfLink,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}
type OwnerReference ¶
type OwnerReference struct {
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
BlockOwnerDeletion *bool `json:"blockOwnerDeletion,omitempty" yaml:"blockOwnerDeletion,omitempty"`
Controller *bool `json:"controller,omitempty" yaml:"controller,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
UID string `json:"uid,omitempty" yaml:"uid,omitempty"`
}
type Port ¶
type Server ¶
type Status ¶
type Status struct {
APIVersion string `json:"apiVersion,omitempty" yaml:"apiVersion,omitempty"`
Code int64 `json:"code,omitempty" yaml:"code,omitempty"`
Details *StatusDetails `json:"details,omitempty" yaml:"details,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
ListMeta *ListMeta `json:"metadata,omitempty" yaml:"metadata,omitempty"`
Message string `json:"message,omitempty" yaml:"message,omitempty"`
Reason string `json:"reason,omitempty" yaml:"reason,omitempty"`
Status string `json:"status,omitempty" yaml:"status,omitempty"`
}
type StatusCause ¶
type StatusDetails ¶
type StatusDetails struct {
Causes []StatusCause `json:"causes,omitempty" yaml:"causes,omitempty"`
Group string `json:"group,omitempty" yaml:"group,omitempty"`
Kind string `json:"kind,omitempty" yaml:"kind,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
RetryAfterSeconds int64 `json:"retryAfterSeconds,omitempty" yaml:"retryAfterSeconds,omitempty"`
UID string `json:"uid,omitempty" yaml:"uid,omitempty"`
}
type VirtualService ¶
type VirtualService struct {
types.Resource
Created string `json:"created,omitempty" yaml:"created,omitempty"`
Labels map[string]string `json:"labels,omitempty" yaml:"labels,omitempty"`
Name string `json:"name,omitempty" yaml:"name,omitempty"`
Namespace string `json:"namespace,omitempty" yaml:"namespace,omitempty"`
Removed string `json:"removed,omitempty" yaml:"removed,omitempty"`
UUID string `json:"uuid,omitempty" yaml:"uuid,omitempty"`
}
type VirtualServiceClient ¶
type VirtualServiceClient struct {
// contains filtered or unexported fields
}
func (*VirtualServiceClient) ByID ¶
func (c *VirtualServiceClient) ByID(id string) (*VirtualService, error)
func (*VirtualServiceClient) Create ¶
func (c *VirtualServiceClient) Create(container *VirtualService) (*VirtualService, error)
func (*VirtualServiceClient) Delete ¶
func (c *VirtualServiceClient) Delete(container *VirtualService) error
func (*VirtualServiceClient) List ¶
func (c *VirtualServiceClient) List(opts *types.ListOpts) (*VirtualServiceCollection, error)
func (*VirtualServiceClient) Replace ¶
func (c *VirtualServiceClient) Replace(obj *VirtualService) (*VirtualService, error)
func (*VirtualServiceClient) Update ¶
func (c *VirtualServiceClient) Update(existing *VirtualService, updates interface{}) (*VirtualService, error)
type VirtualServiceCollection ¶
type VirtualServiceCollection struct {
types.Collection
Data []VirtualService `json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*VirtualServiceCollection) Next ¶
func (cc *VirtualServiceCollection) Next() (*VirtualServiceCollection, error)
type VirtualServiceOperations ¶
type VirtualServiceOperations interface {
List(opts *types.ListOpts) (*VirtualServiceCollection, error)
Create(opts *VirtualService) (*VirtualService, error)
Update(existing *VirtualService, updates interface{}) (*VirtualService, error)
Replace(existing *VirtualService) (*VirtualService, error)
ByID(id string) (*VirtualService, error)
Delete(container *VirtualService) error
}
Source Files
¶
- zz_generated_client.go
- zz_generated_gateway.go
- zz_generated_gateway_spec.go
- zz_generated_initializer.go
- zz_generated_initializers.go
- zz_generated_list_meta.go
- zz_generated_object_meta.go
- zz_generated_owner_reference.go
- zz_generated_port.go
- zz_generated_server.go
- zz_generated_status.go
- zz_generated_status_cause.go
- zz_generated_status_details.go
- zz_generated_virtual_service.go
Click to show internal directories.
Click to hide internal directories.