models

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {

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

	// message
	// Required: true
	Message *string `json:"message"`
}

func (*Error) MarshalBinary

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

MarshalBinary interface implementation

func (*Error) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Error) Validate

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

Validate validates this error

type GetSecretsOKBody

type GetSecretsOKBody []*Secret

func (GetSecretsOKBody) Validate

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

Validate validates this get secrets o k body

type Secret

type Secret struct {

	// id
	// Read Only: true
	ID strfmt.UUID `json:"id,omitempty"`

	// name
	// Required: true
	// Pattern: ^[\w\d\-]+$
	Name *string `json:"name"`

	// secrets
	Secrets SecretValue `json:"secrets,omitempty"`
}

func (*Secret) MarshalBinary

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

MarshalBinary interface implementation

func (*Secret) UnmarshalBinary

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

UnmarshalBinary interface implementation

func (*Secret) Validate

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

Validate validates this secret

type SecretValue

type SecretValue map[string]string

func (SecretValue) Validate

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

Validate validates this secret value

Jump to

Keyboard shortcuts

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