models

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerStepObject

type ControllerStepObject struct {

	// name
	Name string `json:"name,omitempty"`

	// object meta
	ObjectMeta *V1ObjectMeta `json:"objectMeta,omitempty"`

	// raw
	// Format: byte
	Raw strfmt.Base64 `json:"raw,omitempty"`

	// type meta
	TypeMeta *Metav1TypeMeta `json:"typeMeta,omitempty"`
}

ControllerStepObject +kubebuilder:object:generate=true StepObject can represent any kubernetes object

swagger:model controllerStepObject

func (*ControllerStepObject) ContextValidate

func (m *ControllerStepObject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this controller step object based on the context it is used

func (*ControllerStepObject) MarshalBinary

func (m *ControllerStepObject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ControllerStepObject) UnmarshalBinary

func (m *ControllerStepObject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ControllerStepObject) Validate

func (m *ControllerStepObject) Validate(formats strfmt.Registry) error

Validate validates this controller step object

type GooglerpcStatus

type GooglerpcStatus struct {

	// code
	Code int32 `json:"code,omitempty"`

	// details
	Details []*ProtobufAny `json:"details"`

	// message
	Message string `json:"message,omitempty"`
}

GooglerpcStatus googlerpc status

swagger:model googlerpcStatus

func (*GooglerpcStatus) ContextValidate

func (m *GooglerpcStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this googlerpc status based on the context it is used

func (*GooglerpcStatus) MarshalBinary

func (m *GooglerpcStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GooglerpcStatus) UnmarshalBinary

func (m *GooglerpcStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GooglerpcStatus) Validate

func (m *GooglerpcStatus) Validate(formats strfmt.Registry) error

Validate validates this googlerpc status

type Metav1TypeMeta

type Metav1TypeMeta struct {

	// APIVersion defines the versioned schema of this representation of an object.
	// Servers should convert recognized schemas to the latest internal value, and
	// may reject unrecognized values.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
	// +optional
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind is a string value representing the REST resource this object represents.
	// Servers may infer this from the endpoint the client submits requests to.
	// Cannot be updated.
	// In CamelCase.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	// +optional
	Kind string `json:"kind,omitempty"`
}

Metav1TypeMeta TypeMeta describes an individual object in an API response or request with strings representing the type of the object and its API schema version. Structures that are versioned or persisted should inline TypeMeta.

+k8s:deepcopy-gen=false

swagger:model metav1TypeMeta

func (*Metav1TypeMeta) ContextValidate

func (m *Metav1TypeMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metav1 type meta based on context it is used

func (*Metav1TypeMeta) MarshalBinary

func (m *Metav1TypeMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Metav1TypeMeta) UnmarshalBinary

func (m *Metav1TypeMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Metav1TypeMeta) Validate

func (m *Metav1TypeMeta) Validate(formats strfmt.Registry) error

Validate validates this metav1 type meta

type ProtobufAny

type ProtobufAny struct {

	// at type
	AtType string `json:"@type,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

func (*ProtobufAny) ContextValidate

func (m *ProtobufAny) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf any based on context it is used

func (*ProtobufAny) MarshalBinary

func (m *ProtobufAny) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProtobufAny) UnmarshalBinary

func (m *ProtobufAny) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProtobufAny) Validate

func (m *ProtobufAny) Validate(formats strfmt.Registry) error

Validate validates this protobuf any

type RPCDeleteBootstrapAgentResponse

type RPCDeleteBootstrapAgentResponse interface{}

RPCDeleteBootstrapAgentResponse rpc delete bootstrap agent response

swagger:model rpcDeleteBootstrapAgentResponse

type RPCGetKubectlClusterSettingsResponse

type RPCGetKubectlClusterSettingsResponse struct {

	// disable c l i kubectl
	DisableCLIKubectl bool `json:"disableCLIKubectl,omitempty"`

	// disable web kubectl
	DisableWebKubectl bool `json:"disableWebKubectl,omitempty"`
}

RPCGetKubectlClusterSettingsResponse rpc get kubectl cluster settings response

swagger:model rpcGetKubectlClusterSettingsResponse

func (*RPCGetKubectlClusterSettingsResponse) ContextValidate

func (m *RPCGetKubectlClusterSettingsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpc get kubectl cluster settings response based on context it is used

func (*RPCGetKubectlClusterSettingsResponse) MarshalBinary

func (m *RPCGetKubectlClusterSettingsResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCGetKubectlClusterSettingsResponse) UnmarshalBinary

func (m *RPCGetKubectlClusterSettingsResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCGetKubectlClusterSettingsResponse) Validate

Validate validates this rpc get kubectl cluster settings response

type RPCGetUserAuthorizationResponse

type RPCGetUserAuthorizationResponse struct {

	// cluster role bindings
	ClusterRoleBindings []*ControllerStepObject `json:"clusterRoleBindings"`

	// cluster roles
	ClusterRoles []*ControllerStepObject `json:"clusterRoles"`

	// delete cluster role bindings
	DeleteClusterRoleBindings []*ControllerStepObject `json:"deleteClusterRoleBindings"`

	// delete role bindings
	DeleteRoleBindings []*ControllerStepObject `json:"deleteRoleBindings"`

	// enforce org admin only secret access
	EnforceOrgAdminOnlySecretAccess bool `json:"enforceOrgAdminOnlySecretAccess,omitempty"`

	// is org admin
	IsOrgAdmin bool `json:"isOrgAdmin,omitempty"`

	// is read
	IsRead bool `json:"isRead,omitempty"`

	// namespaces
	Namespaces []*ControllerStepObject `json:"namespaces"`

	// role bindings
	RoleBindings []*ControllerStepObject `json:"roleBindings"`

	// role name
	RoleName string `json:"roleName,omitempty"`

	// roles
	Roles []*ControllerStepObject `json:"roles"`

	// service account
	ServiceAccount *ControllerStepObject `json:"serviceAccount,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`
}

RPCGetUserAuthorizationResponse rpc get user authorization response

swagger:model rpcGetUserAuthorizationResponse

func (*RPCGetUserAuthorizationResponse) ContextValidate

func (m *RPCGetUserAuthorizationResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this rpc get user authorization response based on the context it is used

func (*RPCGetUserAuthorizationResponse) MarshalBinary

func (m *RPCGetUserAuthorizationResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCGetUserAuthorizationResponse) UnmarshalBinary

func (m *RPCGetUserAuthorizationResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCGetUserAuthorizationResponse) Validate

Validate validates this rpc get user authorization response

type RPCLookupClusterResponse

type RPCLookupClusterResponse struct {

	// display name
	DisplayName string `json:"displayName,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

RPCLookupClusterResponse rpc lookup cluster response

swagger:model rpcLookupClusterResponse

func (*RPCLookupClusterResponse) ContextValidate

func (m *RPCLookupClusterResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpc lookup cluster response based on context it is used

func (*RPCLookupClusterResponse) MarshalBinary

func (m *RPCLookupClusterResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCLookupClusterResponse) UnmarshalBinary

func (m *RPCLookupClusterResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCLookupClusterResponse) Validate

func (m *RPCLookupClusterResponse) Validate(formats strfmt.Registry) error

Validate validates this rpc lookup cluster response

type RPCLookupUserResponse

type RPCLookupUserResponse struct {

	// account ID
	AccountID string `json:"accountID,omitempty"`

	// is s s o
	IsSSO string `json:"isSSO,omitempty"`

	// organization ID
	OrganizationID string `json:"organizationID,omitempty"`

	// partner ID
	PartnerID string `json:"partnerID,omitempty"`

	// session type
	SessionType string `json:"sessionType,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`
}

RPCLookupUserResponse rpc lookup user response

swagger:model rpcLookupUserResponse

func (*RPCLookupUserResponse) ContextValidate

func (m *RPCLookupUserResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpc lookup user response based on context it is used

func (*RPCLookupUserResponse) MarshalBinary

func (m *RPCLookupUserResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCLookupUserResponse) UnmarshalBinary

func (m *RPCLookupUserResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCLookupUserResponse) Validate

func (m *RPCLookupUserResponse) Validate(formats strfmt.Registry) error

Validate validates this rpc lookup user response

type RPCRegisterAgentResponse

type RPCRegisterAgentResponse struct {

	// ca certificate
	// Format: byte
	CaCertificate strfmt.Base64 `json:"caCertificate,omitempty"`

	// certificate
	// Format: byte
	Certificate strfmt.Base64 `json:"certificate,omitempty"`
}

RPCRegisterAgentResponse rpc register agent response

swagger:model rpcRegisterAgentResponse

func (*RPCRegisterAgentResponse) ContextValidate

func (m *RPCRegisterAgentResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this rpc register agent response based on context it is used

func (*RPCRegisterAgentResponse) MarshalBinary

func (m *RPCRegisterAgentResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCRegisterAgentResponse) UnmarshalBinary

func (m *RPCRegisterAgentResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCRegisterAgentResponse) Validate

func (m *RPCRegisterAgentResponse) Validate(formats strfmt.Registry) error

Validate validates this rpc register agent response

type RPCUpdateKubectlClusterSettingsRequest

type RPCUpdateKubectlClusterSettingsRequest struct {

	// disable c l i kubectl
	DisableCLIKubectl bool `json:"disableCLIKubectl,omitempty"`

	// disable web kubectl
	DisableWebKubectl bool `json:"disableWebKubectl,omitempty"`

	// opts
	Opts *V3QueryOptions `json:"opts,omitempty"`
}

RPCUpdateKubectlClusterSettingsRequest rpc update kubectl cluster settings request

swagger:model rpcUpdateKubectlClusterSettingsRequest

func (*RPCUpdateKubectlClusterSettingsRequest) ContextValidate

ContextValidate validate this rpc update kubectl cluster settings request based on the context it is used

func (*RPCUpdateKubectlClusterSettingsRequest) MarshalBinary

func (m *RPCUpdateKubectlClusterSettingsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RPCUpdateKubectlClusterSettingsRequest) UnmarshalBinary

func (m *RPCUpdateKubectlClusterSettingsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RPCUpdateKubectlClusterSettingsRequest) Validate

Validate validates this rpc update kubectl cluster settings request

type RPCUpdateKubectlClusterSettingsResponse

type RPCUpdateKubectlClusterSettingsResponse interface{}

RPCUpdateKubectlClusterSettingsResponse rpc update kubectl cluster settings response

swagger:model rpcUpdateKubectlClusterSettingsResponse

type SentryBootStrapAgentStatus

type SentryBootStrapAgentStatus struct {

	// fingerprint
	Fingerprint string `json:"fingerprint,omitempty"`

	// ip address
	IPAddress string `json:"ipAddress,omitempty"`

	// last checked in
	// Format: date-time
	LastCheckedIn strfmt.DateTime `json:"lastCheckedIn,omitempty"`

	// token state
	TokenState *SentryBootstrapAgentState `json:"tokenState,omitempty"`
}

SentryBootStrapAgentStatus sentry boot strap agent status

swagger:model sentryBootStrapAgentStatus

func (*SentryBootStrapAgentStatus) ContextValidate

func (m *SentryBootStrapAgentStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry boot strap agent status based on the context it is used

func (*SentryBootStrapAgentStatus) MarshalBinary

func (m *SentryBootStrapAgentStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootStrapAgentStatus) UnmarshalBinary

func (m *SentryBootStrapAgentStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootStrapAgentStatus) Validate

func (m *SentryBootStrapAgentStatus) Validate(formats strfmt.Registry) error

Validate validates this sentry boot strap agent status

type SentryBootstrapAgent

type SentryBootstrapAgent struct {

	// API Version
	//
	// API Version of the resource
	// Read Only: true
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind
	//
	// Kind of the resource
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// Metadata
	//
	// Metadata of the resource
	Metadata *V3Metadata `json:"metadata,omitempty"`

	// spec
	Spec *SentryBootstrapAgentSpec `json:"spec,omitempty"`

	// status
	Status *SentryBootStrapAgentStatus `json:"status,omitempty"`
}

SentryBootstrapAgent sentry bootstrap agent

swagger:model sentryBootstrapAgent

func (*SentryBootstrapAgent) ContextValidate

func (m *SentryBootstrapAgent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent based on the context it is used

func (*SentryBootstrapAgent) MarshalBinary

func (m *SentryBootstrapAgent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgent) UnmarshalBinary

func (m *SentryBootstrapAgent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgent) Validate

func (m *SentryBootstrapAgent) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent

type SentryBootstrapAgentList

type SentryBootstrapAgentList struct {

	// API Version
	//
	// API Version of the list resource
	// Read Only: true
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	Items []*SentryBootstrapAgent `json:"items"`

	// Kind
	//
	// Kind of the list resource
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// ListMetadata
	//
	// Metadata of the list resource
	// Read Only: true
	Metadata *V3ListMetadata `json:"metadata,omitempty"`
}

SentryBootstrapAgentList BootstrapAgentList is a list of bootstrap agents

swagger:model sentryBootstrapAgentList

func (*SentryBootstrapAgentList) ContextValidate

func (m *SentryBootstrapAgentList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent list based on the context it is used

func (*SentryBootstrapAgentList) MarshalBinary

func (m *SentryBootstrapAgentList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgentList) UnmarshalBinary

func (m *SentryBootstrapAgentList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgentList) Validate

func (m *SentryBootstrapAgentList) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent list

type SentryBootstrapAgentMode

type SentryBootstrapAgentMode string

SentryBootstrapAgentMode sentry bootstrap agent mode

swagger:model sentryBootstrapAgentMode

const (

	// SentryBootstrapAgentModeInCluster captures enum value "InCluster"
	SentryBootstrapAgentModeInCluster SentryBootstrapAgentMode = "InCluster"

	// SentryBootstrapAgentModeOutOfCluster captures enum value "OutOfCluster"
	SentryBootstrapAgentModeOutOfCluster SentryBootstrapAgentMode = "OutOfCluster"
)

func (SentryBootstrapAgentMode) ContextValidate

func (m SentryBootstrapAgentMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sentry bootstrap agent mode based on context it is used

func (SentryBootstrapAgentMode) Pointer

Pointer returns a pointer to a freshly-allocated SentryBootstrapAgentMode.

func (SentryBootstrapAgentMode) Validate

func (m SentryBootstrapAgentMode) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent mode

type SentryBootstrapAgentSpec

type SentryBootstrapAgentSpec struct {

	// agent mode
	AgentMode *SentryBootstrapAgentMode `json:"agentMode,omitempty"`

	// template ref
	TemplateRef string `json:"templateRef,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

SentryBootstrapAgentSpec sentry bootstrap agent spec

swagger:model sentryBootstrapAgentSpec

func (*SentryBootstrapAgentSpec) ContextValidate

func (m *SentryBootstrapAgentSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent spec based on the context it is used

func (*SentryBootstrapAgentSpec) MarshalBinary

func (m *SentryBootstrapAgentSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgentSpec) UnmarshalBinary

func (m *SentryBootstrapAgentSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgentSpec) Validate

func (m *SentryBootstrapAgentSpec) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent spec

type SentryBootstrapAgentState

type SentryBootstrapAgentState string

SentryBootstrapAgentState sentry bootstrap agent state

swagger:model sentryBootstrapAgentState

const (

	// SentryBootstrapAgentStateNotSet captures enum value "NotSet"
	SentryBootstrapAgentStateNotSet SentryBootstrapAgentState = "NotSet"

	// SentryBootstrapAgentStateNotRegistered captures enum value "NotRegistered"
	SentryBootstrapAgentStateNotRegistered SentryBootstrapAgentState = "NotRegistered"

	// SentryBootstrapAgentStateNotApproved captures enum value "NotApproved"
	SentryBootstrapAgentStateNotApproved SentryBootstrapAgentState = "NotApproved"

	// SentryBootstrapAgentStateApproved captures enum value "Approved"
	SentryBootstrapAgentStateApproved SentryBootstrapAgentState = "Approved"
)

func (SentryBootstrapAgentState) ContextValidate

func (m SentryBootstrapAgentState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sentry bootstrap agent state based on context it is used

func (SentryBootstrapAgentState) Pointer

Pointer returns a pointer to a freshly-allocated SentryBootstrapAgentState.

func (SentryBootstrapAgentState) Validate

func (m SentryBootstrapAgentState) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent state

type SentryBootstrapAgentTemplate

type SentryBootstrapAgentTemplate struct {

	// API Version
	//
	// API Version of the resource
	// Read Only: true
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind
	//
	// Kind of the resource
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// Metadata
	//
	// Metadata of the resource
	Metadata *V3Metadata `json:"metadata,omitempty"`

	// spec
	Spec *SentryBootstrapAgentTemplateSpec `json:"spec,omitempty"`

	// status
	Status SentryBootstrapAgentTemplateStatus `json:"status,omitempty"`
}

SentryBootstrapAgentTemplate sentry bootstrap agent template

swagger:model sentryBootstrapAgentTemplate

func (*SentryBootstrapAgentTemplate) ContextValidate

func (m *SentryBootstrapAgentTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent template based on the context it is used

func (*SentryBootstrapAgentTemplate) MarshalBinary

func (m *SentryBootstrapAgentTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgentTemplate) UnmarshalBinary

func (m *SentryBootstrapAgentTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgentTemplate) Validate

func (m *SentryBootstrapAgentTemplate) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap agent template

type SentryBootstrapAgentTemplateList

type SentryBootstrapAgentTemplateList struct {

	// API Version
	//
	// API Version of the list resource
	// Read Only: true
	APIVersion string `json:"apiVersion,omitempty"`

	// items
	Items []*SentryBootstrapAgentTemplate `json:"items"`

	// Kind
	//
	// Kind of the list resource
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// ListMetadata
	//
	// Metadata of the list resource
	// Read Only: true
	Metadata *V3ListMetadata `json:"metadata,omitempty"`
}

SentryBootstrapAgentTemplateList sentry bootstrap agent template list

swagger:model sentryBootstrapAgentTemplateList

func (*SentryBootstrapAgentTemplateList) ContextValidate

func (m *SentryBootstrapAgentTemplateList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent template list based on the context it is used

func (*SentryBootstrapAgentTemplateList) MarshalBinary

func (m *SentryBootstrapAgentTemplateList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgentTemplateList) UnmarshalBinary

func (m *SentryBootstrapAgentTemplateList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgentTemplateList) Validate

Validate validates this sentry bootstrap agent template list

type SentryBootstrapAgentTemplateSpec

type SentryBootstrapAgentTemplateSpec struct {

	// auto approve
	AutoApprove bool `json:"autoApprove,omitempty"`

	// auto register
	AutoRegister bool `json:"autoRegister,omitempty"`

	// hosts
	Hosts []*SentryBootstrapTemplateHost `json:"hosts"`

	// ignore multiple register
	IgnoreMultipleRegister bool `json:"ignoreMultipleRegister,omitempty"`

	// in cluster template
	InClusterTemplate string `json:"inClusterTemplate,omitempty"`

	// infra ref
	InfraRef string `json:"infraRef,omitempty"`

	// out of cluster template
	OutOfClusterTemplate string `json:"outOfClusterTemplate,omitempty"`

	// template type
	TemplateType *SentryBootstrapAgentTemplateType `json:"templateType,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

SentryBootstrapAgentTemplateSpec sentry bootstrap agent template spec

swagger:model sentryBootstrapAgentTemplateSpec

func (*SentryBootstrapAgentTemplateSpec) ContextValidate

func (m *SentryBootstrapAgentTemplateSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap agent template spec based on the context it is used

func (*SentryBootstrapAgentTemplateSpec) MarshalBinary

func (m *SentryBootstrapAgentTemplateSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapAgentTemplateSpec) UnmarshalBinary

func (m *SentryBootstrapAgentTemplateSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapAgentTemplateSpec) Validate

Validate validates this sentry bootstrap agent template spec

type SentryBootstrapAgentTemplateStatus

type SentryBootstrapAgentTemplateStatus interface{}

SentryBootstrapAgentTemplateStatus sentry bootstrap agent template status

swagger:model sentryBootstrapAgentTemplateStatus

type SentryBootstrapAgentTemplateType

type SentryBootstrapAgentTemplateType string

SentryBootstrapAgentTemplateType sentry bootstrap agent template type

swagger:model sentryBootstrapAgentTemplateType

const (

	// SentryBootstrapAgentTemplateTypeTemplateTypeNotSet captures enum value "TemplateTypeNotSet"
	SentryBootstrapAgentTemplateTypeTemplateTypeNotSet SentryBootstrapAgentTemplateType = "TemplateTypeNotSet"

	// SentryBootstrapAgentTemplateTypeClient captures enum value "Client"
	SentryBootstrapAgentTemplateTypeClient SentryBootstrapAgentTemplateType = "Client"

	// SentryBootstrapAgentTemplateTypeServer captures enum value "Server"
	SentryBootstrapAgentTemplateTypeServer SentryBootstrapAgentTemplateType = "Server"

	// SentryBootstrapAgentTemplateTypeMixed captures enum value "Mixed"
	SentryBootstrapAgentTemplateTypeMixed SentryBootstrapAgentTemplateType = "Mixed"
)

func (SentryBootstrapAgentTemplateType) ContextValidate

func (m SentryBootstrapAgentTemplateType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sentry bootstrap agent template type based on context it is used

func (SentryBootstrapAgentTemplateType) Pointer

Pointer returns a pointer to a freshly-allocated SentryBootstrapAgentTemplateType.

func (SentryBootstrapAgentTemplateType) Validate

Validate validates this sentry bootstrap agent template type

type SentryBootstrapInfra

type SentryBootstrapInfra struct {

	// API Version
	//
	// API Version of the resource
	// Read Only: true
	APIVersion string `json:"apiVersion,omitempty"`

	// Kind
	//
	// Kind of the resource
	// Read Only: true
	Kind string `json:"kind,omitempty"`

	// Metadata
	//
	// Metadata of the resource
	Metadata *V3Metadata `json:"metadata,omitempty"`

	// spec
	Spec *SentryBootstrapInfraSpec `json:"spec,omitempty"`

	// status
	Status SentryBootstrapInfraStatus `json:"status,omitempty"`
}

SentryBootstrapInfra sentry bootstrap infra

swagger:model sentryBootstrapInfra

func (*SentryBootstrapInfra) ContextValidate

func (m *SentryBootstrapInfra) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap infra based on the context it is used

func (*SentryBootstrapInfra) MarshalBinary

func (m *SentryBootstrapInfra) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapInfra) UnmarshalBinary

func (m *SentryBootstrapInfra) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapInfra) Validate

func (m *SentryBootstrapInfra) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap infra

type SentryBootstrapInfraSpec

type SentryBootstrapInfraSpec struct {

	// ca cert
	CaCert string `json:"caCert,omitempty"`

	// ca key
	CaKey string `json:"caKey,omitempty"`

	// ca key pass
	CaKeyPass string `json:"caKeyPass,omitempty"`
}

SentryBootstrapInfraSpec sentry bootstrap infra spec

swagger:model sentryBootstrapInfraSpec

func (*SentryBootstrapInfraSpec) ContextValidate

func (m *SentryBootstrapInfraSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sentry bootstrap infra spec based on context it is used

func (*SentryBootstrapInfraSpec) MarshalBinary

func (m *SentryBootstrapInfraSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapInfraSpec) UnmarshalBinary

func (m *SentryBootstrapInfraSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapInfraSpec) Validate

func (m *SentryBootstrapInfraSpec) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap infra spec

type SentryBootstrapInfraStatus

type SentryBootstrapInfraStatus interface{}

SentryBootstrapInfraStatus sentry bootstrap infra status

swagger:model sentryBootstrapInfraStatus

type SentryBootstrapTemplateHost

type SentryBootstrapTemplateHost struct {

	// host
	Host string `json:"host,omitempty"`

	// type
	Type *SentryBootstrapTemplateHostType `json:"type,omitempty"`
}

SentryBootstrapTemplateHost sentry bootstrap template host

swagger:model sentryBootstrapTemplateHost

func (*SentryBootstrapTemplateHost) ContextValidate

func (m *SentryBootstrapTemplateHost) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sentry bootstrap template host based on the context it is used

func (*SentryBootstrapTemplateHost) MarshalBinary

func (m *SentryBootstrapTemplateHost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SentryBootstrapTemplateHost) UnmarshalBinary

func (m *SentryBootstrapTemplateHost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SentryBootstrapTemplateHost) Validate

func (m *SentryBootstrapTemplateHost) Validate(formats strfmt.Registry) error

Validate validates this sentry bootstrap template host

type SentryBootstrapTemplateHostType

type SentryBootstrapTemplateHostType string

SentryBootstrapTemplateHostType sentry bootstrap template host type

swagger:model sentryBootstrapTemplateHostType

const (

	// SentryBootstrapTemplateHostTypeHostTypeNotSet captures enum value "HostTypeNotSet"
	SentryBootstrapTemplateHostTypeHostTypeNotSet SentryBootstrapTemplateHostType = "HostTypeNotSet"

	// SentryBootstrapTemplateHostTypeHostTypeInternal captures enum value "HostTypeInternal"
	SentryBootstrapTemplateHostTypeHostTypeInternal SentryBootstrapTemplateHostType = "HostTypeInternal"

	// SentryBootstrapTemplateHostTypeHostTypeExternal captures enum value "HostTypeExternal"
	SentryBootstrapTemplateHostTypeHostTypeExternal SentryBootstrapTemplateHostType = "HostTypeExternal"
)

func (SentryBootstrapTemplateHostType) ContextValidate

func (m SentryBootstrapTemplateHostType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sentry bootstrap template host type based on context it is used

func (SentryBootstrapTemplateHostType) Pointer

Pointer returns a pointer to a freshly-allocated SentryBootstrapTemplateHostType.

func (SentryBootstrapTemplateHostType) Validate

Validate validates this sentry bootstrap template host type

type V1FieldsV1

type V1FieldsV1 struct {

	// Raw is the underlying serialization of this object.
	// Format: byte
	Raw strfmt.Base64 `json:"Raw,omitempty"`
}

V1FieldsV1 FieldsV1 stores a set of fields in a data structure like a Trie, in JSON format.

Each key is either a '.' representing the field itself, and will always map to an empty set, or a string representing a sub-field or item. The string will follow one of these four formats: 'f:<name>', where <name> is the name of a field in a struct, or key in a map 'v:<value>', where <value> is the exact json formatted value of a list item 'i:<index>', where <index> is position of a item in a list 'k:<keys>', where <keys> is a map of a list item's key fields to their unique values If a key maps to an empty Fields value, the field that key represents is part of the set.

The exact format is defined in sigs.k8s.io/structured-merge-diff +protobuf.options.(gogoproto.goproto_stringer)=false

swagger:model v1FieldsV1

func (*V1FieldsV1) ContextValidate

func (m *V1FieldsV1) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 fields v1 based on context it is used

func (*V1FieldsV1) MarshalBinary

func (m *V1FieldsV1) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1FieldsV1) UnmarshalBinary

func (m *V1FieldsV1) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1FieldsV1) Validate

func (m *V1FieldsV1) Validate(formats strfmt.Registry) error

Validate validates this v1 fields v1

type V1ManagedFieldsEntry

type V1ManagedFieldsEntry struct {

	// APIVersion defines the version of this resource that this field set
	// applies to. The format is "group/version" just like the top-level
	// APIVersion field. It is necessary to track the version of a field
	// set because it cannot be automatically converted.
	APIVersion string `json:"apiVersion,omitempty"`

	// FieldsType is the discriminator for the different fields format and version.
	// There is currently only one possible value: "FieldsV1"
	FieldsType string `json:"fieldsType,omitempty"`

	// FieldsV1 holds the first JSON version format as described in the "FieldsV1" type.
	// +optional
	FieldsV1 *V1FieldsV1 `json:"fieldsV1,omitempty"`

	// Manager is an identifier of the workflow managing these fields.
	Manager string `json:"manager,omitempty"`

	// Operation is the type of operation which lead to this ManagedFieldsEntry being created.
	// The only valid values for this field are 'Apply' and 'Update'.
	Operation string `json:"operation,omitempty"`

	// Time is timestamp of when these fields were set. It should always be empty if Operation is 'Apply'
	// +optional
	Time *V1Time `json:"time,omitempty"`
}

V1ManagedFieldsEntry ManagedFieldsEntry is a workflow-id, a FieldSet and the group version of the resource that the fieldset applies to.

swagger:model v1ManagedFieldsEntry

func (*V1ManagedFieldsEntry) ContextValidate

func (m *V1ManagedFieldsEntry) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 managed fields entry based on the context it is used

func (*V1ManagedFieldsEntry) MarshalBinary

func (m *V1ManagedFieldsEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ManagedFieldsEntry) UnmarshalBinary

func (m *V1ManagedFieldsEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ManagedFieldsEntry) Validate

func (m *V1ManagedFieldsEntry) Validate(formats strfmt.Registry) error

Validate validates this v1 managed fields entry

type V1ObjectMeta

type V1ObjectMeta struct {

	// Annotations is an unstructured key value map stored with a resource that may be
	// set by external tools to store and retrieve arbitrary metadata. They are not
	// queryable and should be preserved when modifying objects.
	// More info: http://kubernetes.io/docs/user-guide/annotations
	// +optional
	Annotations map[string]string `json:"annotations,omitempty"`

	// The name of the cluster which the object belongs to.
	// This is used to distinguish resources with same name and namespace in different clusters.
	// This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request.
	// +optional
	ClusterName string `json:"clusterName,omitempty"`

	// CreationTimestamp is a timestamp representing the server time when this object was
	// created. It is not guaranteed to be set in happens-before order across separate operations.
	// Clients may not set this value. It is represented in RFC3339 form and is in UTC.
	//
	// Populated by the system.
	// Read-only.
	// Null for lists.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	CreationTimestamp *V1Time `json:"creationTimestamp,omitempty"`

	// Number of seconds allowed for this object to gracefully terminate before
	// it will be removed from the system. Only set when deletionTimestamp is also set.
	// May only be shortened.
	// Read-only.
	// +optional
	DeletionGracePeriodSeconds string `json:"deletionGracePeriodSeconds,omitempty"`

	// DeletionTimestamp is RFC 3339 date and time at which this resource will be deleted. This
	// field is set by the server when a graceful deletion is requested by the user, and is not
	// directly settable by a client. The resource is expected to be deleted (no longer visible
	// from resource lists, and not reachable by name) after the time in this field, once the
	// finalizers list is empty. As long as the finalizers list contains items, deletion is blocked.
	// Once the deletionTimestamp is set, this value may not be unset or be set further into the
	// future, although it may be shortened or the resource may be deleted prior to this time.
	// For example, a user may request that a pod is deleted in 30 seconds. The Kubelet will react
	// by sending a graceful termination signal to the containers in the pod. After that 30 seconds,
	// the Kubelet will send a hard termination signal (SIGKILL) to the container and after cleanup,
	// remove the pod from the API. In the presence of network partitions, this object may still
	// exist after this timestamp, until an administrator or automated process can determine the
	// resource is fully terminated.
	// If not set, graceful deletion of the object has not been requested.
	//
	// Populated by the system when a graceful deletion is requested.
	// Read-only.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	DeletionTimestamp *V1Time `json:"deletionTimestamp,omitempty"`

	// Must be empty before the object is deleted from the registry. Each entry
	// is an identifier for the responsible component that will remove the entry
	// from the list. If the deletionTimestamp of the object is non-nil, entries
	// in this list can only be removed.
	// Finalizers may be processed and removed in any order.  Order is NOT enforced
	// because it introduces significant risk of stuck finalizers.
	// finalizers is a shared field, any actor with permission can reorder it.
	// If the finalizer list is processed in order, then this can lead to a situation
	// in which the component responsible for the first finalizer in the list is
	// waiting for a signal (field value, external system, or other) produced by a
	// component responsible for a finalizer later in the list, resulting in a deadlock.
	// Without enforced ordering finalizers are free to order amongst themselves and
	// are not vulnerable to ordering changes in the list.
	// +optional
	// +patchStrategy=merge
	Finalizers []string `json:"finalizers"`

	// GenerateName is an optional prefix, used by the server, to generate a unique
	// name ONLY IF the Name field has not been provided.
	// If this field is used, the name returned to the client will be different
	// than the name passed. This value will also be combined with a unique suffix.
	// The provided value has the same validation rules as the Name field,
	// and may be truncated by the length of the suffix required to make the value
	// unique on the server.
	//
	// If this field is specified and the generated name exists, the server will
	// NOT return a 409 - instead, it will either return 201 Created or 500 with Reason
	// ServerTimeout indicating a unique name could not be found in the time allotted, and the client
	// should retry (optionally after the time indicated in the Retry-After header).
	//
	// Applied only if Name is not specified.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency
	// +optional
	GenerateName string `json:"generateName,omitempty"`

	// A sequence number representing a specific generation of the desired state.
	// Populated by the system. Read-only.
	// +optional
	Generation string `json:"generation,omitempty"`

	// Map of string keys and values that can be used to organize and categorize
	// (scope and select) objects. May match selectors of replication controllers
	// and services.
	// More info: http://kubernetes.io/docs/user-guide/labels
	// +optional
	Labels map[string]string `json:"labels,omitempty"`

	// ManagedFields maps workflow-id and version to the set of fields
	// that are managed by that workflow. This is mostly for internal
	// housekeeping, and users typically shouldn't need to set or
	// understand this field. A workflow can be the user's name, a
	// controller's name, or the name of a specific apply path like
	// "ci-cd". The set of fields is always in the version that the
	// workflow used when modifying the object.
	//
	// +optional
	ManagedFields []*V1ManagedFieldsEntry `json:"managedFields"`

	// Name must be unique within a namespace. Is required when creating resources, although
	// some resources may allow a client to request the generation of an appropriate name
	// automatically. Name is primarily intended for creation idempotence and configuration
	// definition.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	// +optional
	Name string `json:"name,omitempty"`

	// Namespace defines the space within which each name must be unique. An empty namespace is
	// equivalent to the "default" namespace, but "default" is the canonical representation.
	// Not all objects are required to be scoped to a namespace - the value of this field for
	// those objects will be empty.
	//
	// Must be a DNS_LABEL.
	// Cannot be updated.
	// More info: http://kubernetes.io/docs/user-guide/namespaces
	// +optional
	Namespace string `json:"namespace,omitempty"`

	// List of objects depended by this object. If ALL objects in the list have
	// been deleted, this object will be garbage collected. If this object is managed by a controller,
	// then an entry in this list will point to this controller, with the controller field set to true.
	// There cannot be more than one managing controller.
	// +optional
	// +patchMergeKey=uid
	// +patchStrategy=merge
	OwnerReferences []*V1OwnerReference `json:"ownerReferences"`

	// An opaque value that represents the internal version of this object that can
	// be used by clients to determine when objects have changed. May be used for optimistic
	// concurrency, change detection, and the watch operation on a resource or set of resources.
	// Clients must treat these values as opaque and passed unmodified back to the server.
	// They may only be valid for a particular resource or set of resources.
	//
	// Populated by the system.
	// Read-only.
	// Value must be treated as opaque by clients and .
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency
	// +optional
	ResourceVersion string `json:"resourceVersion,omitempty"`

	// SelfLink is a URL representing this object.
	// Populated by the system.
	// Read-only.
	//
	// DEPRECATED
	// Kubernetes will stop propagating this field in 1.20 release and the field is planned
	// to be removed in 1.21 release.
	// +optional
	SelfLink string `json:"selfLink,omitempty"`

	// UID is the unique in time and space value for this object. It is typically generated by
	// the server on successful creation of a resource and is not allowed to change on PUT
	// operations.
	//
	// Populated by the system.
	// Read-only.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	// +optional
	UID string `json:"uid,omitempty"`
}

V1ObjectMeta ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create.

swagger:model v1ObjectMeta

func (*V1ObjectMeta) ContextValidate

func (m *V1ObjectMeta) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v1 object meta based on the context it is used

func (*V1ObjectMeta) MarshalBinary

func (m *V1ObjectMeta) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1ObjectMeta) UnmarshalBinary

func (m *V1ObjectMeta) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1ObjectMeta) Validate

func (m *V1ObjectMeta) Validate(formats strfmt.Registry) error

Validate validates this v1 object meta

type V1OwnerReference

type V1OwnerReference struct {

	// API version of the referent.
	APIVersion string `json:"apiVersion,omitempty"`

	// If true, AND if the owner has the "foregroundDeletion" finalizer, then
	// the owner cannot be deleted from the key-value store until this
	// reference is removed.
	// Defaults to false.
	// To set this field, a user needs "delete" permission of the owner,
	// otherwise 422 (Unprocessable Entity) will be returned.
	// +optional
	BlockOwnerDeletion bool `json:"blockOwnerDeletion,omitempty"`

	// If true, this reference points to the managing controller.
	// +optional
	Controller bool `json:"controller,omitempty"`

	// Kind of the referent.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
	Kind string `json:"kind,omitempty"`

	// Name of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#names
	Name string `json:"name,omitempty"`

	// UID of the referent.
	// More info: http://kubernetes.io/docs/user-guide/identifiers#uids
	UID string `json:"uid,omitempty"`
}

V1OwnerReference OwnerReference contains enough information to let you identify an owning object. An owning object must be in the same namespace as the dependent, or be cluster-scoped, so there is no namespace field.

swagger:model v1OwnerReference

func (*V1OwnerReference) ContextValidate

func (m *V1OwnerReference) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 owner reference based on context it is used

func (*V1OwnerReference) MarshalBinary

func (m *V1OwnerReference) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1OwnerReference) UnmarshalBinary

func (m *V1OwnerReference) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1OwnerReference) Validate

func (m *V1OwnerReference) Validate(formats strfmt.Registry) error

Validate validates this v1 owner reference

type V1Time

type V1Time struct {

	// Non-negative fractions of a second at nanosecond resolution. Negative
	// second values with fractions must still have non-negative nanos values
	// that count forward in time. Must be from 0 to 999,999,999
	// inclusive. This field may be limited in precision depending on context.
	Nanos int32 `json:"nanos,omitempty"`

	// Represents seconds of UTC time since Unix epoch
	// 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to
	// 9999-12-31T23:59:59Z inclusive.
	Seconds string `json:"seconds,omitempty"`
}

V1Time Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers.

+protobuf.options.marshal=false +protobuf.as=Timestamp +protobuf.options.(gogoproto.goproto_stringer)=false

swagger:model v1Time

func (*V1Time) ContextValidate

func (m *V1Time) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v1 time based on context it is used

func (*V1Time) MarshalBinary

func (m *V1Time) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V1Time) UnmarshalBinary

func (m *V1Time) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V1Time) Validate

func (m *V1Time) Validate(formats strfmt.Registry) error

Validate validates this v1 time

type V3HTTPBody

type V3HTTPBody struct {

	// The HTTP Content-Type header value specifying the content type of the body.
	ContentType string `json:"contentType,omitempty"`

	// The HTTP request/response body as raw binary.
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`
}

V3HTTPBody HttpBody represents arbitrary HTTP Body. It should only be used for payload formats that can't be represented as JSON

swagger:model v3HttpBody

func (*V3HTTPBody) ContextValidate

func (m *V3HTTPBody) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v3 Http body based on context it is used

func (*V3HTTPBody) MarshalBinary

func (m *V3HTTPBody) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V3HTTPBody) UnmarshalBinary

func (m *V3HTTPBody) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V3HTTPBody) Validate

func (m *V3HTTPBody) Validate(formats strfmt.Registry) error

Validate validates this v3 Http body

type V3ListMetadata

type V3ListMetadata struct {

	// count
	Count string `json:"count,omitempty"`

	// limit
	Limit string `json:"limit,omitempty"`

	// offset
	Offset string `json:"offset,omitempty"`
}

V3ListMetadata $title: ListMetadata $description: metadata for a list of resources $required: enabled

swagger:model v3ListMetadata

func (*V3ListMetadata) ContextValidate

func (m *V3ListMetadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v3 list metadata based on context it is used

func (*V3ListMetadata) MarshalBinary

func (m *V3ListMetadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V3ListMetadata) UnmarshalBinary

func (m *V3ListMetadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V3ListMetadata) Validate

func (m *V3ListMetadata) Validate(formats strfmt.Registry) error

Validate validates this v3 list metadata

type V3Metadata

type V3Metadata struct {

	// Annotations
	//
	// annotations of the resource
	Annotations map[string]string `json:"annotations,omitempty"`

	// Description
	//
	// description of the resource
	Description string `json:"description,omitempty"`

	// Display Name
	//
	// display name of the resource
	DisplayName string `json:"displayName,omitempty"`

	// id
	// Read Only: true
	ID string `json:"id,omitempty"`

	// Lables
	//
	// labels of the resource
	Labels map[string]string `json:"labels,omitempty"`

	// modified at
	// Read Only: true
	// Format: date-time
	ModifiedAt strfmt.DateTime `json:"modifiedAt,omitempty"`

	// Name
	//
	// name of the resource
	// Required: true
	Name *string `json:"name"`

	// Organization
	//
	// Organization to which the resource belongs
	Organization string `json:"organization,omitempty"`

	// Partner
	//
	// Partner to which the resource belongs
	Partner string `json:"partner,omitempty"`

	// Project
	//
	// Project of the resource
	// Required: true
	Project *string `json:"project"`
}

V3Metadata Metadata

metadata of the resource Example: {"name":"some-name","project":"defaultproject"}

swagger:model v3Metadata

func (*V3Metadata) ContextValidate

func (m *V3Metadata) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v3 metadata based on the context it is used

func (*V3Metadata) MarshalBinary

func (m *V3Metadata) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V3Metadata) UnmarshalBinary

func (m *V3Metadata) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V3Metadata) Validate

func (m *V3Metadata) Validate(formats strfmt.Registry) error

Validate validates this v3 metadata

type V3QueryOptions

type V3QueryOptions struct {

	// ID
	ID string `json:"ID,omitempty"`

	// account
	Account string `json:"account,omitempty"`

	// annotations only used for update queries to set annotations (READONLY)
	Annotations map[string]string `json:"annotations,omitempty"`

	// blueprint ref
	BlueprintRef string `json:"blueprintRef,omitempty"`

	// cluster ID
	ClusterID string `json:"clusterID,omitempty"`

	// count
	Count string `json:"count,omitempty"`

	// deleted
	Deleted bool `json:"deleted,omitempty"`

	// displayName only used for update queries to set displayName (READONLY)
	DisplayName string `json:"displayName,omitempty"`

	// extended
	Extended bool `json:"extended,omitempty"`

	// globalScope sets partnerID,organizationID,projectID = 0
	GlobalScope bool `json:"globalScope,omitempty"`

	// groups
	Groups []string `json:"groups"`

	// ignoreScopeDefault ignores default values for partnerID, organizationID and
	// projectID
	IgnoreScopeDefault bool `json:"ignoreScopeDefault,omitempty"`

	// is s s o user
	IsSSOUser bool `json:"isSSOUser,omitempty"`

	// labels only used for update queries to set labels (READONLY)
	Labels map[string]string `json:"labels,omitempty"`

	// limit
	Limit string `json:"limit,omitempty"`

	// name is unique ID of a resource along with (partnerID, organizationID,
	// projectID)
	Name string `json:"name,omitempty"`

	// offset
	Offset string `json:"offset,omitempty"`

	// order
	Order string `json:"order,omitempty"`

	// order by
	OrderBy string `json:"orderBy,omitempty"`

	// organization
	Organization string `json:"organization,omitempty"`

	// partner
	Partner string `json:"partner,omitempty"`

	// project
	Project string `json:"project,omitempty"`

	// published version
	PublishedVersion string `json:"publishedVersion,omitempty"`

	// selector is used to filter the labels of a resource
	Selector string `json:"selector,omitempty"`

	// urlScope is supposed to be passed in the URL as kind/HashID(value)
	URLScope string `json:"urlScope,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

V3QueryOptions QueryOptions is the options for performing queries on resources

swagger:model v3QueryOptions

func (*V3QueryOptions) ContextValidate

func (m *V3QueryOptions) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v3 query options based on context it is used

func (*V3QueryOptions) MarshalBinary

func (m *V3QueryOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*V3QueryOptions) UnmarshalBinary

func (m *V3QueryOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*V3QueryOptions) Validate

func (m *V3QueryOptions) Validate(formats strfmt.Registry) error

Validate validates this v3 query options

Jump to

Keyboard shortcuts

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