Documentation
¶
Index ¶
- type Cluster
- type ClusterOperator
- type ClusterToken
- type ClusterTokenStatus
- type EmptyResponse
- type ErrorResponse
- type ResourceInfo
- type ResourcePlugin
- type ResourcepluginRunner
- type ResourcepluginSpec
- type ResourcepluginStatus
- type ResourcepluginStep
- type ResourcepluginStepInput
- func (m *ResourcepluginStepInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginStepInput) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginStepInput) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginStepInput) Validate(formats strfmt.Registry) error
- type ResourcepluginStepInputTo
- func (m *ResourcepluginStepInputTo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginStepInputTo) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginStepInputTo) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginStepInputTo) Validate(formats strfmt.Registry) error
- type ResourcepluginStepOut
- type ResourcepluginValueFromStep
- func (m *ResourcepluginValueFromStep) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResourcepluginValueFromStep) MarshalBinary() ([]byte, error)
- func (m *ResourcepluginValueFromStep) UnmarshalBinary(b []byte) error
- func (m *ResourcepluginValueFromStep) Validate(formats strfmt.Registry) error
- type RouteGroup
- type RouteGroupEndpoint
- type RouteGroupMatch
- type RouteGroupMatchLabel
- type RouteGroupSpec
- type RouteGroupSpecEndpoint
- func (m *RouteGroupSpecEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *RouteGroupSpecEndpoint) MarshalBinary() ([]byte, error)
- func (m *RouteGroupSpecEndpoint) UnmarshalBinary(b []byte) error
- func (m *RouteGroupSpecEndpoint) Validate(formats strfmt.Registry) error
- type RouteGroupStatus
- type Sandbox
- type SandboxCustomPatch
- type SandboxCustomizations
- type SandboxDefaultRouteGroup
- func (m *SandboxDefaultRouteGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxDefaultRouteGroup) MarshalBinary() ([]byte, error)
- func (m *SandboxDefaultRouteGroup) UnmarshalBinary(b []byte) error
- func (m *SandboxDefaultRouteGroup) Validate(formats strfmt.Registry) error
- type SandboxEndpoint
- type SandboxEnvValueFrom
- type SandboxEnvValueFromFork
- func (m *SandboxEnvValueFromFork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxEnvValueFromFork) MarshalBinary() ([]byte, error)
- func (m *SandboxEnvValueFromFork) UnmarshalBinary(b []byte) error
- func (m *SandboxEnvValueFromFork) Validate(formats strfmt.Registry) error
- type SandboxEnvValueFromResource
- func (m *SandboxEnvValueFromResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SandboxEnvValueFromResource) MarshalBinary() ([]byte, error)
- func (m *SandboxEnvValueFromResource) UnmarshalBinary(b []byte) error
- func (m *SandboxEnvValueFromResource) Validate(formats strfmt.Registry) error
- type SandboxEnvVar
- type SandboxFork
- type SandboxForkEndpoint
- type SandboxForkOf
- type SandboxHostEndpoint
- type SandboxImage
- type SandboxReadiness
- type SandboxResource
- type SandboxSpec
- type SandboxTTL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶ added in v0.1.2
type Cluster struct {
// The time when this cluster was registered with Signadot.
CreatedAt string `json:"createdAt,omitempty"`
// The name of the cluster.
Name string `json:"name,omitempty"`
// operator
Operator *ClusterOperator `json:"operator,omitempty"`
}
Cluster cluster
swagger:model Cluster
func (*Cluster) ContextValidate ¶ added in v0.1.2
ContextValidate validate this cluster based on the context it is used
func (*Cluster) MarshalBinary ¶ added in v0.1.2
MarshalBinary interface implementation
func (*Cluster) UnmarshalBinary ¶ added in v0.1.2
UnmarshalBinary interface implementation
type ClusterOperator ¶ added in v0.2.0
type ClusterOperator struct {
// The operator version of the cluster. This may be
// nil if the cluster has not yet connected to Signadot.
Version string `json:"version,omitempty"`
}
ClusterOperator cluster operator
swagger:model cluster.Operator
func (*ClusterOperator) ContextValidate ¶ added in v0.2.0
ContextValidate validates this cluster operator based on context it is used
func (*ClusterOperator) MarshalBinary ¶ added in v0.2.0
func (m *ClusterOperator) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterOperator) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterOperator) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterToken ¶ added in v0.2.0
type ClusterToken struct {
// The time when this cluster was registered with Signadot.
CreatedAt string `json:"createdAt,omitempty"`
// The ID of this token
ID string `json:"id,omitempty"`
// A Masked token value.
MaskedValue string `json:"maskedValue,omitempty"`
// status
Status *ClusterTokenStatus `json:"status,omitempty"`
// The token value.
Token string `json:"token,omitempty"`
}
ClusterToken cluster token
swagger:model ClusterToken
func (*ClusterToken) ContextValidate ¶ added in v0.2.0
ContextValidate validate this cluster token based on the context it is used
func (*ClusterToken) MarshalBinary ¶ added in v0.2.0
func (m *ClusterToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterToken) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClusterTokenStatus ¶ added in v0.2.0
type ClusterTokenStatus struct {
// The last time at which this token was used to connect.
LastConnectedAt string `json:"lastConnectedAt,omitempty"`
// The last IP address from which this token connected.
LastConnectedIP string `json:"lastConnectedIp,omitempty"`
}
ClusterTokenStatus cluster token status
swagger:model ClusterTokenStatus
func (*ClusterTokenStatus) ContextValidate ¶ added in v0.2.0
ContextValidate validates this cluster token status based on context it is used
func (*ClusterTokenStatus) MarshalBinary ¶ added in v0.2.0
func (m *ClusterTokenStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClusterTokenStatus) UnmarshalBinary ¶ added in v0.2.0
func (m *ClusterTokenStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EmptyResponse ¶ added in v0.2.0
type EmptyResponse interface{}
EmptyResponse empty response
swagger:model EmptyResponse
type ErrorResponse ¶ added in v0.2.0
type ErrorResponse struct {
// error
Error string `json:"error,omitempty"`
// request Id
RequestID string `json:"requestId,omitempty"`
}
ErrorResponse error response
swagger:model ErrorResponse
func (*ErrorResponse) ContextValidate ¶ added in v0.2.0
ContextValidate validates this error response based on context it is used
func (*ErrorResponse) MarshalBinary ¶ added in v0.2.0
func (m *ErrorResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorResponse) UnmarshalBinary ¶ added in v0.2.0
func (m *ErrorResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourceInfo ¶ added in v0.3.7
type ResourceInfo struct {
// Cluster that the resource is created in
Cluster string `json:"cluster,omitempty"`
// Name of the created resource
Name string `json:"name,omitempty"`
// Name of the sandbox containing the resource
Sandbox string `json:"sandbox,omitempty"`
}
ResourceInfo resource info
swagger:model ResourceInfo
func (*ResourceInfo) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resource info based on context it is used
func (*ResourceInfo) MarshalBinary ¶ added in v0.3.7
func (m *ResourceInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourceInfo) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourceInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcePlugin ¶ added in v0.3.7
type ResourcePlugin struct {
// The time at which the resource plugin was created
CreatedAt string `json:"createdAt,omitempty"`
// Name of the resource plugin
Name string `json:"name,omitempty"`
// spec
Spec *ResourcepluginSpec `json:"spec,omitempty"`
// status
Status *ResourcepluginStatus `json:"status,omitempty"`
// The time at which the resource plugin was last updated
UpdatedAt string `json:"updatedAt,omitempty"`
}
ResourcePlugin resource plugin
swagger:model ResourcePlugin
func (*ResourcePlugin) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resource plugin based on the context it is used
func (*ResourcePlugin) MarshalBinary ¶ added in v0.3.7
func (m *ResourcePlugin) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcePlugin) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcePlugin) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginRunner ¶ added in v0.3.7
type ResourcepluginRunner struct {
// Image for the runner instance
Image string `json:"image,omitempty"`
// Namespace to create this runner instance in
Namespace string `json:"namespace,omitempty"`
// Pod template overlay
PodTemplateOverlay string `json:"podTemplateOverlay,omitempty"`
}
ResourcepluginRunner resourceplugin runner
swagger:model resourceplugin.Runner
func (*ResourcepluginRunner) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resourceplugin runner based on context it is used
func (*ResourcepluginRunner) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginRunner) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginRunner) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginRunner) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginSpec ¶ added in v0.3.7
type ResourcepluginSpec struct {
// Create refers to the `create` steps for spinning up the resource
Create []*ResourcepluginStep `json:"create"`
// Delete refers to the `delete` steps for spinning up the resource
Delete []*ResourcepluginStep `json:"delete"`
// Description for the resource
Description string `json:"description,omitempty"`
// runner
Runner *ResourcepluginRunner `json:"runner,omitempty"`
}
ResourcepluginSpec resourceplugin spec
swagger:model resourceplugin.Spec
func (*ResourcepluginSpec) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin spec based on the context it is used
func (*ResourcepluginSpec) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginSpec) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStatus ¶ added in v0.3.7
type ResourcepluginStatus struct {
// Resources created using the resource plugin
Resources []*ResourceInfo `json:"resources"`
}
ResourcepluginStatus resourceplugin status
swagger:model resourceplugin.Status
func (*ResourcepluginStatus) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin status based on the context it is used
func (*ResourcepluginStatus) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStatus) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStep ¶ added in v0.3.7
type ResourcepluginStep struct {
// Inputs for the step
Inputs []*ResourcepluginStepInput `json:"inputs"`
// Name for the step
Name string `json:"name,omitempty"`
// Outputs for the step
Outputs []*ResourcepluginStepOut `json:"outputs"`
// Script to execute in the step
Script string `json:"script,omitempty"`
}
ResourcepluginStep resourceplugin step
swagger:model resourceplugin.Step
func (*ResourcepluginStep) ContextValidate ¶ added in v0.3.7
ContextValidate validate this resourceplugin step based on the context it is used
func (*ResourcepluginStep) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStep) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepInput ¶ added in v0.3.7
type ResourcepluginStepInput struct {
// as
As *ResourcepluginStepInputTo `json:"as,omitempty"`
// Name for the input
Name string `json:"name,omitempty"`
// Type of input
Type string `json:"type,omitempty"`
// ValueFromSandbox defines whether or not to source value from the sandbox spec
ValueFromSandbox bool `json:"valueFromSandbox,omitempty"`
// value from step
ValueFromStep *ResourcepluginValueFromStep `json:"valueFromStep,omitempty"`
}
ResourcepluginStepInput resourceplugin step input
swagger:model resourceplugin.StepInput
func (*ResourcepluginStepInput) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginStepInput) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this resourceplugin step input based on the context it is used
func (*ResourcepluginStepInput) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInput) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepInput) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInput) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepInputTo ¶ added in v0.3.7
type ResourcepluginStepInputTo struct {
// Inject the input as an env variable with name Env inside the
// main container
Env string `json:"env,omitempty"`
// Expose the input as a file at Path inside the main container
Path string `json:"path,omitempty"`
}
ResourcepluginStepInputTo resourceplugin step input to
swagger:model resourceplugin.StepInputTo
func (*ResourcepluginStepInputTo) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this resourceplugin step input to based on context it is used
func (*ResourcepluginStepInputTo) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepInputTo) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepInputTo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginStepOut ¶ added in v0.3.7
type ResourcepluginStepOut struct {
// Description for the output
Description string `json:"description,omitempty"`
// Name of the output variable
Name string `json:"name,omitempty"`
// Type of output
Type string `json:"type,omitempty"`
// Path within the main container from where the output will be read
ValueFromPath string `json:"valueFromPath,omitempty"`
}
ResourcepluginStepOut resourceplugin step out
swagger:model resourceplugin.StepOut
func (*ResourcepluginStepOut) ContextValidate ¶ added in v0.3.7
ContextValidate validates this resourceplugin step out based on context it is used
func (*ResourcepluginStepOut) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepOut) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginStepOut) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginStepOut) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResourcepluginValueFromStep ¶ added in v0.3.7
type ResourcepluginValueFromStep struct {
// Name of the step
Name string `json:"name,omitempty"`
// Name of the variable from the step
Output string `json:"output,omitempty"`
}
ResourcepluginValueFromStep resourceplugin value from step
swagger:model resourceplugin.ValueFromStep
func (*ResourcepluginValueFromStep) ContextValidate ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this resourceplugin value from step based on context it is used
func (*ResourcepluginValueFromStep) MarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResourcepluginValueFromStep) UnmarshalBinary ¶ added in v0.3.7
func (m *ResourcepluginValueFromStep) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroup ¶ added in v0.3.6
type RouteGroup struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// endpoints
Endpoints []*RouteGroupEndpoint `json:"endpoints,omitempty"`
// name
Name string `json:"name,omitempty"`
// routing key
RoutingKey string `json:"routingKey,omitempty"`
// spec
Spec *RouteGroupSpec `json:"spec,omitempty"`
// status
Status *RouteGroupStatus `json:"status,omitempty"`
}
RouteGroup route group
swagger:model RouteGroup
func (*RouteGroup) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group based on the context it is used
func (*RouteGroup) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroup) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupEndpoint ¶ added in v0.3.6
type RouteGroupEndpoint struct {
// name
Name string `json:"name,omitempty"`
// target
Target string `json:"target,omitempty"`
// url
URL string `json:"url,omitempty"`
}
RouteGroupEndpoint route group endpoint
swagger:model routeGroup.Endpoint
func (*RouteGroupEndpoint) ContextValidate ¶ added in v0.3.6
ContextValidate validates this route group endpoint based on context it is used
func (*RouteGroupEndpoint) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupEndpoint) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupMatch ¶ added in v0.3.6
type RouteGroupMatch struct {
// When All is non-nil, T matches a set of labels if and only if every element of All matches them.
// Only one field may be non-nil.
All []*RouteGroupMatch `json:"all,omitempty"`
// When Any is non-nil, T matches a set of labels if and only if some element of Any matches them.
// Only one field may be non-nil.
Any []*RouteGroupMatch `json:"any,omitempty"`
// label
Label *RouteGroupMatchLabel `json:"label,omitempty"`
}
RouteGroupMatch route group match
swagger:model routeGroup.Match
func (*RouteGroupMatch) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group match based on the context it is used
func (*RouteGroupMatch) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupMatch) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupMatchLabel ¶ added in v0.3.6
type RouteGroupMatchLabel struct {
// Key is an exact match on a label key, glob
// characters are just considered normal characters.
Key string `json:"key,omitempty"`
// Value is a glob match for the value of a
// sandbox label. See https://pkg.go.dev/path/filepath#Match
// for the file glob syntax.
Value string `json:"value,omitempty"`
}
RouteGroupMatchLabel route group match label
swagger:model routeGroup.MatchLabel
func (*RouteGroupMatchLabel) ContextValidate ¶ added in v0.3.6
ContextValidate validates this route group match label based on context it is used
func (*RouteGroupMatchLabel) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatchLabel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupMatchLabel) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupMatchLabel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupSpec ¶ added in v0.3.6
type RouteGroupSpec struct {
// Cluster gives the cluster to which the route group applies.
Cluster string `json:"cluster,omitempty"`
// Description provides a short description of the route group.
Description string `json:"description,omitempty"`
// Endpoints define endpoints which target different in-cluster
// services.
Endpoints []*RouteGroupSpecEndpoint `json:"endpoints"`
// match
Match *RouteGroupMatch `json:"match,omitempty"`
}
RouteGroupSpec route group spec
swagger:model routeGroup.Spec
func (*RouteGroupSpec) ContextValidate ¶ added in v0.3.6
ContextValidate validate this route group spec based on the context it is used
func (*RouteGroupSpec) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupSpec) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupSpecEndpoint ¶ added in v0.3.6
type RouteGroupSpecEndpoint struct {
// name
Name string `json:"name,omitempty"`
// target
Target string `json:"target,omitempty"`
}
RouteGroupSpecEndpoint route group spec endpoint
swagger:model routeGroup.SpecEndpoint
func (*RouteGroupSpecEndpoint) ContextValidate ¶ added in v0.3.6
func (m *RouteGroupSpecEndpoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this route group spec endpoint based on context it is used
func (*RouteGroupSpecEndpoint) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpecEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupSpecEndpoint) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupSpecEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RouteGroupStatus ¶ added in v0.3.6
type RouteGroupStatus struct {
// MatchedSandboxes gives the list of sandboxes whose labels
// were matched by the 'match' object in the spec.
MatchedSandboxes []string `json:"matchedSandboxes"`
// Message is a human readable explanation of why
// the sandbox is healthy or not.
Message string `json:"message,omitempty"`
// Ready indicates whether the sandbox is ready,
// meaning that it can be used for testing.
Ready bool `json:"ready,omitempty"`
// Reason is a machine readable explanation of why
// the sandbox is healthy or not.
Reason string `json:"reason,omitempty"`
}
RouteGroupStatus route group status
swagger:model routeGroup.Status
func (*RouteGroupStatus) ContextValidate ¶ added in v0.3.6
ContextValidate validates this route group status based on context it is used
func (*RouteGroupStatus) MarshalBinary ¶ added in v0.3.6
func (m *RouteGroupStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RouteGroupStatus) UnmarshalBinary ¶ added in v0.3.6
func (m *RouteGroupStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Sandbox ¶ added in v0.2.0
type Sandbox struct {
// created at
CreatedAt string `json:"createdAt,omitempty"`
// endpoints
Endpoints []*SandboxEndpoint `json:"endpoints"`
// Human-readable name of this sandbox
Name string `json:"name,omitempty"`
// routing key
RoutingKey string `json:"routingKey,omitempty"`
// spec
Spec *SandboxSpec `json:"spec,omitempty"`
// status
Status *SandboxReadiness `json:"status,omitempty"`
}
Sandbox sandbox
swagger:model Sandbox
func (*Sandbox) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox based on the context it is used
func (*Sandbox) MarshalBinary ¶ added in v0.2.0
MarshalBinary interface implementation
func (*Sandbox) UnmarshalBinary ¶ added in v0.2.0
UnmarshalBinary interface implementation
type SandboxCustomPatch ¶ added in v0.2.0
type SandboxCustomPatch struct {
// type
Type string `json:"type,omitempty"`
// value
Value string `json:"value,omitempty"`
}
SandboxCustomPatch sandbox custom patch
swagger:model sandbox.CustomPatch
func (*SandboxCustomPatch) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox custom patch based on context it is used
func (*SandboxCustomPatch) MarshalBinary ¶ added in v0.2.0
func (m *SandboxCustomPatch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxCustomPatch) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxCustomPatch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxCustomizations ¶
type SandboxCustomizations struct {
// Env var modifications that will be applied to the forked workload
Env []*SandboxEnvVar `json:"env"`
// One or more docker images that will be applied to the forked workload
Images []*SandboxImage `json:"images"`
// patch
Patch *SandboxCustomPatch `json:"patch,omitempty"`
}
SandboxCustomizations sandbox customizations
swagger:model sandbox.Customizations
func (*SandboxCustomizations) ContextValidate ¶
ContextValidate validate this sandbox customizations based on the context it is used
func (*SandboxCustomizations) MarshalBinary ¶
func (m *SandboxCustomizations) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxCustomizations) UnmarshalBinary ¶
func (m *SandboxCustomizations) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxDefaultRouteGroup ¶ added in v0.3.6
type SandboxDefaultRouteGroup struct {
// endpoints
Endpoints []*RouteGroupSpecEndpoint `json:"endpoints"`
}
SandboxDefaultRouteGroup sandbox default route group
swagger:model sandbox.DefaultRouteGroup
func (*SandboxDefaultRouteGroup) ContextValidate ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox default route group based on the context it is used
func (*SandboxDefaultRouteGroup) MarshalBinary ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxDefaultRouteGroup) UnmarshalBinary ¶ added in v0.3.6
func (m *SandboxDefaultRouteGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEndpoint ¶
type SandboxEndpoint struct {
// baseline Url
BaselineURL string `json:"baselineUrl,omitempty"`
// host
Host string `json:"host,omitempty"`
// name
Name string `json:"name,omitempty"`
// port
Port int64 `json:"port,omitempty"`
// protocol
Protocol string `json:"protocol,omitempty"`
// route type
RouteType string `json:"routeType,omitempty"`
// target
Target string `json:"target,omitempty"`
// url
URL string `json:"url,omitempty"`
}
SandboxEndpoint sandbox endpoint
swagger:model sandbox.Endpoint
func (*SandboxEndpoint) ContextValidate ¶
ContextValidate validates this sandbox endpoint based on context it is used
func (*SandboxEndpoint) MarshalBinary ¶
func (m *SandboxEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEndpoint) UnmarshalBinary ¶
func (m *SandboxEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFrom ¶ added in v0.2.0
type SandboxEnvValueFrom struct {
// fork
Fork *SandboxEnvValueFromFork `json:"fork,omitempty"`
// resource
Resource *SandboxEnvValueFromResource `json:"resource,omitempty"`
}
SandboxEnvValueFrom sandbox env value from
swagger:model sandbox.EnvValueFrom
func (*SandboxEnvValueFrom) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox env value from based on the context it is used
func (*SandboxEnvValueFrom) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFrom) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFrom) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFrom) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFromFork ¶ added in v0.2.0
type SandboxEnvValueFromFork struct {
// expression
Expression string `json:"expression,omitempty"`
// fork of
ForkOf *SandboxForkOf `json:"forkOf,omitempty"`
}
SandboxEnvValueFromFork sandbox env value from fork
swagger:model sandbox.EnvValueFromFork
func (*SandboxEnvValueFromFork) ContextValidate ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this sandbox env value from fork based on the context it is used
func (*SandboxEnvValueFromFork) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFromFork) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromFork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvValueFromResource ¶ added in v0.2.0
type SandboxEnvValueFromResource struct {
// name
Name string `json:"name,omitempty"`
// output key
OutputKey string `json:"outputKey,omitempty"`
}
SandboxEnvValueFromResource sandbox env value from resource
swagger:model sandbox.EnvValueFromResource
func (*SandboxEnvValueFromResource) ContextValidate ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this sandbox env value from resource based on context it is used
func (*SandboxEnvValueFromResource) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvValueFromResource) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvValueFromResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxEnvVar ¶ added in v0.2.0
type SandboxEnvVar struct {
// name of container to which it applies
Container string `json:"container,omitempty"`
// environmental variable name
Name string `json:"name,omitempty"`
// upsert or delete
Operation string `json:"operation,omitempty"`
// environmental variable value
Value string `json:"value,omitempty"`
// value from
ValueFrom *SandboxEnvValueFrom `json:"valueFrom,omitempty"`
}
SandboxEnvVar sandbox env var
swagger:model sandbox.EnvVar
func (*SandboxEnvVar) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox env var based on the context it is used
func (*SandboxEnvVar) MarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvVar) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxEnvVar) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxEnvVar) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxFork ¶
type SandboxFork struct {
// customizations
Customizations *SandboxCustomizations `json:"customizations,omitempty"`
// Deprecated. Use defaultRouteGroup.Endpoints instead.
Endpoints []*SandboxForkEndpoint `json:"endpoints"`
// fork of
ForkOf *SandboxForkOf `json:"forkOf,omitempty"`
}
SandboxFork sandbox fork
swagger:model sandbox.Fork
func (*SandboxFork) ContextValidate ¶
ContextValidate validate this sandbox fork based on the context it is used
func (*SandboxFork) MarshalBinary ¶
func (m *SandboxFork) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxFork) UnmarshalBinary ¶
func (m *SandboxFork) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxForkEndpoint ¶ added in v0.2.0
type SandboxForkEndpoint struct {
// Name of the endpoint
Name string `json:"name,omitempty"`
// Port it will map to on the forked workload
Port int64 `json:"port,omitempty"`
// Protocol that this endpoint uses
Protocol string `json:"protocol,omitempty"`
}
SandboxForkEndpoint sandbox fork endpoint
swagger:model sandbox.ForkEndpoint
func (*SandboxForkEndpoint) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox fork endpoint based on context it is used
func (*SandboxForkEndpoint) MarshalBinary ¶ added in v0.2.0
func (m *SandboxForkEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxForkEndpoint) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxForkEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxForkOf ¶ added in v0.2.0
type SandboxForkOf struct {
// Kind of entity that we want to route to. One of (Service or Deployment or Rollout).
// Example: Deployment
// Required: true
Kind *string `json:"kind"`
// Name of the entity within the Kubernetes cluster.
// Example: my-frontend
// Required: true
Name *string `json:"name"`
// Namespace within which the entity lives in the Kubernetes cluster.
// Example: default
// Required: true
Namespace *string `json:"namespace"`
}
SandboxForkOf sandbox fork of
swagger:model sandbox.ForkOf
func (*SandboxForkOf) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox fork of based on context it is used
func (*SandboxForkOf) MarshalBinary ¶ added in v0.2.0
func (m *SandboxForkOf) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxForkOf) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxForkOf) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxHostEndpoint ¶ added in v0.2.0
type SandboxHostEndpoint struct {
// Hostname that this endpoint points to
Host string `json:"host,omitempty"`
// Name of the endpoint
Name string `json:"name,omitempty"`
// Port it will map to on the specified host
Port int64 `json:"port,omitempty"`
// Protocol that this endpoint uses
Protocol string `json:"protocol,omitempty"`
}
SandboxHostEndpoint sandbox host endpoint
swagger:model sandbox.HostEndpoint
func (*SandboxHostEndpoint) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox host endpoint based on context it is used
func (*SandboxHostEndpoint) MarshalBinary ¶ added in v0.2.0
func (m *SandboxHostEndpoint) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxHostEndpoint) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxHostEndpoint) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxImage ¶ added in v0.2.0
type SandboxImage struct {
// Container is the container this image must apply to in the forked workload
Container string `json:"container,omitempty"`
// Name of the image (e.g. gcr.io/my-image/repo:my-tag)
Image string `json:"image,omitempty"`
}
SandboxImage sandbox image
swagger:model sandbox.Image
func (*SandboxImage) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox image based on context it is used
func (*SandboxImage) MarshalBinary ¶ added in v0.2.0
func (m *SandboxImage) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxImage) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxImage) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxReadiness ¶ added in v0.2.0
type SandboxReadiness struct {
// Message is a human readable explanation of why
// the sandbox is healthy or not.
Message string `json:"message,omitempty"`
// Ready indicates whether the sandbox is ready,
// meaning that it can be used for testing.
Ready bool `json:"ready,omitempty"`
// Reason is a machine readable explanation of why
// the sandbox is healthy or not.
Reason string `json:"reason,omitempty"`
}
SandboxReadiness sandbox readiness
swagger:model sandbox.Readiness
func (*SandboxReadiness) ContextValidate ¶ added in v0.2.0
ContextValidate validates this sandbox readiness based on context it is used
func (*SandboxReadiness) MarshalBinary ¶ added in v0.2.0
func (m *SandboxReadiness) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxReadiness) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxReadiness) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxResource ¶
type SandboxResource struct {
// name
Name string `json:"name,omitempty"`
// params
Params map[string]string `json:"params,omitempty"`
// plugin
Plugin string `json:"plugin,omitempty"`
}
SandboxResource sandbox resource
swagger:model sandbox.Resource
func (*SandboxResource) ContextValidate ¶
ContextValidate validates this sandbox resource based on context it is used
func (*SandboxResource) MarshalBinary ¶
func (m *SandboxResource) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxResource) UnmarshalBinary ¶
func (m *SandboxResource) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxSpec ¶ added in v0.2.0
type SandboxSpec struct {
// Cluster within which this sandbox should be created
// Required: true
Cluster *string `json:"cluster"`
// default route group
DefaultRouteGroup *SandboxDefaultRouteGroup `json:"defaultRouteGroup,omitempty"`
// Description of the purpose of this sandbox
Description string `json:"description,omitempty"`
// Deprecated. Use defaultRouteGroup.Endpoints instead.
Endpoints []*SandboxHostEndpoint `json:"endpoints"`
// Forks is the specification of each forked entity
// Required: true
Forks []*SandboxFork `json:"forks"`
// Labels are used to specify metadata associated with the sandbox as key-value pairs.
Labels map[string]string `json:"labels,omitempty"`
// Resources specifies each required resource to spin up the sandbox
Resources []*SandboxResource `json:"resources"`
// ttl
TTL *SandboxTTL `json:"ttl,omitempty"`
}
SandboxSpec sandbox spec
swagger:model sandbox.Spec
func (*SandboxSpec) ContextValidate ¶ added in v0.2.0
ContextValidate validate this sandbox spec based on the context it is used
func (*SandboxSpec) MarshalBinary ¶ added in v0.2.0
func (m *SandboxSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxSpec) UnmarshalBinary ¶ added in v0.2.0
func (m *SandboxSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SandboxTTL ¶ added in v0.3.5
type SandboxTTL struct {
// Duration represents the duration until sandbox end of life.
// It should be an unsigned integer not exceeding 32 bits followed by
// a units character, which can be one of the following.
// - 'm' for minutes
// - 'h' for hours
// - 'd' for days
// - 'w' for weeks
Duration string `json:"duration,omitempty"`
// OffsetFrom indicates what the Duration is relative to. It
// may be the empty string or "createdAt". The empty string
// defaults to meaning "createdAt".
OffsetFrom string `json:"offsetFrom,omitempty"`
}
SandboxTTL sandbox TTL
swagger:model sandbox.TTL
func (*SandboxTTL) ContextValidate ¶ added in v0.3.5
ContextValidate validates this sandbox TTL based on context it is used
func (*SandboxTTL) MarshalBinary ¶ added in v0.3.5
func (m *SandboxTTL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SandboxTTL) UnmarshalBinary ¶ added in v0.3.5
func (m *SandboxTTL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- cluster.go
- cluster_operator.go
- cluster_token.go
- cluster_token_status.go
- empty_response.go
- error_response.go
- resource_info.go
- resource_plugin.go
- resourceplugin_runner.go
- resourceplugin_spec.go
- resourceplugin_status.go
- resourceplugin_step.go
- resourceplugin_step_input.go
- resourceplugin_step_input_to.go
- resourceplugin_step_out.go
- resourceplugin_value_from_step.go
- route_group.go
- route_group_endpoint.go
- route_group_match.go
- route_group_match_label.go
- route_group_spec.go
- route_group_spec_endpoint.go
- route_group_status.go
- sandbox.go
- sandbox_custom_patch.go
- sandbox_customizations.go
- sandbox_default_route_group.go
- sandbox_endpoint.go
- sandbox_env_value_from.go
- sandbox_env_value_from_fork.go
- sandbox_env_value_from_resource.go
- sandbox_env_var.go
- sandbox_fork.go
- sandbox_fork_endpoint.go
- sandbox_fork_of.go
- sandbox_host_endpoint.go
- sandbox_image.go
- sandbox_readiness.go
- sandbox_resource.go
- sandbox_spec.go
- sandbox_ttl.go