models

package
v0.0.0-...-538e00c Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtobufAny

type ProtobufAny struct {

	// type url
	TypeURL string `json:"type_url,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,omitempty"`
}

ProtobufAny protobuf any

swagger:model protobufAny

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 RuntimeError

type RuntimeError struct {

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

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

	// error
	Error string `json:"error,omitempty"`

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

RuntimeError runtime error

swagger:model runtimeError

func (*RuntimeError) MarshalBinary

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

MarshalBinary interface implementation

func (*RuntimeError) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*RuntimeError) Validate

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

Validate validates this runtime error

type V1alpha1HostSignersResponse

type V1alpha1HostSignersResponse struct {

	// verification keys
	VerificationKeys []*V1alpha1VerificationKey `json:"verification_keys"`
}

V1alpha1HostSignersResponse v1alpha1 host signers response

swagger:model v1alpha1HostSignersResponse

func (*V1alpha1HostSignersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1HostSignersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1HostSignersResponse) Validate

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

Validate validates this v1alpha1 host signers response

type V1alpha1SignHostKeyRequest

type V1alpha1SignHostKeyRequest struct {

	// The hostnames to embed in the certificate principals
	Hostnames []string `json:"hostnames"`

	// The host key to sign, in authorized_keys format
	PublicKey string `json:"public_key,omitempty"`
}

V1alpha1SignHostKeyRequest v1alpha1 sign host key request

swagger:model v1alpha1SignHostKeyRequest

func (*V1alpha1SignHostKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1SignHostKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1SignHostKeyRequest) Validate

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

Validate validates this v1alpha1 sign host key request

type V1alpha1SignHostKeyResponse

type V1alpha1SignHostKeyResponse struct {

	// signed host key, in authorized_keys format
	SignedCertificate string `json:"signed_certificate,omitempty"`
}

V1alpha1SignHostKeyResponse v1alpha1 sign host key response

swagger:model v1alpha1SignHostKeyResponse

func (*V1alpha1SignHostKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1SignHostKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1SignHostKeyResponse) Validate

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

Validate validates this v1alpha1 sign host key response

type V1alpha1SignUserKeyRequest

type V1alpha1SignUserKeyRequest struct {

	// The users public key to sign, in authorized_keys format
	PublicKey string `json:"public_key,omitempty"`
}

V1alpha1SignUserKeyRequest v1alpha1 sign user key request

swagger:model v1alpha1SignUserKeyRequest

func (*V1alpha1SignUserKeyRequest) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1SignUserKeyRequest) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1SignUserKeyRequest) Validate

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

Validate validates this v1alpha1 sign user key request

type V1alpha1SignUserKeyResponse

type V1alpha1SignUserKeyResponse struct {

	// signed certificate to use to connect to the host, in authorized_keys format
	SignedCertificate string `json:"signed_certificate,omitempty"`
}

V1alpha1SignUserKeyResponse v1alpha1 sign user key response

swagger:model v1alpha1SignUserKeyResponse

func (*V1alpha1SignUserKeyResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1SignUserKeyResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1SignUserKeyResponse) Validate

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

Validate validates this v1alpha1 sign user key response

type V1alpha1UserSignersResponse

type V1alpha1UserSignersResponse struct {

	// verification keys
	VerificationKeys []*V1alpha1VerificationKey `json:"verification_keys"`
}

V1alpha1UserSignersResponse v1alpha1 user signers response

swagger:model v1alpha1UserSignersResponse

func (*V1alpha1UserSignersResponse) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1UserSignersResponse) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1UserSignersResponse) Validate

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

Validate validates this v1alpha1 user signers response

type V1alpha1VerificationKey

type V1alpha1VerificationKey struct {

	// expiry
	// Format: date-time
	Expiry strfmt.DateTime `json:"expiry,omitempty"`

	// SSH authorized_keys format
	// Format: byte
	Key strfmt.Base64 `json:"key,omitempty"`
}

V1alpha1VerificationKey v1alpha1 verification key

swagger:model v1alpha1VerificationKey

func (*V1alpha1VerificationKey) MarshalBinary

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

MarshalBinary interface implementation

func (*V1alpha1VerificationKey) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*V1alpha1VerificationKey) Validate

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

Validate validates this v1alpha1 verification key

Jump to

Keyboard shortcuts

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