swagger_models

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AAAFailureResponse ¶

type AAAFailureResponse struct {

	// credential
	Credential *AAAFailureResponseCredentialChange `json:"credential,omitempty"`

	// details
	Details *AAAFailureResponseSessionDetails `json:"details,omitempty"`

	// generate token
	GenerateToken *AAAFailureResponseGenerateToken `json:"generateToken,omitempty"`

	// login
	Login *AAAFailureResponseLogin `json:"login,omitempty"`

	// logout
	Logout *AAAFailureResponseLogout `json:"logout,omitempty"`

	// query session details
	QuerySessionDetails *AAAFailureResponseQueryAllSessionDetails `json:"querySessionDetails,omitempty"`

	// refresh
	Refresh *AAAFailureTokenRefresh `json:"refresh,omitempty"`

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

AAAFailureResponse a a a failure response

swagger:model AAAFailureResponse

func (*AAAFailureResponse) ContextValidate ¶

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

ContextValidate validate this a a a failure response based on the context it is used

func (*AAAFailureResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponse) Validate ¶

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

Validate validates this a a a failure response

type AAAFailureResponseCredentialChange ¶

type AAAFailureResponseCredentialChange struct {

	// cause
	Cause *AAAFailureResponseCredentialChangeCause `json:"cause,omitempty"`
}

AAAFailureResponseCredentialChange a a a failure response credential change

swagger:model AAAFailureResponseCredentialChange

func (*AAAFailureResponseCredentialChange) ContextValidate ¶

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

ContextValidate validate this a a a failure response credential change based on the context it is used

func (*AAAFailureResponseCredentialChange) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseCredentialChange) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseCredentialChange) Validate ¶

Validate validates this a a a failure response credential change

type AAAFailureResponseCredentialChangeCause ¶

type AAAFailureResponseCredentialChangeCause string

AAAFailureResponseCredentialChangeCause a a a failure response credential change cause

swagger:model AAAFailureResponseCredentialChangeCause

const (

	// AAAFailureResponseCredentialChangeCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseCredentialChangeCauseINVALID AAAFailureResponseCredentialChangeCause = "__INVALID__"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseUnknown captures enum value "AAAFailureResponseCredentialChangeCauseUnknown"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseUnknown AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseUnknown"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAuthenticationFailure captures enum value "AAAFailureResponseCredentialChangeCauseAuthenticationFailure"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAuthenticationFailure AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseAuthenticationFailure"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePermissionDenied captures enum value "AAAFailureResponseCredentialChangeCausePermissionDenied"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePermissionDenied AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCausePermissionDenied"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseInternalServerError captures enum value "AAAFailureResponseCredentialChangeCauseInternalServerError"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseInternalServerError AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseInternalServerError"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAlreadyExists captures enum value "AAAFailureResponseCredentialChangeCauseAlreadyExists"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseAlreadyExists AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseAlreadyExists"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePasswordTooSimple captures enum value "AAAFailureResponseCredentialChangeCausePasswordTooSimple"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCausePasswordTooSimple AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCausePasswordTooSimple"

	// AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseNotFound captures enum value "AAAFailureResponseCredentialChangeCauseNotFound"
	AAAFailureResponseCredentialChangeCauseAAAFailureResponseCredentialChangeCauseNotFound AAAFailureResponseCredentialChangeCause = "AAAFailureResponseCredentialChangeCauseNotFound"
)

func (AAAFailureResponseCredentialChangeCause) ContextValidate ¶

ContextValidate validates this a a a failure response credential change cause based on context it is used

func (AAAFailureResponseCredentialChangeCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseCredentialChangeCause.

func (AAAFailureResponseCredentialChangeCause) Validate ¶

Validate validates this a a a failure response credential change cause

type AAAFailureResponseGenerateToken ¶

type AAAFailureResponseGenerateToken struct {

	// cause
	Cause *AAAFailureResponseGenerateTokenCause `json:"cause,omitempty"`

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

AAAFailureResponseGenerateToken a a a failure response generate token

swagger:model AAAFailureResponseGenerateToken

func (*AAAFailureResponseGenerateToken) ContextValidate ¶

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

ContextValidate validate this a a a failure response generate token based on the context it is used

func (*AAAFailureResponseGenerateToken) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseGenerateToken) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseGenerateToken) Validate ¶

Validate validates this a a a failure response generate token

type AAAFailureResponseGenerateTokenCause ¶

type AAAFailureResponseGenerateTokenCause string

AAAFailureResponseGenerateTokenCause a a a failure response generate token cause

swagger:model AAAFailureResponseGenerateTokenCause

const (

	// AAAFailureResponseGenerateTokenCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseGenerateTokenCauseINVALID AAAFailureResponseGenerateTokenCause = "__INVALID__"

	// AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseUserUnknown captures enum value "AAAFailureResponseGenerateTokenCauseUserUnknown"
	AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseUserUnknown AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseUserUnknown"

	// AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseException captures enum value "AAAFailureResponseGenerateTokenCauseException"
	AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseException AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseException"

	// AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseEnterpriseUnknown captures enum value "AAAFailureResponseGenerateTokenCauseEnterpriseUnknown"
	AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseEnterpriseUnknown AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseEnterpriseUnknown"

	// AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseForbidden captures enum value "AAAFailureResponseGenerateTokenCauseForbidden"
	AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseForbidden AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseForbidden"

	// AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseInternalError captures enum value "AAAFailureResponseGenerateTokenCauseInternalError"
	AAAFailureResponseGenerateTokenCauseAAAFailureResponseGenerateTokenCauseInternalError AAAFailureResponseGenerateTokenCause = "AAAFailureResponseGenerateTokenCauseInternalError"
)

func (AAAFailureResponseGenerateTokenCause) ContextValidate ¶

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

ContextValidate validates this a a a failure response generate token cause based on context it is used

func (AAAFailureResponseGenerateTokenCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseGenerateTokenCause.

func (AAAFailureResponseGenerateTokenCause) Validate ¶

Validate validates this a a a failure response generate token cause

type AAAFailureResponseLogin ¶

type AAAFailureResponseLogin struct {

	// cause
	Cause *AAAFailureResponseLoginCause `json:"cause,omitempty"`

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

	// no of login attempts left
	NoOfLoginAttemptsLeft int64 `json:"noOfLoginAttemptsLeft,omitempty"`

	// Sessions depend heavily on AAASuccessResponseLogin. In case of password expired,
	// we need temporary token. We can not generate a temporary token for password reset with
	// AAAFailureResponseLogin itself. Therefore, adding this tempSuccessResponse, to be used to create new session.
	TempSuccessResponse *AAASuccessResponseLogin `json:"tempSuccessResponse,omitempty"`

	// temp token
	TempToken *Token64 `json:"tempToken,omitempty"`
}

AAAFailureResponseLogin a a a failure response login

swagger:model AAAFailureResponseLogin

func (*AAAFailureResponseLogin) ContextValidate ¶

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

ContextValidate validate this a a a failure response login based on the context it is used

func (*AAAFailureResponseLogin) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseLogin) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseLogin) Validate ¶

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

Validate validates this a a a failure response login

type AAAFailureResponseLoginCause ¶

type AAAFailureResponseLoginCause string

AAAFailureResponseLoginCause Reason why authentication failed, this is more detailed than should be passed on to external clients

swagger:model AAAFailureResponseLoginCause

const (

	// AAAFailureResponseLoginCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseLoginCauseINVALID AAAFailureResponseLoginCause = "__INVALID__"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseGarbage captures enum value "AAAFailureResponseLoginCauseGarbage"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseGarbage AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseGarbage"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRealmUnknown captures enum value "AAAFailureResponseLoginCauseRealmUnknown"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRealmUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseRealmUnknown"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknown captures enum value "AAAFailureResponseLoginCauseUserUnknown"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserUnknown"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSuspended captures enum value "AAAFailureResponseLoginCauseUserSuspended"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSuspended AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserSuspended"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatch captures enum value "AAAFailureResponseLoginCausePasswordMismatch"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatch AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordMismatch"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseChallengeMismatch captures enum value "AAAFailureResponseLoginCauseChallengeMismatch"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseChallengeMismatch AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseChallengeMismatch"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseNoSuchCredentials captures enum value "AAAFailureResponseLoginCauseNoSuchCredentials"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseNoSuchCredentials AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseNoSuchCredentials"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseException captures enum value "AAAFailureResponseLoginCauseException"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseException AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseException"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknown captures enum value "AAAFailureResponseLoginCauseEnterpriseUnknown"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseUnknown"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseSchemeUnknown captures enum value "AAAFailureResponseLoginCauseSchemeUnknown"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseSchemeUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseSchemeUnknown"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSignedupState captures enum value "AAAFailureResponseLoginCauseUserSignedupState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserSignedupState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserSignedupState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRoleUnknown captures enum value "AAAFailureResponseLoginCauseRoleUnknown"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseRoleUnknown AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseRoleUnknown"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUpdateLastLoginTimeFailed captures enum value "AAAFailureResponseLoginCauseUpdateLastLoginTimeFailed"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUpdateLastLoginTimeFailed AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUpdateLastLoginTimeFailed"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseInactive captures enum value "AAAFailureResponseLoginCauseEnterpriseInactive"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseInactive AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseInactive"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserInactive captures enum value "AAAFailureResponseLoginCauseUserInactive"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserInactive AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserInactive"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseSignedupState captures enum value "AAAFailureResponseLoginCauseEnterpriseSignedupState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseSignedupState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseSignedupState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknownState captures enum value "AAAFailureResponseLoginCauseEnterpriseUnknownState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseUnknownState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseUnknownState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknownState captures enum value "AAAFailureResponseLoginCauseUserUnknownState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserUnknownState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserUnknownState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseCreatedState captures enum value "AAAFailureResponseLoginCauseEnterpriseCreatedState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseEnterpriseCreatedState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseEnterpriseCreatedState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserCreatedState captures enum value "AAAFailureResponseLoginCauseUserCreatedState"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCauseUserCreatedState AAAFailureResponseLoginCause = "AAAFailureResponseLoginCauseUserCreatedState"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt captures enum value "AAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordMismatchAndMaxFailedPwdAttempt"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordDecryptionFailed captures enum value "AAAFailureResponseLoginCausePasswordDecryptionFailed"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordDecryptionFailed AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordDecryptionFailed"

	// AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordExpired captures enum value "AAAFailureResponseLoginCausePasswordExpired"
	AAAFailureResponseLoginCauseAAAFailureResponseLoginCausePasswordExpired AAAFailureResponseLoginCause = "AAAFailureResponseLoginCausePasswordExpired"
)

func (AAAFailureResponseLoginCause) ContextValidate ¶

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

ContextValidate validates this a a a failure response login cause based on context it is used

func (AAAFailureResponseLoginCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseLoginCause.

func (AAAFailureResponseLoginCause) Validate ¶

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

Validate validates this a a a failure response login cause

type AAAFailureResponseLogout ¶

type AAAFailureResponseLogout struct {

	// cause
	Cause *AAAFailureResponseLogoutCause `json:"cause,omitempty"`

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

	// original
	Original *OpaqueToken64 `json:"original,omitempty"`
}

AAAFailureResponseLogout a a a failure response logout

swagger:model AAAFailureResponseLogout

func (*AAAFailureResponseLogout) ContextValidate ¶

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

ContextValidate validate this a a a failure response logout based on the context it is used

func (*AAAFailureResponseLogout) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseLogout) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseLogout) Validate ¶

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

Validate validates this a a a failure response logout

type AAAFailureResponseLogoutCause ¶

type AAAFailureResponseLogoutCause string

AAAFailureResponseLogoutCause a a a failure response logout cause

swagger:model AAAFailureResponseLogoutCause

const (

	// AAAFailureResponseLogoutCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseLogoutCauseINVALID AAAFailureResponseLogoutCause = "__INVALID__"

	// AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseUnknown captures enum value "AAAFailureResponseLogoutCauseUnknown"
	AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseUnknown AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseUnknown"

	// AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseGarbage captures enum value "AAAFailureResponseLogoutCauseGarbage"
	AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseGarbage AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseGarbage"

	// AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseExpired captures enum value "AAAFailureResponseLogoutCauseExpired"
	AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseExpired AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseExpired"

	// AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseNoSuchSession captures enum value "AAAFailureResponseLogoutCauseNoSuchSession"
	AAAFailureResponseLogoutCauseAAAFailureResponseLogoutCauseNoSuchSession AAAFailureResponseLogoutCause = "AAAFailureResponseLogoutCauseNoSuchSession"
)

func (AAAFailureResponseLogoutCause) ContextValidate ¶

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

ContextValidate validates this a a a failure response logout cause based on context it is used

func (AAAFailureResponseLogoutCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseLogoutCause.

func (AAAFailureResponseLogoutCause) Validate ¶

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

Validate validates this a a a failure response logout cause

type AAAFailureResponseQueryAllSessionDetails ¶

type AAAFailureResponseQueryAllSessionDetails struct {

	// cause
	Cause *AAAFailureResponseQueryAllSessionDetailsCause `json:"cause,omitempty"`

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

AAAFailureResponseQueryAllSessionDetails a a a failure response query all session details

swagger:model AAAFailureResponseQueryAllSessionDetails

func (*AAAFailureResponseQueryAllSessionDetails) ContextValidate ¶

ContextValidate validate this a a a failure response query all session details based on the context it is used

func (*AAAFailureResponseQueryAllSessionDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseQueryAllSessionDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseQueryAllSessionDetails) Validate ¶

Validate validates this a a a failure response query all session details

type AAAFailureResponseQueryAllSessionDetailsCause ¶

type AAAFailureResponseQueryAllSessionDetailsCause string

AAAFailureResponseQueryAllSessionDetailsCause a a a failure response query all session details cause

swagger:model AAAFailureResponseQueryAllSessionDetailsCause

const (

	// AAAFailureResponseQueryAllSessionDetailsCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseQueryAllSessionDetailsCauseINVALID AAAFailureResponseQueryAllSessionDetailsCause = "__INVALID__"

	// AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnknown captures enum value "AAAFailureResponseQueryAllSessionDetailsCauseUnknown"
	AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnknown AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUnknown"

	// AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess captures enum value "AAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess"
	AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUnauthorizedAccess"

	// AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUserUnknown captures enum value "AAAFailureResponseQueryAllSessionDetailsCauseUserUnknown"
	AAAFailureResponseQueryAllSessionDetailsCauseAAAFailureResponseQueryAllSessionDetailsCauseUserUnknown AAAFailureResponseQueryAllSessionDetailsCause = "AAAFailureResponseQueryAllSessionDetailsCauseUserUnknown"
)

func (AAAFailureResponseQueryAllSessionDetailsCause) ContextValidate ¶

ContextValidate validates this a a a failure response query all session details cause based on context it is used

func (AAAFailureResponseQueryAllSessionDetailsCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseQueryAllSessionDetailsCause.

func (AAAFailureResponseQueryAllSessionDetailsCause) Validate ¶

Validate validates this a a a failure response query all session details cause

type AAAFailureResponseSessionDetails ¶

type AAAFailureResponseSessionDetails struct {

	// cause
	Cause *AAAFailureResponseSessionDetailsCause `json:"cause,omitempty"`

	// original
	Original *OpaqueToken64 `json:"original,omitempty"`
}

AAAFailureResponseSessionDetails a a a failure response session details

swagger:model AAAFailureResponseSessionDetails

func (*AAAFailureResponseSessionDetails) ContextValidate ¶

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

ContextValidate validate this a a a failure response session details based on the context it is used

func (*AAAFailureResponseSessionDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureResponseSessionDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureResponseSessionDetails) Validate ¶

Validate validates this a a a failure response session details

type AAAFailureResponseSessionDetailsCause ¶

type AAAFailureResponseSessionDetailsCause string

AAAFailureResponseSessionDetailsCause a a a failure response session details cause

swagger:model AAAFailureResponseSessionDetailsCause

const (

	// AAAFailureResponseSessionDetailsCauseINVALID captures enum value "__INVALID__"
	AAAFailureResponseSessionDetailsCauseINVALID AAAFailureResponseSessionDetailsCause = "__INVALID__"

	// AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseUnknown captures enum value "AAAFailureResponseSessionDetailsCauseUnknown"
	AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseUnknown AAAFailureResponseSessionDetailsCause = "AAAFailureResponseSessionDetailsCauseUnknown"

	// AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseNoSuchSession captures enum value "AAAFailureResponseSessionDetailsCauseNoSuchSession"
	AAAFailureResponseSessionDetailsCauseAAAFailureResponseSessionDetailsCauseNoSuchSession AAAFailureResponseSessionDetailsCause = "AAAFailureResponseSessionDetailsCauseNoSuchSession"
)

func (AAAFailureResponseSessionDetailsCause) ContextValidate ¶

ContextValidate validates this a a a failure response session details cause based on context it is used

func (AAAFailureResponseSessionDetailsCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseSessionDetailsCause.

func (AAAFailureResponseSessionDetailsCause) Validate ¶

Validate validates this a a a failure response session details cause

type AAAFailureResponseType ¶

type AAAFailureResponseType string

AAAFailureResponseType a a a failure response type

swagger:model AAAFailureResponseType

const (

	// AAAFailureResponseTypeINVALID captures enum value "__INVALID__"
	AAAFailureResponseTypeINVALID AAAFailureResponseType = "__INVALID__"

	// AAAFailureResponseTypeAAAFailureResponseTypeNone captures enum value "AAAFailureResponseTypeNone"
	AAAFailureResponseTypeAAAFailureResponseTypeNone AAAFailureResponseType = "AAAFailureResponseTypeNone"

	// AAAFailureResponseTypeAAAFailureResponseTypeLogin captures enum value "AAAFailureResponseTypeLogin"
	AAAFailureResponseTypeAAAFailureResponseTypeLogin AAAFailureResponseType = "AAAFailureResponseTypeLogin"

	// AAAFailureResponseTypeAAAFailureResponseTypeRefresh captures enum value "AAAFailureResponseTypeRefresh"
	AAAFailureResponseTypeAAAFailureResponseTypeRefresh AAAFailureResponseType = "AAAFailureResponseTypeRefresh"

	// AAAFailureResponseTypeAAAFailureResponseTypeLogout captures enum value "AAAFailureResponseTypeLogout"
	AAAFailureResponseTypeAAAFailureResponseTypeLogout AAAFailureResponseType = "AAAFailureResponseTypeLogout"

	// AAAFailureResponseTypeAAAFailureResponseTypeSessionDetails captures enum value "AAAFailureResponseTypeSessionDetails"
	AAAFailureResponseTypeAAAFailureResponseTypeSessionDetails AAAFailureResponseType = "AAAFailureResponseTypeSessionDetails"

	// AAAFailureResponseTypeAAAFailureResponseTypeCredentialChange captures enum value "AAAFailureResponseTypeCredentialChange"
	AAAFailureResponseTypeAAAFailureResponseTypeCredentialChange AAAFailureResponseType = "AAAFailureResponseTypeCredentialChange"

	// AAAFailureResponseTypeAAAFailureResponseTypeQueryAllSessionDetails captures enum value "AAAFailureResponseTypeQueryAllSessionDetails"
	AAAFailureResponseTypeAAAFailureResponseTypeQueryAllSessionDetails AAAFailureResponseType = "AAAFailureResponseTypeQueryAllSessionDetails"

	// AAAFailureResponseTypeAAAFailureResponseTypeGenerateToken captures enum value "AAAFailureResponseTypeGenerateToken"
	AAAFailureResponseTypeAAAFailureResponseTypeGenerateToken AAAFailureResponseType = "AAAFailureResponseTypeGenerateToken"
)

func NewAAAFailureResponseType ¶

func NewAAAFailureResponseType(value AAAFailureResponseType) *AAAFailureResponseType

func (AAAFailureResponseType) ContextValidate ¶

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

ContextValidate validates this a a a failure response type based on context it is used

func (AAAFailureResponseType) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureResponseType.

func (AAAFailureResponseType) Validate ¶

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

Validate validates this a a a failure response type

type AAAFailureTokenRefresh ¶

type AAAFailureTokenRefresh struct {

	// cause
	Cause *AAAFailureTokenRefreshCause `json:"cause,omitempty"`

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

	// original
	Original *OpaqueToken64 `json:"original,omitempty"`
}

AAAFailureTokenRefresh The token did not get refreshed for a specific reason. Supplies original token in the response

swagger:model AAAFailureTokenRefresh

func (*AAAFailureTokenRefresh) ContextValidate ¶

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

ContextValidate validate this a a a failure token refresh based on the context it is used

func (*AAAFailureTokenRefresh) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFailureTokenRefresh) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFailureTokenRefresh) Validate ¶

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

Validate validates this a a a failure token refresh

type AAAFailureTokenRefreshCause ¶

type AAAFailureTokenRefreshCause string

AAAFailureTokenRefreshCause Reason why token refresh failed

swagger:model AAAFailureTokenRefreshCause

const (

	// AAAFailureTokenRefreshCauseINVALID captures enum value "__INVALID__"
	AAAFailureTokenRefreshCauseINVALID AAAFailureTokenRefreshCause = "__INVALID__"

	// AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseExpired captures enum value "AAAFailureTokenRefreshCauseExpired"
	AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseExpired AAAFailureTokenRefreshCause = "AAAFailureTokenRefreshCauseExpired"

	// AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseUnknown captures enum value "AAAFailureTokenRefreshCauseUnknown"
	AAAFailureTokenRefreshCauseAAAFailureTokenRefreshCauseUnknown AAAFailureTokenRefreshCause = "AAAFailureTokenRefreshCauseUnknown"
)

func (AAAFailureTokenRefreshCause) ContextValidate ¶

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

ContextValidate validates this a a a failure token refresh cause based on context it is used

func (AAAFailureTokenRefreshCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFailureTokenRefreshCause.

func (AAAFailureTokenRefreshCause) Validate ¶

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

Validate validates this a a a failure token refresh cause

type AAAFrontendGenerateTokenResponse ¶

type AAAFrontendGenerateTokenResponse struct {

	// cause
	Cause *AAAFrontendGenerateTokenResponseCause `json:"cause,omitempty"`

	// client Ip
	ClientIP string `json:"clientIp,omitempty"`

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

	// expires at
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

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

	// user agent
	UserAgent string `json:"userAgent,omitempty"`

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

AAAFrontendGenerateTokenResponse a a a frontend generate token response

swagger:model AAA_Frontend_GenerateTokenResponse

func (*AAAFrontendGenerateTokenResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend generate token response based on the context it is used

func (*AAAFrontendGenerateTokenResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendGenerateTokenResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendGenerateTokenResponse) Validate ¶

Validate validates this a a a frontend generate token response

type AAAFrontendGenerateTokenResponseCause ¶

type AAAFrontendGenerateTokenResponseCause string

AAAFrontendGenerateTokenResponseCause a a a frontend generate token response cause

swagger:model AAA_Frontend_GenerateTokenResponseCause

const (

	// AAAFrontendGenerateTokenResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED"
	AAAFrontendGenerateTokenResponseCauseUNSPECIFIED AAAFrontendGenerateTokenResponseCause = "UNSPECIFIED"

	// AAAFrontendGenerateTokenResponseCauseOK captures enum value "OK"
	AAAFrontendGenerateTokenResponseCauseOK AAAFrontendGenerateTokenResponseCause = "OK"

	// AAAFrontendGenerateTokenResponseCauseUSERUNKNOWN captures enum value "USER_UNKNOWN"
	AAAFrontendGenerateTokenResponseCauseUSERUNKNOWN AAAFrontendGenerateTokenResponseCause = "USER_UNKNOWN"

	// AAAFrontendGenerateTokenResponseCauseEXCEPTION captures enum value "EXCEPTION"
	AAAFrontendGenerateTokenResponseCauseEXCEPTION AAAFrontendGenerateTokenResponseCause = "EXCEPTION"
)

func (AAAFrontendGenerateTokenResponseCause) ContextValidate ¶

ContextValidate validates this a a a frontend generate token response cause based on context it is used

func (AAAFrontendGenerateTokenResponseCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendGenerateTokenResponseCause.

func (AAAFrontendGenerateTokenResponseCause) Validate ¶

Validate validates this a a a frontend generate token response cause

type AAAFrontendLoginModeRequest ¶

type AAAFrontendLoginModeRequest struct {

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

AAAFrontendLoginModeRequest a a a frontend login mode request

swagger:model AAA_Frontend_LoginModeRequest

func (*AAAFrontendLoginModeRequest) ContextValidate ¶

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

ContextValidate validates this a a a frontend login mode request based on context it is used

func (*AAAFrontendLoginModeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLoginModeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLoginModeRequest) Validate ¶

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

Validate validates this a a a frontend login mode request

type AAAFrontendLoginModeResponse ¶

type AAAFrontendLoginModeResponse struct {

	// mode
	Mode *AAAFrontendLoginModeResponseMode `json:"mode,omitempty"`

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

AAAFrontendLoginModeResponse a a a frontend login mode response

swagger:model AAA_Frontend_LoginModeResponse

func (*AAAFrontendLoginModeResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend login mode response based on the context it is used

func (*AAAFrontendLoginModeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLoginModeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLoginModeResponse) Validate ¶

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

Validate validates this a a a frontend login mode response

type AAAFrontendLoginModeResponseMode ¶

type AAAFrontendLoginModeResponseMode string

AAAFrontendLoginModeResponseMode a a a frontend login mode response mode

swagger:model AAA_Frontend_LoginModeResponseMode

const (

	// AAAFrontendLoginModeResponseModeLOCAL captures enum value "LOCAL"
	AAAFrontendLoginModeResponseModeLOCAL AAAFrontendLoginModeResponseMode = "LOCAL"

	// AAAFrontendLoginModeResponseModeEXTERNAL captures enum value "EXTERNAL"
	AAAFrontendLoginModeResponseModeEXTERNAL AAAFrontendLoginModeResponseMode = "EXTERNAL"
)

func (AAAFrontendLoginModeResponseMode) ContextValidate ¶

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

ContextValidate validates this a a a frontend login mode response mode based on context it is used

func (AAAFrontendLoginModeResponseMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendLoginModeResponseMode.

func (AAAFrontendLoginModeResponseMode) Validate ¶

Validate validates this a a a frontend login mode response mode

type AAAFrontendLoginResponse ¶

type AAAFrontendLoginResponse struct {

	// api token
	APIToken *Token64 `json:"apiToken,omitempty"`

	// cause
	Cause *AAAFrontendLoginResponseCause `json:"cause,omitempty"`

	// detailed user
	DetailedUser *DetailedUser `json:"detailedUser,omitempty"`

	// enterprise
	Enterprise *Enterprise `json:"enterprise,omitempty"`

	// login token
	LoginToken *Token64 `json:"loginToken,omitempty"`

	// no of login attempts left
	NoOfLoginAttemptsLeft int64 `json:"noOfLoginAttemptsLeft,omitempty"`

	// password expiry notification period in seconds
	PasswordExpiryNotificationPeriodInSeconds int64 `json:"passwordExpiryNotificationPeriodInSeconds,omitempty"`

	// password expiry time
	// Format: date-time
	PasswordExpiryTime strfmt.DateTime `json:"passwordExpiryTime,omitempty"`

	// BEGIN: Only valid when Verbose is requesed
	Policies []*Policy `json:"policies"`

	// realm
	Realm *Realm `json:"realm,omitempty"`

	// redirect Url
	RedirectURL string `json:"redirectUrl,omitempty"`

	// role
	Role *Role `json:"role,omitempty"`

	// simple user
	SimpleUser *SimpleUser `json:"simpleUser,omitempty"`

	// temp token
	TempToken *Token64 `json:"tempToken,omitempty"`

	// token
	Token *Token64 `json:"token,omitempty"`

	// BEGIN: Only valid when Cause == OK
	UserID string `json:"userId,omitempty"`
}

AAAFrontendLoginResponse a a a frontend login response

swagger:model AAA_Frontend_LoginResponse

func (*AAAFrontendLoginResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend login response based on the context it is used

func (*AAAFrontendLoginResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLoginResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLoginResponse) Validate ¶

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

Validate validates this a a a frontend login response

type AAAFrontendLoginResponseCause ¶

type AAAFrontendLoginResponseCause string

AAAFrontendLoginResponseCause - EXCEPTION: Some exception has occurred on the server

swagger:model AAA_Frontend_LoginResponseCause

const (

	// AAAFrontendLoginResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED"
	AAAFrontendLoginResponseCauseUNSPECIFIED AAAFrontendLoginResponseCause = "UNSPECIFIED"

	// AAAFrontendLoginResponseCauseOK captures enum value "OK"
	AAAFrontendLoginResponseCauseOK AAAFrontendLoginResponseCause = "OK"

	// AAAFrontendLoginResponseCauseUNKNOWN captures enum value "UNKNOWN"
	AAAFrontendLoginResponseCauseUNKNOWN AAAFrontendLoginResponseCause = "UNKNOWN"

	// AAAFrontendLoginResponseCauseCREDENTIALS captures enum value "CREDENTIALS"
	AAAFrontendLoginResponseCauseCREDENTIALS AAAFrontendLoginResponseCause = "CREDENTIALS"

	// AAAFrontendLoginResponseCauseSUSPENDED captures enum value "SUSPENDED"
	AAAFrontendLoginResponseCauseSUSPENDED AAAFrontendLoginResponseCause = "SUSPENDED"

	// AAAFrontendLoginResponseCauseEXCEPTION captures enum value "EXCEPTION"
	AAAFrontendLoginResponseCauseEXCEPTION AAAFrontendLoginResponseCause = "EXCEPTION"

	// AAAFrontendLoginResponseCauseINACTIVE captures enum value "INACTIVE"
	AAAFrontendLoginResponseCauseINACTIVE AAAFrontendLoginResponseCause = "INACTIVE"

	// AAAFrontendLoginResponseCauseSIGNEDUPSTATE captures enum value "SIGNEDUPSTATE"
	AAAFrontendLoginResponseCauseSIGNEDUPSTATE AAAFrontendLoginResponseCause = "SIGNEDUPSTATE"

	// AAAFrontendLoginResponseCauseUNKNOWNSTATE captures enum value "UNKNOWNSTATE"
	AAAFrontendLoginResponseCauseUNKNOWNSTATE AAAFrontendLoginResponseCause = "UNKNOWNSTATE"

	// AAAFrontendLoginResponseCauseCREATEDSTATE captures enum value "CREATEDSTATE"
	AAAFrontendLoginResponseCauseCREATEDSTATE AAAFrontendLoginResponseCause = "CREATEDSTATE"

	// AAAFrontendLoginResponseCauseUSERUNKNOWN captures enum value "USER_UNKNOWN"
	AAAFrontendLoginResponseCauseUSERUNKNOWN AAAFrontendLoginResponseCause = "USER_UNKNOWN"

	// AAAFrontendLoginResponseCauseENTERPRISEUNKNOWN captures enum value "ENTERPRISE_UNKNOWN"
	AAAFrontendLoginResponseCauseENTERPRISEUNKNOWN AAAFrontendLoginResponseCause = "ENTERPRISE_UNKNOWN"

	// AAAFrontendLoginResponseCauseROLEUNKNOWN captures enum value "ROLE_UNKNOWN"
	AAAFrontendLoginResponseCauseROLEUNKNOWN AAAFrontendLoginResponseCause = "ROLE_UNKNOWN"

	// AAAFrontendLoginResponseCauseUSERUNKNOWNSTATE captures enum value "USER_UNKNOWNSTATE"
	AAAFrontendLoginResponseCauseUSERUNKNOWNSTATE AAAFrontendLoginResponseCause = "USER_UNKNOWNSTATE"

	// AAAFrontendLoginResponseCauseUSERINACTIVE captures enum value "USER_INACTIVE"
	AAAFrontendLoginResponseCauseUSERINACTIVE AAAFrontendLoginResponseCause = "USER_INACTIVE"

	// AAAFrontendLoginResponseCauseUSERSIGNEDUPSTATE captures enum value "USER_SIGNEDUPSTATE"
	AAAFrontendLoginResponseCauseUSERSIGNEDUPSTATE AAAFrontendLoginResponseCause = "USER_SIGNEDUPSTATE"

	// AAAFrontendLoginResponseCauseUSERCREATEDSTATE captures enum value "USER_CREATEDSTATE"
	AAAFrontendLoginResponseCauseUSERCREATEDSTATE AAAFrontendLoginResponseCause = "USER_CREATEDSTATE"

	// AAAFrontendLoginResponseCauseENTERPRISEUNKNOWNSTATE captures enum value "ENTERPRISE_UNKNOWNSTATE"
	AAAFrontendLoginResponseCauseENTERPRISEUNKNOWNSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_UNKNOWNSTATE"

	// AAAFrontendLoginResponseCauseENTERPRISEINACTIVE captures enum value "ENTERPRISE_INACTIVE"
	AAAFrontendLoginResponseCauseENTERPRISEINACTIVE AAAFrontendLoginResponseCause = "ENTERPRISE_INACTIVE"

	// AAAFrontendLoginResponseCauseENTERPRISESIGNEDUPSTATE captures enum value "ENTERPRISE_SIGNEDUPSTATE"
	AAAFrontendLoginResponseCauseENTERPRISESIGNEDUPSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_SIGNEDUPSTATE"

	// AAAFrontendLoginResponseCauseENTERPRISECREATEDSTATE captures enum value "ENTERPRISE_CREATEDSTATE"
	AAAFrontendLoginResponseCauseENTERPRISECREATEDSTATE AAAFrontendLoginResponseCause = "ENTERPRISE_CREATEDSTATE"

	// AAAFrontendLoginResponseCauseCREDENTIALNOTFOUND captures enum value "CREDENTIAL_NOTFOUND"
	AAAFrontendLoginResponseCauseCREDENTIALNOTFOUND AAAFrontendLoginResponseCause = "CREDENTIAL_NOTFOUND"

	// AAAFrontendLoginResponseCauseCREDENTIALMISMATCH captures enum value "CREDENTIAL_MISMATCH"
	AAAFrontendLoginResponseCauseCREDENTIALMISMATCH AAAFrontendLoginResponseCause = "CREDENTIAL_MISMATCH"

	// AAAFrontendLoginResponseCauseSCHEMEUNKNOWN captures enum value "SCHEME_UNKNOWN"
	AAAFrontendLoginResponseCauseSCHEMEUNKNOWN AAAFrontendLoginResponseCause = "SCHEME_UNKNOWN"

	// AAAFrontendLoginResponseCauseUPDATELOGINTIMEFAILED captures enum value "UPDATE_LOGINTIME_FAILED"
	AAAFrontendLoginResponseCauseUPDATELOGINTIMEFAILED AAAFrontendLoginResponseCause = "UPDATE_LOGINTIME_FAILED"

	// AAAFrontendLoginResponseCauseCREDENTIALMISMATCHMAXFAILEDPWDATTEMPT captures enum value "CREDENTIAL_MISMATCH_MAX_FAILED_PWD_ATTEMPT"
	AAAFrontendLoginResponseCauseCREDENTIALMISMATCHMAXFAILEDPWDATTEMPT AAAFrontendLoginResponseCause = "CREDENTIAL_MISMATCH_MAX_FAILED_PWD_ATTEMPT"

	// AAAFrontendLoginResponseCauseREDIRECT captures enum value "REDIRECT"
	AAAFrontendLoginResponseCauseREDIRECT AAAFrontendLoginResponseCause = "REDIRECT"

	// AAAFrontendLoginResponseCauseDECRYPTIONFAILED captures enum value "DECRYPTION_FAILED"
	AAAFrontendLoginResponseCauseDECRYPTIONFAILED AAAFrontendLoginResponseCause = "DECRYPTION_FAILED"

	// AAAFrontendLoginResponseCausePASSWORDEXPIRED captures enum value "PASSWORD_EXPIRED"
	AAAFrontendLoginResponseCausePASSWORDEXPIRED AAAFrontendLoginResponseCause = "PASSWORD_EXPIRED"
)

func (AAAFrontendLoginResponseCause) ContextValidate ¶

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

ContextValidate validates this a a a frontend login response cause based on context it is used

func (AAAFrontendLoginResponseCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendLoginResponseCause.

func (AAAFrontendLoginResponseCause) Validate ¶

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

Validate validates this a a a frontend login response cause

type AAAFrontendLoginWithOauthRequest ¶

type AAAFrontendLoginWithOauthRequest struct {

	// enterprise name
	EnterpriseName string `json:"enterpriseName,omitempty"`

	// username at realm
	UsernameAtRealm string `json:"usernameAtRealm,omitempty"`
}

AAAFrontendLoginWithOauthRequest a a a frontend login with oauth request

swagger:model AAA_Frontend_LoginWithOauthRequest

func (*AAAFrontendLoginWithOauthRequest) ContextValidate ¶

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

ContextValidate validates this a a a frontend login with oauth request based on context it is used

func (*AAAFrontendLoginWithOauthRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLoginWithOauthRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLoginWithOauthRequest) Validate ¶

Validate validates this a a a frontend login with oauth request

type AAAFrontendLoginWithPasswordRequest ¶

type AAAFrontendLoginWithPasswordRequest struct {

	// enterprise name
	EnterpriseName string `json:"enterpriseName,omitempty"`

	// password
	Password string `json:"password,omitempty"`

	// realm
	Realm string `json:"realm,omitempty"`

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

	// username at realm
	UsernameAtRealm string `json:"usernameAtRealm,omitempty"`

	// verbose detailed user
	VerboseDetailedUser bool `json:"verboseDetailedUser,omitempty"`

	// verbose enterprise
	VerboseEnterprise bool `json:"verboseEnterprise,omitempty"`

	// How verbal should the response be
	VerbosePolicy bool `json:"verbosePolicy,omitempty"`

	// verbose realm
	VerboseRealm bool `json:"verboseRealm,omitempty"`

	// verbose simple user
	VerboseSimpleUser bool `json:"verboseSimpleUser,omitempty"`
}

AAAFrontendLoginWithPasswordRequest Login request

User either a combination of (username, realm) or (usernameAtRealm) to specify login details ¶

swagger:model AAA_Frontend_LoginWithPasswordRequest

func (*AAAFrontendLoginWithPasswordRequest) ContextValidate ¶

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

ContextValidate validates this a a a frontend login with password request based on context it is used

func (*AAAFrontendLoginWithPasswordRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLoginWithPasswordRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLoginWithPasswordRequest) Validate ¶

Validate validates this a a a frontend login with password request

type AAAFrontendLogoutRequest ¶

type AAAFrontendLogoutRequest interface{}

AAAFrontendLogoutRequest a a a frontend logout request

swagger:model AAA_Frontend_LogoutRequest

type AAAFrontendLogoutResponse ¶

type AAAFrontendLogoutResponse struct {

	// cause
	Cause *AAAFrontendLogoutResponseCause `json:"cause,omitempty"`

	// token
	Token *OpaqueToken64 `json:"token,omitempty"`
}

AAAFrontendLogoutResponse a a a frontend logout response

swagger:model AAA_Frontend_LogoutResponse

func (*AAAFrontendLogoutResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend logout response based on the context it is used

func (*AAAFrontendLogoutResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendLogoutResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendLogoutResponse) Validate ¶

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

Validate validates this a a a frontend logout response

type AAAFrontendLogoutResponseCause ¶

type AAAFrontendLogoutResponseCause string

AAAFrontendLogoutResponseCause a a a frontend logout response cause

swagger:model AAA_Frontend_LogoutResponseCause

const (

	// AAAFrontendLogoutResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED"
	AAAFrontendLogoutResponseCauseUNSPECIFIED AAAFrontendLogoutResponseCause = "UNSPECIFIED"

	// AAAFrontendLogoutResponseCauseOK captures enum value "OK"
	AAAFrontendLogoutResponseCauseOK AAAFrontendLogoutResponseCause = "OK"

	// AAAFrontendLogoutResponseCauseFAILED captures enum value "FAILED"
	AAAFrontendLogoutResponseCauseFAILED AAAFrontendLogoutResponseCause = "FAILED"
)

func (AAAFrontendLogoutResponseCause) ContextValidate ¶

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

ContextValidate validates this a a a frontend logout response cause based on context it is used

func (AAAFrontendLogoutResponseCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendLogoutResponseCause.

func (AAAFrontendLogoutResponseCause) Validate ¶

Validate validates this a a a frontend logout response cause

type AAAFrontendOAUTHCallbackRequest ¶

type AAAFrontendOAUTHCallbackRequest struct {

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

	// state
	State string `json:"state,omitempty"`
}

AAAFrontendOAUTHCallbackRequest a a a frontend o a u t h callback request

swagger:model AAA_Frontend_OAUTHCallbackRequest

func (*AAAFrontendOAUTHCallbackRequest) ContextValidate ¶

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

ContextValidate validates this a a a frontend o a u t h callback request based on context it is used

func (*AAAFrontendOAUTHCallbackRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendOAUTHCallbackRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendOAUTHCallbackRequest) Validate ¶

Validate validates this a a a frontend o a u t h callback request

type AAAFrontendRefreshResponse ¶

type AAAFrontendRefreshResponse struct {

	// cause
	Cause *AAAFrontendRefreshResponseCause `json:"cause,omitempty"`

	// token
	Token *Token64 `json:"token,omitempty"`

	// BEGIN: Only valid when Cause == OK
	UserID string `json:"userId,omitempty"`
}

AAAFrontendRefreshResponse a a a frontend refresh response

swagger:model AAA_Frontend_RefreshResponse

func (*AAAFrontendRefreshResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend refresh response based on the context it is used

func (*AAAFrontendRefreshResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendRefreshResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendRefreshResponse) Validate ¶

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

Validate validates this a a a frontend refresh response

type AAAFrontendRefreshResponseCause ¶

type AAAFrontendRefreshResponseCause string

AAAFrontendRefreshResponseCause a a a frontend refresh response cause

swagger:model AAA_Frontend_RefreshResponseCause

const (

	// AAAFrontendRefreshResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED"
	AAAFrontendRefreshResponseCauseUNSPECIFIED AAAFrontendRefreshResponseCause = "UNSPECIFIED"

	// AAAFrontendRefreshResponseCauseOK captures enum value "OK"
	AAAFrontendRefreshResponseCauseOK AAAFrontendRefreshResponseCause = "OK"

	// AAAFrontendRefreshResponseCauseUNKNOWN captures enum value "UNKNOWN"
	AAAFrontendRefreshResponseCauseUNKNOWN AAAFrontendRefreshResponseCause = "UNKNOWN"

	// AAAFrontendRefreshResponseCauseCREDENTIALS captures enum value "CREDENTIALS"
	AAAFrontendRefreshResponseCauseCREDENTIALS AAAFrontendRefreshResponseCause = "CREDENTIALS"

	// AAAFrontendRefreshResponseCauseEXPIRED captures enum value "EXPIRED"
	AAAFrontendRefreshResponseCauseEXPIRED AAAFrontendRefreshResponseCause = "EXPIRED"
)

func (AAAFrontendRefreshResponseCause) ContextValidate ¶

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

ContextValidate validates this a a a frontend refresh response cause based on context it is used

func (AAAFrontendRefreshResponseCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendRefreshResponseCause.

func (AAAFrontendRefreshResponseCause) Validate ¶

Validate validates this a a a frontend refresh response cause

type AAAFrontendSessionDetailsResponse ¶

type AAAFrontendSessionDetailsResponse struct {

	// cause
	Cause *AAAFrontendSessionDetailsResponseCause `json:"cause,omitempty"`

	// policies
	Policies []*Policy `json:"policies"`

	// user
	User *DetailedUser `json:"user,omitempty"`
}

AAAFrontendSessionDetailsResponse a a a frontend session details response

swagger:model AAA_Frontend_SessionDetailsResponse

func (*AAAFrontendSessionDetailsResponse) ContextValidate ¶

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

ContextValidate validate this a a a frontend session details response based on the context it is used

func (*AAAFrontendSessionDetailsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAFrontendSessionDetailsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAFrontendSessionDetailsResponse) Validate ¶

Validate validates this a a a frontend session details response

type AAAFrontendSessionDetailsResponseCause ¶

type AAAFrontendSessionDetailsResponseCause string

AAAFrontendSessionDetailsResponseCause a a a frontend session details response cause

swagger:model AAA_Frontend_SessionDetailsResponseCause

const (

	// AAAFrontendSessionDetailsResponseCauseUNSPECIFIED captures enum value "UNSPECIFIED"
	AAAFrontendSessionDetailsResponseCauseUNSPECIFIED AAAFrontendSessionDetailsResponseCause = "UNSPECIFIED"

	// AAAFrontendSessionDetailsResponseCauseOK captures enum value "OK"
	AAAFrontendSessionDetailsResponseCauseOK AAAFrontendSessionDetailsResponseCause = "OK"

	// AAAFrontendSessionDetailsResponseCauseFAILED captures enum value "FAILED"
	AAAFrontendSessionDetailsResponseCauseFAILED AAAFrontendSessionDetailsResponseCause = "FAILED"
)

func (AAAFrontendSessionDetailsResponseCause) ContextValidate ¶

ContextValidate validates this a a a frontend session details response cause based on context it is used

func (AAAFrontendSessionDetailsResponseCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAAFrontendSessionDetailsResponseCause.

func (AAAFrontendSessionDetailsResponseCause) Validate ¶

Validate validates this a a a frontend session details response cause

type AAALoginModeResponse ¶

type AAALoginModeResponse struct {

	// mode
	Mode *AAALoginModeResponseMode `json:"mode,omitempty"`

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

AAALoginModeResponse a a a login mode response

swagger:model AAALoginModeResponse

func (*AAALoginModeResponse) ContextValidate ¶

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

ContextValidate validate this a a a login mode response based on the context it is used

func (*AAALoginModeResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAALoginModeResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAALoginModeResponse) Validate ¶

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

Validate validates this a a a login mode response

type AAALoginModeResponseMode ¶

type AAALoginModeResponseMode string

AAALoginModeResponseMode a a a login mode response mode

swagger:model AAALoginModeResponseMode

const (

	// AAALoginModeResponseModeAAALoginModeLocal captures enum value "AAALoginModeLocal"
	AAALoginModeResponseModeAAALoginModeLocal AAALoginModeResponseMode = "AAALoginModeLocal"

	// AAALoginModeResponseModeAAALoginModeExternal captures enum value "AAALoginModeExternal"
	AAALoginModeResponseModeAAALoginModeExternal AAALoginModeResponseMode = "AAALoginModeExternal"
)

func (AAALoginModeResponseMode) ContextValidate ¶

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

ContextValidate validates this a a a login mode response mode based on context it is used

func (AAALoginModeResponseMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAALoginModeResponseMode.

func (AAALoginModeResponseMode) Validate ¶

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

Validate validates this a a a login mode response mode

type AAANotifyResponse ¶

type AAANotifyResponse struct {

	// login
	Login *AAASuccessResponseLogin `json:"login,omitempty"`

	// logout
	Logout *AAASuccessResponseLogout `json:"logout,omitempty"`

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

AAANotifyResponse a a a notify response

swagger:model AAANotifyResponse

func (*AAANotifyResponse) ContextValidate ¶

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

ContextValidate validate this a a a notify response based on the context it is used

func (*AAANotifyResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAANotifyResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAANotifyResponse) Validate ¶

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

Validate validates this a a a notify response

type AAANotifyResponseType ¶

type AAANotifyResponseType string

AAANotifyResponseType a a a notify response type

swagger:model AAANotifyResponseType

const (

	// AAANotifyResponseTypeINVALID captures enum value "__INVALID__"
	AAANotifyResponseTypeINVALID AAANotifyResponseType = "__INVALID__"

	// AAANotifyResponseTypeAAANotifyTypeLogin captures enum value "AAANotifyTypeLogin"
	AAANotifyResponseTypeAAANotifyTypeLogin AAANotifyResponseType = "AAANotifyTypeLogin"

	// AAANotifyResponseTypeAAANotifyTypeLogout captures enum value "AAANotifyTypeLogout"
	AAANotifyResponseTypeAAANotifyTypeLogout AAANotifyResponseType = "AAANotifyTypeLogout"
)

func NewAAANotifyResponseType ¶

func NewAAANotifyResponseType(value AAANotifyResponseType) *AAANotifyResponseType

func (AAANotifyResponseType) ContextValidate ¶

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

ContextValidate validates this a a a notify response type based on context it is used

func (AAANotifyResponseType) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAANotifyResponseType.

func (AAANotifyResponseType) Validate ¶

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

Validate validates this a a a notify response type

type AAARedirectResponse ¶

type AAARedirectResponse struct {

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

	// redirect Url
	RedirectURL string `json:"redirectUrl,omitempty"`
}

AAARedirectResponse a a a redirect response

swagger:model AAARedirectResponse

func (*AAARedirectResponse) ContextValidate ¶

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

ContextValidate validates this a a a redirect response based on context it is used

func (*AAARedirectResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAARedirectResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAARedirectResponse) Validate ¶

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

Validate validates this a a a redirect response

type AAARequestAdminUserSignup ¶

type AAARequestAdminUserSignup struct {

	// email
	Email string `json:"email,omitempty"`

	// enterprise name
	EnterpriseName string `json:"enterpriseName,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// full name
	FullName string `json:"fullName,omitempty"`

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

	// password
	Password string `json:"password,omitempty"`

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

AAARequestAdminUserSignup a a a request admin user signup

swagger:model AAARequestAdminUserSignup

func (*AAARequestAdminUserSignup) ContextValidate ¶

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

ContextValidate validate this a a a request admin user signup based on the context it is used

func (*AAARequestAdminUserSignup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAARequestAdminUserSignup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAARequestAdminUserSignup) Validate ¶

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

Validate validates this a a a request admin user signup

type AAARequestEnterpriseSignup ¶

type AAARequestEnterpriseSignup struct {

	// admin user
	AdminUser *AdminUserSignup `json:"adminUser,omitempty"`

	// enterprise
	Enterprise *Enterprise `json:"enterprise,omitempty"`

	// profile type
	ProfileType *AuthProfileType `json:"profileType,omitempty"`

	// realm list
	RealmList []string `json:"realmList"`

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

AAARequestEnterpriseSignup a a a request enterprise signup

swagger:model AAARequestEnterpriseSignup

func (*AAARequestEnterpriseSignup) ContextValidate ¶

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

ContextValidate validate this a a a request enterprise signup based on the context it is used

func (*AAARequestEnterpriseSignup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAARequestEnterpriseSignup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAARequestEnterpriseSignup) Validate ¶

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

Validate validates this a a a request enterprise signup

type AAARequestLoginForgotPassword ¶

type AAARequestLoginForgotPassword struct {

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

AAARequestLoginForgotPassword a a a request login forgot password

swagger:model AAARequestLoginForgotPassword

func (*AAARequestLoginForgotPassword) ContextValidate ¶

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

ContextValidate validates this a a a request login forgot password based on context it is used

func (*AAARequestLoginForgotPassword) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAARequestLoginForgotPassword) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAARequestLoginForgotPassword) Validate ¶

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

Validate validates this a a a request login forgot password

type AAAResponse ¶

type AAAResponse struct {

	// failure
	Failure *AAAFailureResponse `json:"failure,omitempty"`

	// mode
	Mode *AAALoginModeResponse `json:"mode,omitempty"`

	// notify
	Notify *AAANotifyResponse `json:"notify,omitempty"`

	// redirect
	Redirect *AAARedirectResponse `json:"redirect,omitempty"`

	// result
	Result *ZsrvResponse `json:"result,omitempty"`

	// success
	Success *AAASuccessResponse `json:"success,omitempty"`

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

AAAResponse BEGIN: Responses

swagger:model AAAResponse

func (*AAAResponse) ContextValidate ¶

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

ContextValidate validate this a a a response based on the context it is used

func (*AAAResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAAResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAAResponse) Validate ¶

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

Validate validates this a a a response

type AAAResponseType ¶

type AAAResponseType string

AAAResponseType a a a response type

swagger:model AAAResponseType

const (

	// AAAResponseTypeINVALID captures enum value "__INVALID__"
	AAAResponseTypeINVALID AAAResponseType = "__INVALID__"

	// AAAResponseTypeAAAResponseTypeSuccess captures enum value "AAAResponseTypeSuccess"
	AAAResponseTypeAAAResponseTypeSuccess AAAResponseType = "AAAResponseTypeSuccess"

	// AAAResponseTypeAAAResponseTypeFailure captures enum value "AAAResponseTypeFailure"
	AAAResponseTypeAAAResponseTypeFailure AAAResponseType = "AAAResponseTypeFailure"

	// AAAResponseTypeAAAResponseTypeNotify captures enum value "AAAResponseTypeNotify"
	AAAResponseTypeAAAResponseTypeNotify AAAResponseType = "AAAResponseTypeNotify"

	// AAAResponseTypeAAAResponseTypeEnterpriseSignup captures enum value "AAAResponseTypeEnterpriseSignup"
	AAAResponseTypeAAAResponseTypeEnterpriseSignup AAAResponseType = "AAAResponseTypeEnterpriseSignup"

	// AAAResponseTypeAAAResponseTypeAdminUserSignup captures enum value "AAAResponseTypeAdminUserSignup"
	AAAResponseTypeAAAResponseTypeAdminUserSignup AAAResponseType = "AAAResponseTypeAdminUserSignup"

	// AAAResponseTypeAAAResponseTypeRedirect captures enum value "AAAResponseTypeRedirect"
	AAAResponseTypeAAAResponseTypeRedirect AAAResponseType = "AAAResponseTypeRedirect"

	// AAAResponseTypeAAAResponseTypeLoginMode captures enum value "AAAResponseTypeLoginMode"
	AAAResponseTypeAAAResponseTypeLoginMode AAAResponseType = "AAAResponseTypeLoginMode"
)

func NewAAAResponseType ¶

func NewAAAResponseType(value AAAResponseType) *AAAResponseType

func (AAAResponseType) ContextValidate ¶

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

ContextValidate validates this a a a response type based on context it is used

func (AAAResponseType) Pointer ¶

func (m AAAResponseType) Pointer() *AAAResponseType

Pointer returns a pointer to a freshly-allocated AAAResponseType.

func (AAAResponseType) Validate ¶

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

Validate validates this a a a response type

type AAASuccessResponse ¶

type AAASuccessResponse struct {

	// credential
	Credential *AAASuccessResponseCredentialChange `json:"credential,omitempty"`

	// details
	Details *AAASuccessSessionDetailsResponse `json:"details,omitempty"`

	// generate token
	GenerateToken *AAASuccessResponseGenerateToken `json:"generateToken,omitempty"`

	// login
	Login *AAASuccessResponseLogin `json:"login,omitempty"`

	// logout
	Logout *AAASuccessResponseLogout `json:"logout,omitempty"`

	// query session details
	QuerySessionDetails *AAASuccessResponseQueryAllSessionDetails `json:"querySessionDetails,omitempty"`

	// refresh
	Refresh *AAASuccessTokenRefresh `json:"refresh,omitempty"`

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

AAASuccessResponse a a a success response

swagger:model AAASuccessResponse

func (*AAASuccessResponse) ContextValidate ¶

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

ContextValidate validate this a a a success response based on the context it is used

func (*AAASuccessResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponse) Validate ¶

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

Validate validates this a a a success response

type AAASuccessResponseCredentialChange ¶

type AAASuccessResponseCredentialChange struct {

	// credential Id
	CredentialID string `json:"credentialId,omitempty"`
}

AAASuccessResponseCredentialChange a a a success response credential change

swagger:model AAASuccessResponseCredentialChange

func (*AAASuccessResponseCredentialChange) ContextValidate ¶

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

ContextValidate validates this a a a success response credential change based on context it is used

func (*AAASuccessResponseCredentialChange) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponseCredentialChange) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponseCredentialChange) Validate ¶

Validate validates this a a a success response credential change

type AAASuccessResponseGenerateToken ¶

type AAASuccessResponseGenerateToken struct {

	// login
	Login *AAASuccessResponseLogin `json:"login,omitempty"`

	// session details
	SessionDetails *SessionDetails `json:"sessionDetails,omitempty"`
}

AAASuccessResponseGenerateToken a a a success response generate token

swagger:model AAASuccessResponseGenerateToken

func (*AAASuccessResponseGenerateToken) ContextValidate ¶

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

ContextValidate validate this a a a success response generate token based on the context it is used

func (*AAASuccessResponseGenerateToken) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponseGenerateToken) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponseGenerateToken) Validate ¶

Validate validates this a a a success response generate token

type AAASuccessResponseLogin ¶

type AAASuccessResponseLogin struct {

	// api token
	APIToken *Token64 `json:"apiToken,omitempty"`

	// detailed user
	DetailedUser *DetailedUser `json:"detailedUser,omitempty"`

	// enterprise
	Enterprise *Enterprise `json:"enterprise,omitempty"`

	// enterprise Id
	EnterpriseID *Identifier64 `json:"enterpriseId,omitempty"`

	// is j w t valid
	IsJWTValid bool `json:"isJWTValid,omitempty"`

	// login token
	LoginToken *Token64 `json:"loginToken,omitempty"`

	// password expiry notification period in seconds
	PasswordExpiryNotificationPeriodInSeconds int64 `json:"passwordExpiryNotificationPeriodInSeconds,omitempty"`

	// password expiry time
	// Format: date-time
	PasswordExpiryTime strfmt.DateTime `json:"passwordExpiryTime,omitempty"`

	// BEGIN: Only valid when a certain verbosity level is requested
	Policies []*Policy `json:"policies"`

	// realm
	Realm *Realm `json:"realm,omitempty"`

	// realm Id
	RealmID *Identifier64 `json:"realmId,omitempty"`

	// role
	Role *Role `json:"role,omitempty"`

	// simple user
	SimpleUser *SimpleUser `json:"simpleUser,omitempty"`

	// token
	Token *Token64 `json:"token,omitempty"`

	// user Id
	UserID *Identifier64 `json:"userId,omitempty"`
}

AAASuccessResponseLogin AAA was successful

swagger:model AAASuccessResponseLogin

func (*AAASuccessResponseLogin) ContextValidate ¶

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

ContextValidate validate this a a a success response login based on the context it is used

func (*AAASuccessResponseLogin) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponseLogin) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponseLogin) Validate ¶

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

Validate validates this a a a success response login

type AAASuccessResponseLogout ¶

type AAASuccessResponseLogout struct {

	// original
	Original *OpaqueToken64 `json:"original,omitempty"`
}

AAASuccessResponseLogout a a a success response logout

swagger:model AAASuccessResponseLogout

func (*AAASuccessResponseLogout) ContextValidate ¶

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

ContextValidate validate this a a a success response logout based on the context it is used

func (*AAASuccessResponseLogout) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponseLogout) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponseLogout) Validate ¶

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

Validate validates this a a a success response logout

type AAASuccessResponseQueryAllSessionDetails ¶

type AAASuccessResponseQueryAllSessionDetails struct {

	// cause
	Cause *AAASuccessResponseQueryAllSessionDetailsCause `json:"cause,omitempty"`

	// session details
	SessionDetails []*SessionDetails `json:"sessionDetails"`
}

AAASuccessResponseQueryAllSessionDetails a a a success response query all session details

swagger:model AAASuccessResponseQueryAllSessionDetails

func (*AAASuccessResponseQueryAllSessionDetails) ContextValidate ¶

ContextValidate validate this a a a success response query all session details based on the context it is used

func (*AAASuccessResponseQueryAllSessionDetails) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessResponseQueryAllSessionDetails) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessResponseQueryAllSessionDetails) Validate ¶

Validate validates this a a a success response query all session details

type AAASuccessResponseQueryAllSessionDetailsCause ¶

type AAASuccessResponseQueryAllSessionDetailsCause string

AAASuccessResponseQueryAllSessionDetailsCause a a a success response query all session details cause

swagger:model AAASuccessResponseQueryAllSessionDetailsCause

const (

	// AAASuccessResponseQueryAllSessionDetailsCauseINVALID captures enum value "__INVALID__"
	AAASuccessResponseQueryAllSessionDetailsCauseINVALID AAASuccessResponseQueryAllSessionDetailsCause = "__INVALID__"

	// AAASuccessResponseQueryAllSessionDetailsCauseOK captures enum value "OK"
	AAASuccessResponseQueryAllSessionDetailsCauseOK AAASuccessResponseQueryAllSessionDetailsCause = "OK"

	// AAASuccessResponseQueryAllSessionDetailsCauseFAILED captures enum value "FAILED"
	AAASuccessResponseQueryAllSessionDetailsCauseFAILED AAASuccessResponseQueryAllSessionDetailsCause = "FAILED"
)

func (AAASuccessResponseQueryAllSessionDetailsCause) ContextValidate ¶

ContextValidate validates this a a a success response query all session details cause based on context it is used

func (AAASuccessResponseQueryAllSessionDetailsCause) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAASuccessResponseQueryAllSessionDetailsCause.

func (AAASuccessResponseQueryAllSessionDetailsCause) Validate ¶

Validate validates this a a a success response query all session details cause

type AAASuccessResponseType ¶

type AAASuccessResponseType string

AAASuccessResponseType a a a success response type

swagger:model AAASuccessResponseType

const (

	// AAASuccessResponseTypeINVALID captures enum value "__INVALID__"
	AAASuccessResponseTypeINVALID AAASuccessResponseType = "__INVALID__"

	// AAASuccessResponseTypeAAASuccessResponseTypeLogin captures enum value "AAASuccessResponseTypeLogin"
	AAASuccessResponseTypeAAASuccessResponseTypeLogin AAASuccessResponseType = "AAASuccessResponseTypeLogin"

	// AAASuccessResponseTypeAAASuccessResponseTypeRefresh captures enum value "AAASuccessResponseTypeRefresh"
	AAASuccessResponseTypeAAASuccessResponseTypeRefresh AAASuccessResponseType = "AAASuccessResponseTypeRefresh"

	// AAASuccessResponseTypeAAASuccessResponseTypePermisson captures enum value "AAASuccessResponseTypePermisson"
	AAASuccessResponseTypeAAASuccessResponseTypePermisson AAASuccessResponseType = "AAASuccessResponseTypePermisson"

	// AAASuccessResponseTypeAAASuccessResponseTypeLogout captures enum value "AAASuccessResponseTypeLogout"
	AAASuccessResponseTypeAAASuccessResponseTypeLogout AAASuccessResponseType = "AAASuccessResponseTypeLogout"

	// AAASuccessResponseTypeAAASuccessResponseTypeSessionDetails captures enum value "AAASuccessResponseTypeSessionDetails"
	AAASuccessResponseTypeAAASuccessResponseTypeSessionDetails AAASuccessResponseType = "AAASuccessResponseTypeSessionDetails"

	// AAASuccessResponseTypeAAASuccessResponseTypeCredentialChange captures enum value "AAASuccessResponseTypeCredentialChange"
	AAASuccessResponseTypeAAASuccessResponseTypeCredentialChange AAASuccessResponseType = "AAASuccessResponseTypeCredentialChange"

	// AAASuccessResponseTypeAAASuccessResponseTypeQueryAllSessionDetails captures enum value "AAASuccessResponseTypeQueryAllSessionDetails"
	AAASuccessResponseTypeAAASuccessResponseTypeQueryAllSessionDetails AAASuccessResponseType = "AAASuccessResponseTypeQueryAllSessionDetails"

	// AAASuccessResponseTypeAAASuccessResponseTypeGenerateToken captures enum value "AAASuccessResponseTypeGenerateToken"
	AAASuccessResponseTypeAAASuccessResponseTypeGenerateToken AAASuccessResponseType = "AAASuccessResponseTypeGenerateToken"
)

func NewAAASuccessResponseType ¶

func NewAAASuccessResponseType(value AAASuccessResponseType) *AAASuccessResponseType

func (AAASuccessResponseType) ContextValidate ¶

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

ContextValidate validates this a a a success response type based on context it is used

func (AAASuccessResponseType) Pointer ¶

Pointer returns a pointer to a freshly-allocated AAASuccessResponseType.

func (AAASuccessResponseType) Validate ¶

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

Validate validates this a a a success response type

type AAASuccessSessionDetailsResponse ¶

type AAASuccessSessionDetailsResponse struct {

	// original
	Original *OpaqueToken64 `json:"original,omitempty"`

	// policies
	Policies []*Policy `json:"policies"`

	// user
	User *DetailedUser `json:"user,omitempty"`
}

AAASuccessSessionDetailsResponse a a a success session details response

swagger:model AAASuccessSessionDetailsResponse

func (*AAASuccessSessionDetailsResponse) ContextValidate ¶

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

ContextValidate validate this a a a success session details response based on the context it is used

func (*AAASuccessSessionDetailsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessSessionDetailsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessSessionDetailsResponse) Validate ¶

Validate validates this a a a success session details response

type AAASuccessTokenRefresh ¶

type AAASuccessTokenRefresh struct {

	// token
	Token *Token64 `json:"token,omitempty"`
}

AAASuccessTokenRefresh Token64 refresh was successful

swagger:model AAASuccessTokenRefresh

func (*AAASuccessTokenRefresh) ContextValidate ¶

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

ContextValidate validate this a a a success token refresh based on the context it is used

func (*AAASuccessTokenRefresh) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AAASuccessTokenRefresh) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AAASuccessTokenRefresh) Validate ¶

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

Validate validates this a a a success token refresh

type ACL ¶

type ACL struct {

	// Chain of actions to be taken on matching network traffic
	Actions []*ACLAction `json:"actions"`

	// Network traffic matching criteria consistngs of one or more of source IP address, destination IP address, protocol, source port and destination port
	Matches []*Match `json:"matches"`

	// Name of the Access Control List
	Name string `json:"name,omitempty"`
}

ACL Acl

swagger:model Acl

func (*ACL) ContextValidate ¶

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

ContextValidate validate this Acl based on the context it is used

func (*ACL) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ACL) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ACL) Validate ¶

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

Validate validates this Acl

type ACLAction ¶

type ACLAction struct {

	// Not used by ZedUI
	//
	// Drop the packet
	Drop bool `json:"drop,omitempty"`

	// Limit action on ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limit bool `json:"limit,omitempty"`

	// only valid if limit flag is set, see below.
	// Not used by ZedUI
	//
	// Value to be used for limit action (Required if limit is true)
	LimitValue *LimitParams `json:"limitValue,omitempty"`

	// Rate limit burst in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitburst int64 `json:"limitburst,omitempty"`

	// Rate limit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitrate int64 `json:"limitrate,omitempty"`

	// Rate limit unit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitunit string `json:"limitunit,omitempty"`

	// Enable device to app port mapping for incoming ACL rule, implicitly added by ZedUI code
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Portmap bool `json:"portmap,omitempty"`

	// Device to app port mapping for incoming ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Portmapto *MapParams `json:"portmapto,omitempty"`
}

ACLAction Acl action

swagger:model AclAction

func (*ACLAction) ContextValidate ¶

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

ContextValidate validate this Acl action based on the context it is used

func (*ACLAction) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ACLAction) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ACLAction) Validate ¶

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

Validate validates this Acl action

type ActionScope ¶

type ActionScope struct {

	// Unique id of the type (e.g. projectId in case of project type)
	ID string `json:"id,omitempty"`

	// Scope of the action (e.g. project in case certificate expired at project level)
	Type *ObjectType `json:"type,omitempty"`
}

ActionScope action scope

swagger:model ActionScope

func (*ActionScope) ContextValidate ¶

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

ContextValidate validate this action scope based on the context it is used

func (*ActionScope) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ActionScope) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ActionScope) Validate ¶

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

Validate validates this action scope

type AdapterUsage ¶

type AdapterUsage string

AdapterUsage Adapter Usage

- ADAPTER_USAGE_UNSPECIFIED: Adapter unspecified

  • ADAPTER_USAGE_MANAGEMENT: Adapter can be used by EVE as well as other Edge applications
  • ADAPTER_USAGE_APP_DIRECT: Adapter is directly used by one edge application
  • ADAPTER_USAGE_APP_SHARED: Adapter can be shared by different network instances
  • ADAPTER_USAGE_DISABLED: Adapter disabled, for future use

swagger:model AdapterUsage

const (

	// AdapterUsageADAPTERUSAGEUNSPECIFIED captures enum value "ADAPTER_USAGE_UNSPECIFIED"
	AdapterUsageADAPTERUSAGEUNSPECIFIED AdapterUsage = "ADAPTER_USAGE_UNSPECIFIED"

	// AdapterUsageADAPTERUSAGEMANAGEMENT captures enum value "ADAPTER_USAGE_MANAGEMENT"
	AdapterUsageADAPTERUSAGEMANAGEMENT AdapterUsage = "ADAPTER_USAGE_MANAGEMENT"

	// AdapterUsageADAPTERUSAGEAPPDIRECT captures enum value "ADAPTER_USAGE_APP_DIRECT"
	AdapterUsageADAPTERUSAGEAPPDIRECT AdapterUsage = "ADAPTER_USAGE_APP_DIRECT"

	// AdapterUsageADAPTERUSAGEAPPSHARED captures enum value "ADAPTER_USAGE_APP_SHARED"
	AdapterUsageADAPTERUSAGEAPPSHARED AdapterUsage = "ADAPTER_USAGE_APP_SHARED"

	// AdapterUsageADAPTERUSAGEDISABLED captures enum value "ADAPTER_USAGE_DISABLED"
	AdapterUsageADAPTERUSAGEDISABLED AdapterUsage = "ADAPTER_USAGE_DISABLED"
)

func NewAdapterUsage ¶

func NewAdapterUsage(value AdapterUsage) *AdapterUsage

func (AdapterUsage) ContextValidate ¶

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

ContextValidate validates this adapter usage based on context it is used

func (AdapterUsage) Pointer ¶

func (m AdapterUsage) Pointer() *AdapterUsage

Pointer returns a pointer to a freshly-allocated AdapterUsage.

func (AdapterUsage) Validate ¶

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

Validate validates this adapter usage

type AdminState ¶

type AdminState string

AdminState Configured state of an object

- ADMIN_STATE_CREATED: Entity Created in the controller

  • ADMIN_STATE_DELETED: Entity Deleted in the controller
  • ADMIN_STATE_ACTIVE: Entity Activated in the controller
  • ADMIN_STATE_INACTIVE: Entity Deactivated in the controller
  • ADMIN_STATE_REGISTERED: Specific to Edge-node - Edge-node Registered with the controller
  • ADMIN_STATE_ARCHIVED: Entity Archived in the controller

swagger:model AdminState

const (

	// AdminStateADMINSTATEUNSPECIFIED captures enum value "ADMIN_STATE_UNSPECIFIED"
	AdminStateADMINSTATEUNSPECIFIED AdminState = "ADMIN_STATE_UNSPECIFIED"

	// AdminStateADMINSTATECREATED captures enum value "ADMIN_STATE_CREATED"
	AdminStateADMINSTATECREATED AdminState = "ADMIN_STATE_CREATED"

	// AdminStateADMINSTATEDELETED captures enum value "ADMIN_STATE_DELETED"
	AdminStateADMINSTATEDELETED AdminState = "ADMIN_STATE_DELETED"

	// AdminStateADMINSTATEACTIVE captures enum value "ADMIN_STATE_ACTIVE"
	AdminStateADMINSTATEACTIVE AdminState = "ADMIN_STATE_ACTIVE"

	// AdminStateADMINSTATEINACTIVE captures enum value "ADMIN_STATE_INACTIVE"
	AdminStateADMINSTATEINACTIVE AdminState = "ADMIN_STATE_INACTIVE"

	// AdminStateADMINSTATEREGISTERED captures enum value "ADMIN_STATE_REGISTERED"
	AdminStateADMINSTATEREGISTERED AdminState = "ADMIN_STATE_REGISTERED"

	// AdminStateADMINSTATEARCHIVED captures enum value "ADMIN_STATE_ARCHIVED"
	AdminStateADMINSTATEARCHIVED AdminState = "ADMIN_STATE_ARCHIVED"
)

func NewAdminState ¶

func NewAdminState(value AdminState) *AdminState

func (AdminState) ContextValidate ¶

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

ContextValidate validates this admin state based on context it is used

func (AdminState) Pointer ¶

func (m AdminState) Pointer() *AdminState

Pointer returns a pointer to a freshly-allocated AdminState.

func (AdminState) Validate ¶

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

Validate validates this admin state

type AdminUserSignup ¶

type AdminUserSignup struct {

	// email
	Email string `json:"email,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// full name
	FullName string `json:"fullName,omitempty"`

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

	// password
	Password string `json:"password,omitempty"`

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

AdminUserSignup admin user signup

swagger:model AdminUserSignup

func (*AdminUserSignup) ContextValidate ¶

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

ContextValidate validate this admin user signup based on the context it is used

func (*AdminUserSignup) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AdminUserSignup) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AdminUserSignup) Validate ¶

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

Validate validates this admin user signup

type AllocationPolicy ¶

type AllocationPolicy string

AllocationPolicy Iot hub allocation policy.

swagger:model AllocationPolicy

const (

	// AllocationPolicyALLOCATIONPOLICYUNSPECIFIED captures enum value "ALLOCATION_POLICY_UNSPECIFIED"
	AllocationPolicyALLOCATIONPOLICYUNSPECIFIED AllocationPolicy = "ALLOCATION_POLICY_UNSPECIFIED"

	// AllocationPolicyALLOCATIONPOLICYHASHED captures enum value "ALLOCATION_POLICY_HASHED"
	AllocationPolicyALLOCATIONPOLICYHASHED AllocationPolicy = "ALLOCATION_POLICY_HASHED"

	// AllocationPolicyALLOCATIONPOLICYGEOLATENCY captures enum value "ALLOCATION_POLICY_GEOLATENCY"
	AllocationPolicyALLOCATIONPOLICYGEOLATENCY AllocationPolicy = "ALLOCATION_POLICY_GEOLATENCY"

	// AllocationPolicyALLOCATIONPOLICYSTATIC captures enum value "ALLOCATION_POLICY_STATIC"
	AllocationPolicyALLOCATIONPOLICYSTATIC AllocationPolicy = "ALLOCATION_POLICY_STATIC"

	// AllocationPolicyALLOCATIONPOLICYCUSTOM captures enum value "ALLOCATION_POLICY_CUSTOM"
	AllocationPolicyALLOCATIONPOLICYCUSTOM AllocationPolicy = "ALLOCATION_POLICY_CUSTOM"
)

func NewAllocationPolicy ¶

func NewAllocationPolicy(value AllocationPolicy) *AllocationPolicy

func (AllocationPolicy) ContextValidate ¶

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

ContextValidate validates this allocation policy based on context it is used

func (AllocationPolicy) Pointer ¶

func (m AllocationPolicy) Pointer() *AllocationPolicy

Pointer returns a pointer to a freshly-allocated AllocationPolicy.

func (AllocationPolicy) Validate ¶

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

Validate validates this allocation policy

type AllowedEnterprise ¶

type AllowedEnterprise struct {

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

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

	// role Id
	RoleID string `json:"roleId,omitempty"`
}

AllowedEnterprise allowed enterprise

swagger:model AllowedEnterprise

func (*AllowedEnterprise) ContextValidate ¶

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

ContextValidate validates this allowed enterprise based on context it is used

func (*AllowedEnterprise) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AllowedEnterprise) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AllowedEnterprise) Validate ¶

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

Validate validates this allowed enterprise

type AllowedEnterpriseList ¶ added in v1.0.2

type AllowedEnterpriseList struct {

	// Enterprises entitlement data
	EnterpriseEntitlements []*Entitlement `json:"enterpriseEntitlements"`

	// List of child enterprises
	Enterprises []*AllowedEnterprise `json:"enterprises"`

	// Error while fetching list of child enterprises, if any
	Error string `json:"error,omitempty"`

	// Next page information
	Next *Cursor `json:"next,omitempty"`

	// Total number of allowed enterprises
	Total string `json:"total,omitempty"`
}

AllowedEnterpriseList Get child enterprises

Get list of child enterprises ¶

swagger:model AllowedEnterpriseList

func (*AllowedEnterpriseList) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this allowed enterprise list based on the context it is used

func (*AllowedEnterpriseList) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AllowedEnterpriseList) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AllowedEnterpriseList) Validate ¶ added in v1.0.2

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

Validate validates this allowed enterprise list

type App ¶

type App struct {

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Flag to represent where app bundle is already imported
	IsImported bool `json:"isImported,omitempty"`

	// user defined manifest in JSON format
	ManifestJSON *VMManifest `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// project access list of the app bundle
	ProjectAccessList []string `json:"projectAccessList"`

	// system defined info
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// User defined version for the given edge-app
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

App Edge application detailed configuration

Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}

swagger:model App

func (*App) ContextValidate ¶

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

ContextValidate validate this app based on the context it is used

func (*App) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*App) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*App) Validate ¶

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

Validate validates this app

type AppACE ¶

type AppACE struct {

	// app ACE actions
	// Required: true
	Actions []*AppACEAction `json:"actions"`

	// app ACE id
	// Required: true
	ID *int32 `json:"id"`

	// app ACE match
	// Required: true
	Matches []*AppACEMatch `json:"matches"`

	// User defined name of the app ACE, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`
}

AppACE App ACE detaisn

App ACE Configuration ¶

swagger:model appACE

func (*AppACE) ContextValidate ¶

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

ContextValidate validate this app a c e based on the context it is used

func (*AppACE) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppACE) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppACE) Validate ¶

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

Validate validates this app a c e

type AppACEAction ¶

type AppACEAction struct {

	// ACE drop flag
	// Required: true
	Drop *bool `json:"drop"`

	// ACE limit flag
	// Required: true
	Limit *bool `json:"limit"`

	// ACE limit burst
	// Required: true
	Limitburst *int64 `json:"limitburst"`

	// ACE limit rate
	// Required: true
	Limitrate *int64 `json:"limitrate"`

	// ACE limit unit
	// Required: true
	Limitunit *string `json:"limitunit"`

	// Application map params
	// Required: true
	Mapparams *AppMapParams `json:"mapparams"`

	// application port map flag
	// Required: true
	Portmap *bool `json:"portmap"`
}

AppACEAction App ACE Action

App ACE actions ¶

swagger:model appACEAction

func (*AppACEAction) ContextValidate ¶

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

ContextValidate validate this app a c e action based on the context it is used

func (*AppACEAction) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppACEAction) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppACEAction) Validate ¶

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

Validate validates this app a c e action

type AppACEMatch ¶

type AppACEMatch struct {

	// Type
	// Required: true
	Type *string `json:"type"`

	// Value
	// Required: true
	Value *string `json:"value"`
}

AppACEMatch appACEMatch detail

App ACE Match ¶

swagger:model appACEMatch

func (*AppACEMatch) ContextValidate ¶

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

ContextValidate validates this app a c e match based on context it is used

func (*AppACEMatch) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppACEMatch) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppACEMatch) Validate ¶

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

Validate validates this app a c e match

type AppAccessPolicy ¶ added in v1.0.2

type AppAccessPolicy struct {

	// app side of edge-view access is allowed or not
	AllowApp bool `json:"allowApp,omitempty"`
}

AppAccessPolicy app access policy

swagger:model AppAccessPolicy

func (*AppAccessPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this app access policy based on context it is used

func (*AppAccessPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppAccessPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppAccessPolicy) Validate ¶ added in v1.0.2

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

Validate validates this app access policy

type AppCategory ¶

type AppCategory string

AppCategory Edge Application Category

- APP_CATEGORY_UNSPECIFIED: Invalid Edge Application Category

  • APP_CATEGORY_OPERATING_SYSTEM: Edge operating systems
  • APP_CATEGORY_INDUSTRIAL: Connectity solution for industrial protocols
  • APP_CATEGORY_EDGE_APPLICATION: Edge application framework featuring composite functions for data ingestion, buffering, analytics and export
  • APP_CATEGORY_NETWORKING: Edge networking services (e.g. SD-WAN, NFV)
  • APP_CATEGORY_SECURITY: Edge security services (e.g. protocol inspection, firewall)
  • APP_CATEGORY_DATA_ANALYTICS: Edge analytics (e.g. AI/ML) and data management (e.g. database, connectors) services
  • APP_CATEGORY_CLOUD_APPLICATION: Edge application runtimes, cloud connectivity and general application enablement
  • APP_CATEGORY_DEVOPS: Tools for Edge Application CI/CD and performance optimization
  • APP_CATEGORY_OTHERS: Miscellaneous functionality

swagger:model AppCategory

const (

	// AppCategoryAPPCATEGORYUNSPECIFIED captures enum value "APP_CATEGORY_UNSPECIFIED"
	AppCategoryAPPCATEGORYUNSPECIFIED AppCategory = "APP_CATEGORY_UNSPECIFIED"

	// AppCategoryAPPCATEGORYOPERATINGSYSTEM captures enum value "APP_CATEGORY_OPERATING_SYSTEM"
	AppCategoryAPPCATEGORYOPERATINGSYSTEM AppCategory = "APP_CATEGORY_OPERATING_SYSTEM"

	// AppCategoryAPPCATEGORYINDUSTRIAL captures enum value "APP_CATEGORY_INDUSTRIAL"
	AppCategoryAPPCATEGORYINDUSTRIAL AppCategory = "APP_CATEGORY_INDUSTRIAL"

	// AppCategoryAPPCATEGORYEDGEAPPLICATION captures enum value "APP_CATEGORY_EDGE_APPLICATION"
	AppCategoryAPPCATEGORYEDGEAPPLICATION AppCategory = "APP_CATEGORY_EDGE_APPLICATION"

	// AppCategoryAPPCATEGORYNETWORKING captures enum value "APP_CATEGORY_NETWORKING"
	AppCategoryAPPCATEGORYNETWORKING AppCategory = "APP_CATEGORY_NETWORKING"

	// AppCategoryAPPCATEGORYSECURITY captures enum value "APP_CATEGORY_SECURITY"
	AppCategoryAPPCATEGORYSECURITY AppCategory = "APP_CATEGORY_SECURITY"

	// AppCategoryAPPCATEGORYDATAANALYTICS captures enum value "APP_CATEGORY_DATA_ANALYTICS"
	AppCategoryAPPCATEGORYDATAANALYTICS AppCategory = "APP_CATEGORY_DATA_ANALYTICS"

	// AppCategoryAPPCATEGORYCLOUDAPPLICATION captures enum value "APP_CATEGORY_CLOUD_APPLICATION"
	AppCategoryAPPCATEGORYCLOUDAPPLICATION AppCategory = "APP_CATEGORY_CLOUD_APPLICATION"

	// AppCategoryAPPCATEGORYDEVOPS captures enum value "APP_CATEGORY_DEVOPS"
	AppCategoryAPPCATEGORYDEVOPS AppCategory = "APP_CATEGORY_DEVOPS"

	// AppCategoryAPPCATEGORYOTHERS captures enum value "APP_CATEGORY_OTHERS"
	AppCategoryAPPCATEGORYOTHERS AppCategory = "APP_CATEGORY_OTHERS"
)

func NewAppCategory ¶

func NewAppCategory(value AppCategory) *AppCategory

func (AppCategory) ContextValidate ¶

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

ContextValidate validates this app category based on context it is used

func (AppCategory) Pointer ¶

func (m AppCategory) Pointer() *AppCategory

Pointer returns a pointer to a freshly-allocated AppCategory.

func (AppCategory) Validate ¶

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

Validate validates this app category

type AppConfig ¶

type AppConfig struct {

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// Current version of the attached bundle
	AppVersion string `json:"appVersion,omitempty"`

	// user defined cpus for bundle
	// Required: true
	Cpus *int64 `json:"cpus"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Required: true
	// Read Only: true
	Drives int64 `json:"drives"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// application interfaces
	Interfaces []*AppInterface `json:"interfaces"`

	// Manifest data
	// Required: true
	ManifestJSON *VMManifest `json:"manifestJSON"`

	// user defined memory for bundle
	// Required: true
	Memory *int64 `json:"memory"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// User provided name part  for the auto deployed app
	NameAppPart string `json:"nameAppPart,omitempty"`

	// User provided name part  for the auto deployed app
	NameProjectPart string `json:"nameProjectPart,omitempty"`

	// app naming scheme
	NamingScheme *AppNamingScheme `json:"namingScheme,omitempty"`

	// user defined network options
	// Required: true
	Networks *int64 `json:"networks"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`
}

AppConfig Edge application configuration for App policy

Edge application configuration for an App policy defines configuration details of the Edge application to be installed to all Edge node(s) under the App policy.

swagger:model AppConfig

func (*AppConfig) ContextValidate ¶

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

ContextValidate validate this app config based on the context it is used

func (*AppConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppConfig) Validate ¶

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

Validate validates this app config

type AppFilter ¶

type AppFilter struct {

	// category type of the bundle
	AppCategory *AppCategory `json:"appCategory,omitempty"`

	// app type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// category types of the bundle
	Categories []*AppCategory `json:"categories"`

	// category type of the bundle
	Category string `json:"category,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// query param : "name-pattern"
	//
	// Search * namePattern * in name field to filter records
	NamePattern string `json:"namePattern,omitempty"`

	// origin of bundle
	OriginType *Origin `json:"originType,omitempty"`
}

AppFilter app filter

swagger:model AppFilter

func (*AppFilter) ContextValidate ¶

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

ContextValidate validate this app filter based on the context it is used

func (*AppFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppFilter) Validate ¶

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

Validate validates this app filter

type AppInstConfig ¶ added in v1.0.2

type AppInstConfig struct {

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	BundleID string `json:"bundleId,omitempty"`

	// current bundle version
	BundleVersion int64 `json:"bundleVersion,omitempty"`

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// application interfaces
	Interfaces []*AppInterface `json:"interfaces"`

	// App Instance logs
	Logs *AppInstanceLogs `json:"logs,omitempty"`

	// user defined manifest in JSON format
	ManifestJSON *VMManifest `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User provided name part  for the auto deployed app
	NameAppPart string `json:"nameAppPart,omitempty"`

	// User provided name part  for the auto deployed app
	NameProjectPart string `json:"nameProjectPart,omitempty"`

	// app naming scheme
	NamingScheme *AppNamingSchemeV2 `json:"namingScheme,omitempty"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// this flag denotes whether there is latest bundle available in the marketplace or not
	NewBundleVersionAvailable bool `json:"newBundleVersionAvailable,omitempty"`

	// origin of object
	OriginType *Origin `json:"originType,omitempty"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// Remote console flag
	RemoteConsole bool `json:"remoteConsole,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// virtual machine info
	Vminfo *VM `json:"vminfo,omitempty"`
}

AppInstConfig Edge application detailed configuration

Edge application gets installed/uninstalled to/from edge node(s) and perform specific edge computing tasks. Lifecycle of Edge application (upgrade/restart) on Edge node can be managed and monitored by ZEDEDA Cloud controller through this detailed configuration. Example: {"name":"sample-app","originType":"ORIGIN_LOCAL","title":"Sample Edge Applications"}

swagger:model AppInstConfig

func (*AppInstConfig) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app inst config based on the context it is used

func (*AppInstConfig) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstConfig) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstConfig) Validate ¶ added in v1.0.2

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

Validate validates this app inst config

type AppInstConfigStatus ¶ added in v1.0.2

type AppInstConfigStatus struct {

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// System generated identifier for the app bundle
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// cpu utilization
	CPUUtilization float64 `json:"cpuUtilization,omitempty"`

	// System generated identifier for the device
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// app manifest Info
	ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"`

	// memory utilization
	MemoryUtilization float64 `json:"memoryUtilization,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// System generated identifier for the project
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// operation status
	RunState *RunState `json:"runState,omitempty"`

	// storage utilization
	StorageUtilization float64 `json:"storageUtilization,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// sotware state
	SwState *SWState `json:"swState,omitempty"`

	// Instance version tells which edge app does this instance is running
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

AppInstConfigStatus App instance config status

appInstConfigStatus stores the summary of the app instance config status

swagger:model appInstConfigStatus

func (*AppInstConfigStatus) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app inst config status based on the context it is used

func (*AppInstConfigStatus) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstConfigStatus) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstConfigStatus) Validate ¶ added in v1.0.2

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

Validate validates this app inst config status

type AppInstConfigStatusList ¶ added in v1.0.2

type AppInstConfigStatusList struct {

	// app instance status summary
	List []*AppInstConfigStatus `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app instance summary by application type
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// app instance status by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

AppInstConfigStatusList App instance config status list

AppInstConfigStatusList is used for listing the app instance statuses ¶

swagger:model AppInstConfigStatusList

func (*AppInstConfigStatusList) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app inst config status list based on the context it is used

func (*AppInstConfigStatusList) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstConfigStatusList) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstConfigStatusList) Validate ¶ added in v1.0.2

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

Validate validates this app inst config status list

type AppInstFilter ¶

type AppInstFilter struct {

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of bundle
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

AppInstFilter app inst filter

swagger:model AppInstFilter

func (*AppInstFilter) ContextValidate ¶

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

ContextValidate validate this app inst filter based on the context it is used

func (*AppInstFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstFilter) Validate ¶

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

Validate validates this app inst filter

type AppInstMemorySummary ¶

type AppInstMemorySummary struct {

	// AllocatedMB - Total memory allocated to the App Instance.
	// Normally, AllocatedMB >= UsedMB + AvailableMB
	//
	// Total memory allocated for the App instance.
	AllocatedMB float64 `json:"AllocatedMB,omitempty"`

	// Available / Free memory in the App
	AvailableMB float64 `json:"AvailableMB,omitempty"`

	// Total memory used by the App within allocated memory
	UsedMB float64 `json:"UsedMB,omitempty"`
}

AppInstMemorySummary App Instance Memory Summary

Memory Information for the App Instance.

swagger:model AppInstMemorySummary

func (*AppInstMemorySummary) ContextValidate ¶

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

ContextValidate validates this app inst memory summary based on context it is used

func (*AppInstMemorySummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstMemorySummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstMemorySummary) Validate ¶

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

Validate validates this app inst memory summary

type AppInstPolicy ¶ added in v1.0.2

type AppInstPolicy struct {

	// app instance config for automated deployment
	AppInstConfig *AppInstConfig `json:"appInstConfig,omitempty"`

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`
}

AppInstPolicy app inst policy

swagger:model AppInstPolicy

func (*AppInstPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app inst policy based on the context it is used

func (*AppInstPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstPolicy) Validate ¶ added in v1.0.2

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

Validate validates this app inst policy

type AppInstReport ¶ added in v1.0.2

type AppInstReport struct {

	// Enterprise appInst report
	AppInstSummaryReport *AppInstSummaryReport `json:"appInstSummaryReport,omitempty"`

	// Enterprise id for which we want to get summary report for all objects
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Error while fetching report for enterprise, if any
	Error string `json:"error,omitempty"`
}

AppInstReport Get appInst reports

Get summary reports of appInst objects for self/child enterprise

swagger:model AppInstReport

func (*AppInstReport) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app inst report based on the context it is used

func (*AppInstReport) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstReport) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstReport) Validate ¶ added in v1.0.2

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

Validate validates this app inst report

type AppInstStatusFilter ¶

type AppInstStatusFilter struct {

	// User defined name of the app bundle, unique across the enterprise. Once app bundle is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// aperation status
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

AppInstStatusFilter app inst status filter

swagger:model AppInstStatusFilter

func (*AppInstStatusFilter) ContextValidate ¶

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

ContextValidate validate this app inst status filter based on the context it is used

func (*AppInstStatusFilter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstStatusFilter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstStatusFilter) Validate ¶

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

Validate validates this app inst status filter

type AppInstStatusListMsg ¶

type AppInstStatusListMsg struct {

	// app instance status summary
	List []*AppInstStatusSummaryMsg `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app instance summary by application type
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// app instance status by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

AppInstStatusListMsg App instance status list

AppInstStatusListMsg is used for listing the app instance statuses ¶

swagger:model AppInstStatusListMsg

func (*AppInstStatusListMsg) ContextValidate ¶

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

ContextValidate validate this app inst status list msg based on the context it is used

func (*AppInstStatusListMsg) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstStatusListMsg) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstStatusListMsg) Validate ¶

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

Validate validates this app inst status list msg

type AppInstStatusMsg ¶

type AppInstStatusMsg struct {

	// SPU details
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// Io bundle status list
	IoStatusList []*IoBundleStatus `json:"IoStatusList"`

	// memory summary
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// App instance status
	AdminState *AdminState `json:"adminState,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// app status from third party controller
	AppStatusFromTPController *AppStatusFromTPController `json:"appStatusFromTPController,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// device boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterId,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// Device error details
	ErrInfo []*DeviceError `json:"errInfo"`

	// app instance id
	ID string `json:"id,omitempty"`

	// device last update time
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// memory summary
	MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// network status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// app instance state
	RunState *RunState `json:"runState,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// software state
	SwState *SWState `json:"swState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// app instance status title
	Title string `json:"title,omitempty"`

	// device up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// list of volume ids attached
	VolumeRefs []string `json:"volumeRefs"`

	// Last received counters for zvol metrics
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

AppInstStatusMsg App instance status message

AppInstanceStatusMsg encapsulates the status of an app instance ¶

swagger:model AppInstStatusMsg

func (*AppInstStatusMsg) ContextValidate ¶

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

ContextValidate validate this app inst status msg based on the context it is used

func (*AppInstStatusMsg) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstStatusMsg) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstStatusMsg) Validate ¶

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

Validate validates this app inst status msg

type AppInstStatusSummaryMsg ¶

type AppInstStatusSummaryMsg struct {

	// cpu summary
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory summary
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage summary
	Storage *StorageSummary `json:"Storage,omitempty"`

	// SPU details
	AdminState *AdminState `json:"adminState,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID string `json:"appId,omitempty"`

	// User defined name of the edge app, unique across the enterprise. Once edge app is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppName string `json:"appName,omitempty"`

	// type of app
	AppType *AppType `json:"appType,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID string `json:"deviceId,omitempty"`

	// User defined name of the device, unique across the enterprise. Once device is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// memory summary
	MemorySummary *AppInstMemorySummary `json:"memorySummary,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectID string `json:"projectId,omitempty"`

	// User defined name of the project, unique across the enterprise. Once project is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ProjectName string `json:"projectName,omitempty"`

	// operation status
	RunState *RunState `json:"runState,omitempty"`

	// Software details
	SwInfo []*SWInfo `json:"swInfo"`

	// sotware state
	SwState *SWState `json:"swState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the app instance. Title can be changed at any time
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title string `json:"title,omitempty"`
}

AppInstStatusSummaryMsg App instance status summary

AppInstStatusSummaryMsg stores the summary of the app instance status ¶

swagger:model AppInstStatusSummaryMsg

func (*AppInstStatusSummaryMsg) ContextValidate ¶

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

ContextValidate validate this app inst status summary msg based on the context it is used

func (*AppInstStatusSummaryMsg) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstStatusSummaryMsg) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstStatusSummaryMsg) Validate ¶

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

Validate validates this app inst status summary msg

type AppInstSummaryReport ¶ added in v1.0.2

type AppInstSummaryReport struct {

	// total app insts
	TotalAppInsts int64 `json:"totalAppInsts,omitempty"`
}

AppInstSummaryReport app inst summary report

swagger:model AppInstSummaryReport

func (*AppInstSummaryReport) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this app inst summary report based on context it is used

func (*AppInstSummaryReport) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppInstSummaryReport) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppInstSummaryReport) Validate ¶ added in v1.0.2

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

Validate validates this app inst summary report

type AppInstance ¶

type AppInstance struct {

	// app instance activation flag
	// Required: true
	Activate *string `json:"activate"`

	// User defined name of the edge app, unique across the enterprise. Once app name is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	AppID *string `json:"appId"`

	// app policy id
	AppPolicyID string `json:"appPolicyId,omitempty"`

	// type of bundle
	AppType *AppType `json:"appType,omitempty"`

	// version of bundle app is referring to
	Bundleversion string `json:"bundleversion,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// holds the static Ip of the app instance
	CollectStatsIPAddr string `json:"collectStatsIPAddr,omitempty"`

	// Crypto Key for decrypting user secret information
	CryptoKey string `json:"cryptoKey,omitempty"`

	// Application initialization script template in cloud-config format and user specified values
	CustomConfig *CustomConfig `json:"customConfig,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Detailed description of the app instance
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// User defined name of the device name, unique across the enterprise. Once device name is defined, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	DeviceID *string `json:"deviceId"`

	// drive details
	// Required: true
	Drives []*Drive `json:"drives"`

	// user encrypted secrets map
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// System defined universally unique Id of the app instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// application interfaces
	// Required: true
	Interfaces []*AppInterface `json:"interfaces"`

	// This field tells whether user secrets has updated or not, especially the cusotom config
	IsSecretUpdated bool `json:"isSecretUpdated,omitempty"`

	// App Instance logs
	Logs *AppInstanceLogs `json:"logs,omitempty"`

	// app manifest Info
	ManifestInfo *ManifestInfo `json:"manifestInfo,omitempty"`

	// User defined name of the app instance, unique across the enterprise. Once app instance is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// project name which the given app instance belong to
	// Required: true
	ProjectID *string `json:"projectId"`

	// Purge counter: ZedCloudOpsCmd
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// Refresh counter: ZedCloudOpsCmd
	Refresh *ZedCloudOpsCmd `json:"refresh,omitempty"`

	// Remote console flag
	RemoteConsole bool `json:"remoteConsole,omitempty"`

	// Restart counter: ZedCloudOpsCmd
	Restart *ZedCloudOpsCmd `json:"restart,omitempty"`

	// app instance object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// start delay is the time in seconds EVE should wait after boot before starting the application instance
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the app instance. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Deprecated: Application initiazation script in cloud-config format to be used by cloud-init
	UserData string `json:"userData,omitempty"`

	// Instance version tells which edge app does this instance is running
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`

	// virtual machine info
	Vminfo *VM `json:"vminfo,omitempty"`
}

AppInstance App Instance detail

App Instance detail ¶

swagger:model AppInstance

func (*AppInstance) ContextValidate ¶

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

ContextValidate validate this app instance based on the context it is used

func (*AppInstance) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstance) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstance) Validate ¶

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

Validate validates this app instance

type AppInstanceDeploy ¶

type AppInstanceDeploy struct {

	// XXX for now user will send only one common config. In future with complex
	// filtering and payload, user can send instance config per device.
	InstanceConfig []*BulkInstanceConfig `json:"instanceConfig"`
}

AppInstanceDeploy app instance deploy

swagger:model AppInstanceDeploy

func (*AppInstanceDeploy) ContextValidate ¶

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

ContextValidate validate this app instance deploy based on the context it is used

func (*AppInstanceDeploy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceDeploy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceDeploy) Validate ¶

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

Validate validates this app instance deploy

type AppInstanceLogs ¶

type AppInstanceLogs struct {

	// Flags to enable / disable sending of logs generated by app instance to zedcloud
	// Required: true
	Access *string `json:"access"`
}

AppInstanceLogs App Instance Logs configuration

App Instance Logs configuration ¶

swagger:model AppInstanceLogs

func (*AppInstanceLogs) ContextValidate ¶

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

ContextValidate validates this app instance logs based on context it is used

func (*AppInstanceLogs) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceLogs) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceLogs) Validate ¶

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

Validate validates this app instance logs

type AppInstanceLogsQueryResponse ¶

type AppInstanceLogsQueryResponse struct {

	// app instance logs query response
	List []*AppInstanceLogsQueryResponseItem `json:"list"`

	// next cursor
	Next *Cursor `json:"next,omitempty"`

	// app instance logs query response
	TotalRecords int64 `json:"totalRecords,omitempty"`
}

AppInstanceLogsQueryResponse App instance logs query response

AppInstanceLogsQueryResponse is used as response for querying app instance logs ¶

swagger:model AppInstanceLogsQueryResponse

func (*AppInstanceLogsQueryResponse) ContextValidate ¶

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

ContextValidate validate this app instance logs query response based on the context it is used

func (*AppInstanceLogsQueryResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceLogsQueryResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceLogsQueryResponse) Validate ¶

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

Validate validates this app instance logs query response

type AppInstanceLogsQueryResponseItem ¶

type AppInstanceLogsQueryResponseItem struct {

	// app instance logs
	Content string `json:"content,omitempty"`

	// message Id
	Msgid string `json:"msgid,omitempty"`

	// timestamp of query time
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`
}

AppInstanceLogsQueryResponseItem App instance query log response

AppInstanceLogsQueryResponseItem is used as the response for querying the logs of app instance ¶

swagger:model AppInstanceLogsQueryResponseItem

func (*AppInstanceLogsQueryResponseItem) ContextValidate ¶

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

ContextValidate validates this app instance logs query response item based on context it is used

func (*AppInstanceLogsQueryResponseItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceLogsQueryResponseItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceLogsQueryResponseItem) Validate ¶

Validate validates this app instance logs query response item

type AppInstanceLogsResponse ¶

type AppInstanceLogsResponse struct {

	// content
	Content *AppInstanceLogsQueryResponse `json:"content,omitempty"`

	// result
	Result *ZsrvResponse `json:"result,omitempty"`
}

AppInstanceLogsResponse app instance logs response

swagger:model AppInstanceLogsResponse

func (*AppInstanceLogsResponse) ContextValidate ¶

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

ContextValidate validate this app instance logs response based on the context it is used

func (*AppInstanceLogsResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceLogsResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceLogsResponse) Validate ¶

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

Validate validates this app instance logs response

type AppInstanceRefreshAndPurge ¶

type AppInstanceRefreshAndPurge struct {

	// purge
	Purge bool `json:"purge,omitempty"`
}

AppInstanceRefreshAndPurge app instance refresh and purge

swagger:model AppInstanceRefreshAndPurge

func (*AppInstanceRefreshAndPurge) ContextValidate ¶

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

ContextValidate validates this app instance refresh and purge based on context it is used

func (*AppInstanceRefreshAndPurge) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstanceRefreshAndPurge) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstanceRefreshAndPurge) Validate ¶

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

Validate validates this app instance refresh and purge

type AppInstances ¶

type AppInstances struct {

	// app insatance list response
	List []*AppInstance `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app instance by summary
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

AppInstances app instances

swagger:model AppInstances

func (*AppInstances) ContextValidate ¶

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

ContextValidate validate this app instances based on the context it is used

func (*AppInstances) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInstances) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInstances) Validate ¶

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

Validate validates this app instances

type AppInterface ¶

type AppInterface struct {

	// access port VLAN ID, vlan id of zero will be treated as trunk port and vlan id 1 is implicitly used by linux bridges
	// Maximum: 4093
	// Minimum: 2
	AccessVlanID int64 `json:"accessVlanId,omitempty"`

	// app Acls
	// Required: true
	Acls []*AppACE `json:"acls"`

	// default instance flag
	DefaultNetInstance bool `json:"defaultNetInstance,omitempty"`

	// comes from manifest during app create
	//
	// direct attach flag
	// Required: true
	Directattach *bool `json:"directattach"`

	// FIXME: Check why is this required
	//
	// EID register details
	// Required: true
	Eidregister *EIDRegister `json:"eidregister"`

	// intf Name
	// Required: true
	Intfname *string `json:"intfname"`

	// intforder
	// Required: true
	Intforder *int64 `json:"intforder"`

	// Physical Adapter to be matched for interface assignment. Applicable only when "direct attach" flag is true
	// Required: true
	Io *PhyAdapter `json:"io"`

	// if netname points static DHCP then we need to take
	// static /32 address here
	//
	// IP address
	// Required: true
	Ipaddr *string `json:"ipaddr"`

	// in case of p2v we might want to provide a mac-address.
	// applicable only in case of DHCP=passthrough
	//
	// MAC address
	// Required: true
	Macaddr *string `json:"macaddr"`

	// Network Instance id to be matched for interface assignment.
	Netinstid string `json:"netinstid,omitempty"`

	// Network Instance name to be matched for interface assignment. Applicable only when "direct attach" flag is false
	// Required: true
	Netinstname *string `json:"netinstname"`

	// Network Instance tag to be matched for interface assignment. Applicable only when "direct attach" flag is false
	Netinsttag map[string]string `json:"netinsttag,omitempty"`

	// network name: will be deprecated in future, use netinstname
	Netname string `json:"netname,omitempty"`

	// Private IP flag
	// Required: true
	Privateip *string `json:"privateip"`
}

AppInterface App Interface detail

App Interface detail ¶

swagger:model appInterface

func (*AppInterface) ContextValidate ¶

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

ContextValidate validate this app interface based on the context it is used

func (*AppInterface) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppInterface) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppInterface) Validate ¶

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

Validate validates this app interface

type AppMapParams ¶

type AppMapParams struct {

	// Application port
	// Required: true
	Port *int64 `json:"port"`
}

AppMapParams App map Params detail

Application map parameters ¶

swagger:model appMapParams

func (*AppMapParams) ContextValidate ¶

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

ContextValidate validates this app map params based on context it is used

func (*AppMapParams) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppMapParams) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppMapParams) Validate ¶

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

Validate validates this app map params

type AppNamingScheme ¶

type AppNamingScheme string

AppNamingScheme type of name aliasing.

swagger:model AppNamingScheme

const (

	// AppNamingSchemeAPPNAMINGSCHEMEUNSPECIFIED captures enum value "APP_NAMING_SCHEME_UNSPECIFIED"
	AppNamingSchemeAPPNAMINGSCHEMEUNSPECIFIED AppNamingScheme = "APP_NAMING_SCHEME_UNSPECIFIED"

	// AppNamingSchemeAPPNAMINGSCHEMEDEVICE captures enum value "APP_NAMING_SCHEME_DEVICE"
	AppNamingSchemeAPPNAMINGSCHEMEDEVICE AppNamingScheme = "APP_NAMING_SCHEME_DEVICE"

	// AppNamingSchemeAPPNAMINGSCHEMEAPPDEVICE captures enum value "APP_NAMING_SCHEME_APP_DEVICE"
	AppNamingSchemeAPPNAMINGSCHEMEAPPDEVICE AppNamingScheme = "APP_NAMING_SCHEME_APP_DEVICE"

	// AppNamingSchemeAPPNAMINGSCHEMEPROJECTDEVICE captures enum value "APP_NAMING_SCHEME_PROJECT_DEVICE"
	AppNamingSchemeAPPNAMINGSCHEMEPROJECTDEVICE AppNamingScheme = "APP_NAMING_SCHEME_PROJECT_DEVICE"

	// AppNamingSchemeAPPNAMINGSCHEMEPROJECTAPPDEVICE captures enum value "APP_NAMING_SCHEME_PROJECT_APP_DEVICE"
	AppNamingSchemeAPPNAMINGSCHEMEPROJECTAPPDEVICE AppNamingScheme = "APP_NAMING_SCHEME_PROJECT_APP_DEVICE"
)

func NewAppNamingScheme ¶

func NewAppNamingScheme(value AppNamingScheme) *AppNamingScheme

func (AppNamingScheme) ContextValidate ¶

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

ContextValidate validates this app naming scheme based on context it is used

func (AppNamingScheme) Pointer ¶

func (m AppNamingScheme) Pointer() *AppNamingScheme

Pointer returns a pointer to a freshly-allocated AppNamingScheme.

func (AppNamingScheme) Validate ¶

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

Validate validates this app naming scheme

type AppNamingSchemeV2 ¶ added in v1.0.2

type AppNamingSchemeV2 string

AppNamingSchemeV2 type of name aliasing.

swagger:model AppNamingSchemeV2

const (

	// AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED captures enum value "APP_NAMING_SCHEMEV2_UNSPECIFIED"
	AppNamingSchemeV2APPNAMINGSCHEMEV2UNSPECIFIED AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_UNSPECIFIED"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE captures enum value "APP_NAMING_SCHEMEV2_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2DEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE captures enum value "APP_NAMING_SCHEMEV2_APP_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2APPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_APP_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_DEVICE"

	// AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE captures enum value "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE"
	AppNamingSchemeV2APPNAMINGSCHEMEV2PROJECTAPPDEVICE AppNamingSchemeV2 = "APP_NAMING_SCHEMEV2_PROJECT_APP_DEVICE"
)

func NewAppNamingSchemeV2 ¶ added in v1.0.2

func NewAppNamingSchemeV2(value AppNamingSchemeV2) *AppNamingSchemeV2

func (AppNamingSchemeV2) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this app naming scheme v2 based on context it is used

func (AppNamingSchemeV2) Pointer ¶ added in v1.0.2

func (m AppNamingSchemeV2) Pointer() *AppNamingSchemeV2

Pointer returns a pointer to a freshly-allocated AppNamingSchemeV2.

func (AppNamingSchemeV2) Validate ¶ added in v1.0.2

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

Validate validates this app naming scheme v2

type AppPolicy ¶

type AppPolicy struct {

	// list of app details that will be provisioned on all the devices of the project to which this policy is attached
	// Required: true
	Apps []*AppConfig `json:"apps"`
}

AppPolicy App policy body detail

list of apps that will be provisioned on all the devices of the project to which this policy is attached

swagger:model AppPolicy

func (*AppPolicy) ContextValidate ¶

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

ContextValidate validate this app policy based on the context it is used

func (*AppPolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppPolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppPolicy) Validate ¶

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

Validate validates this app policy

type AppProjectList ¶ added in v1.0.2

type AppProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are associated with the given app
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

AppProjectList app project list

swagger:model AppProjectList

func (*AppProjectList) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this app project list based on the context it is used

func (*AppProjectList) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*AppProjectList) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*AppProjectList) Validate ¶ added in v1.0.2

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

Validate validates this app project list

type AppStatusFromTPController ¶

type AppStatusFromTPController struct {

	// app Id
	AppID string `json:"appId,omitempty"`

	// app name
	AppName string `json:"appName,omitempty"`

	// azure status
	AzureStatus *AzureStatus `json:"azureStatus,omitempty"`

	// enterprise Id
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// eve device Id
	EveDeviceID string `json:"eveDeviceId,omitempty"`

	// type
	Type *ControllerType `json:"type,omitempty"`

	// vce status
	VceStatus *VCEStatus `json:"vceStatus,omitempty"`
}

AppStatusFromTPController app status from t p controller

swagger:model AppStatusFromTPController

func (*AppStatusFromTPController) ContextValidate ¶

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

ContextValidate validate this app status from t p controller based on the context it is used

func (*AppStatusFromTPController) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppStatusFromTPController) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppStatusFromTPController) Validate ¶

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

Validate validates this app status from t p controller

type AppSummary ¶

type AppSummary struct {

	// App instance count
	AppInstCount int32 `json:"appInstCount,omitempty"`

	// user defined cpus for bundle
	Cpus int64 `json:"cpus,omitempty"`

	// Detailed description of the edge application
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// user defined drives
	// Read Only: true
	Drives int64 `json:"drives,omitempty"`

	// System defined universally unique Id of the edge application
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Flag to represent where app bundle is already imported
	IsImported bool `json:"isImported,omitempty"`

	// manifest JSON
	ManifestJSON *VMManifestSummary `json:"manifestJSON,omitempty"`

	// user defined memory for bundle
	Memory int64 `json:"memory,omitempty"`

	// User defined name of the edge application, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// user defined network options
	Networks int64 `json:"networks,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// user defined storage for bundle
	Storage int64 `json:"storage,omitempty"`

	// User defined title of the edge application. Title can be changed at any time
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title string `json:"title,omitempty"`

	// User defined version for the given edge-app
	UserDefinedVersion string `json:"userDefinedVersion,omitempty"`
}

AppSummary Bundle summary

Edge application summary Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model AppSummary

func (*AppSummary) ContextValidate ¶

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

ContextValidate validate this app summary based on the context it is used

func (*AppSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AppSummary) Validate ¶

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

Validate validates this app summary

type AppType ¶

type AppType string

AppType type of app bundle.

swagger:model AppType

const (

	// AppTypeAPPTYPEUNSPECIFIED captures enum value "APP_TYPE_UNSPECIFIED"
	AppTypeAPPTYPEUNSPECIFIED AppType = "APP_TYPE_UNSPECIFIED"

	// AppTypeAPPTYPEVM captures enum value "APP_TYPE_VM"
	AppTypeAPPTYPEVM AppType = "APP_TYPE_VM"

	// AppTypeAPPTYPEVMRUNTIME captures enum value "APP_TYPE_VM_RUNTIME"
	AppTypeAPPTYPEVMRUNTIME AppType = "APP_TYPE_VM_RUNTIME"

	// AppTypeAPPTYPECONTAINER captures enum value "APP_TYPE_CONTAINER"
	AppTypeAPPTYPECONTAINER AppType = "APP_TYPE_CONTAINER"

	// AppTypeAPPTYPEMODULE captures enum value "APP_TYPE_MODULE"
	AppTypeAPPTYPEMODULE AppType = "APP_TYPE_MODULE"
)

func NewAppType ¶

func NewAppType(value AppType) *AppType

func (AppType) ContextValidate ¶

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

ContextValidate validates this app type based on context it is used

func (AppType) Pointer ¶

func (m AppType) Pointer() *AppType

Pointer returns a pointer to a freshly-allocated AppType.

func (AppType) Validate ¶

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

Validate validates this app type

type Apps ¶

type Apps struct {

	// edge application summary list
	List []*AppSummary `json:"list"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// app distribution summary
	SummaryByAppInstanceDistribution *Summary `json:"summaryByAppInstanceDistribution,omitempty"`

	// edge applications by appType
	SummaryByAppType *Summary `json:"summaryByAppType,omitempty"`

	// edge applications by category
	SummaryByCategory *Summary `json:"summaryByCategory,omitempty"`

	// edge applications by origin
	SummaryByOrigin *Summary `json:"summaryByOrigin,omitempty"`
}

Apps apps

swagger:model Apps

func (*Apps) ContextValidate ¶

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

ContextValidate validate this apps based on the context it is used

func (*Apps) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Apps) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Apps) Validate ¶

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

Validate validates this apps

type Artifact ¶

type Artifact struct {

	// system generated unique id for an artifact
	// Read Only: true
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+a
	ID string `json:"id,omitempty"`

	// User defined name of the artifact, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// generated signed url for an artifact
	// Read Only: true
	SignedURL string `json:"signedUrl,omitempty"`

	// describes the status of the operation
	// Read Only: true
	Status *Status `json:"status,omitempty"`

	// TTL for the URL
	// Read Only: true
	TTL int64 `json:"ttl,omitempty"`
}

Artifact ArtifactKey detail

ArtifactKey idenfies the artifact by artifactId ¶

swagger:model Artifact

func (*Artifact) ContextValidate ¶

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

ContextValidate validate this artifact based on the context it is used

func (*Artifact) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Artifact) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Artifact) Validate ¶

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

Validate validates this artifact

type ArtifactFilter ¶

type ArtifactFilter interface{}

ArtifactFilter artifact filter

swagger:model ArtifactFilter

type ArtifactList ¶

type ArtifactList struct {

	// Artifact Key list
	List []*Artifact `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary by state
	Summary *Summary `json:"summary,omitempty"`
}

ArtifactList ArtifactKeyListResponse detail

Response returned for List artifact Keys ¶

swagger:model ArtifactList

func (*ArtifactList) ContextValidate ¶

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

ContextValidate validate this artifact list based on the context it is used

func (*ArtifactList) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ArtifactList) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ArtifactList) Validate ¶

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

Validate validates this artifact list

type ArtifactStream ¶

type ArtifactStream struct {

	// artifact chunk data
	// Format: byte
	Chunk strfmt.Base64 `json:"chunk,omitempty"`

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

ArtifactStream ArtifactKey detail

ArtifactKey idenfies the artifact by artifactId ¶

swagger:model ArtifactStream

func (*ArtifactStream) ContextValidate ¶

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

ContextValidate validates this artifact stream based on context it is used

func (*ArtifactStream) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ArtifactStream) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ArtifactStream) Validate ¶

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

Validate validates this artifact stream

type AttestPolicyType ¶

type AttestPolicyType string

AttestPolicyType - ATTEST_POLICY_TYPE_ACCEPT: Do not enforce attestation. All devices are marked as successfully attested.

  • ATTEST_POLICY_TYPE_ENFORCE: Enforce attestation. Devices failing attestation are marked accordingly.

swagger:model AttestPolicyType

const (

	// AttestPolicyTypeATTESTPOLICYTYPEUNSPECIFIED captures enum value "ATTEST_POLICY_TYPE_UNSPECIFIED"
	AttestPolicyTypeATTESTPOLICYTYPEUNSPECIFIED AttestPolicyType = "ATTEST_POLICY_TYPE_UNSPECIFIED"

	// AttestPolicyTypeATTESTPOLICYTYPEACCEPT captures enum value "ATTEST_POLICY_TYPE_ACCEPT"
	AttestPolicyTypeATTESTPOLICYTYPEACCEPT AttestPolicyType = "ATTEST_POLICY_TYPE_ACCEPT"

	// AttestPolicyTypeATTESTPOLICYTYPEENFORCE captures enum value "ATTEST_POLICY_TYPE_ENFORCE"
	AttestPolicyTypeATTESTPOLICYTYPEENFORCE AttestPolicyType = "ATTEST_POLICY_TYPE_ENFORCE"
)

func NewAttestPolicyType ¶

func NewAttestPolicyType(value AttestPolicyType) *AttestPolicyType

func (AttestPolicyType) ContextValidate ¶

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

ContextValidate validates this attest policy type based on context it is used

func (AttestPolicyType) Pointer ¶

func (m AttestPolicyType) Pointer() *AttestPolicyType

Pointer returns a pointer to a freshly-allocated AttestPolicyType.

func (AttestPolicyType) Validate ¶

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

Validate validates this attest policy type

type AttestState ¶

type AttestState string

AttestState attest state

swagger:model AttestState

const (

	// AttestStateATTESTSTATEUNSPECIFIED captures enum value "ATTEST_STATE_UNSPECIFIED"
	AttestStateATTESTSTATEUNSPECIFIED AttestState = "ATTEST_STATE_UNSPECIFIED"

	// AttestStateATTESTSTATENONE captures enum value "ATTEST_STATE_NONE"
	AttestStateATTESTSTATENONE AttestState = "ATTEST_STATE_NONE"

	// AttestStateATTESTSTATEFAIL captures enum value "ATTEST_STATE_FAIL"
	AttestStateATTESTSTATEFAIL AttestState = "ATTEST_STATE_FAIL"

	// AttestStateATTESTSTATEPASS captures enum value "ATTEST_STATE_PASS"
	AttestStateATTESTSTATEPASS AttestState = "ATTEST_STATE_PASS"

	// AttestStateATTESTSTATEPASSNOPCR captures enum value "ATTEST_STATE_PASS_NO_PCR"
	AttestStateATTESTSTATEPASSNOPCR AttestState = "ATTEST_STATE_PASS_NO_PCR"

	// AttestStateATTESTSTATEFAILNOPCR captures enum value "ATTEST_STATE_FAIL_NO_PCR"
	AttestStateATTESTSTATEFAILNOPCR AttestState = "ATTEST_STATE_FAIL_NO_PCR"
)

func NewAttestState ¶

func NewAttestState(value AttestState) *AttestState

func (AttestState) ContextValidate ¶

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

ContextValidate validates this attest state based on context it is used

func (AttestState) Pointer ¶

func (m AttestState) Pointer() *AttestState

Pointer returns a pointer to a freshly-allocated AttestState.

func (AttestState) Validate ¶

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

Validate validates this attest state

type AttestationPolicy ¶

type AttestationPolicy struct {

	// unique policy id
	// Read Only: true
	// Pattern: [0-9-a-z-]+
	ID string `json:"id,omitempty"`

	// Attestation policy type
	// Required: true
	Type *AttestPolicyType `json:"type"`
}

AttestationPolicy Attestation policy body detail

Attestation policy to enforce on all devices of the project ¶

swagger:model AttestationPolicy

func (*AttestationPolicy) ContextValidate ¶

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

ContextValidate validate this attestation policy based on the context it is used

func (*AttestationPolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AttestationPolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AttestationPolicy) Validate ¶

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

Validate validates this attestation policy

type AuthProfileType ¶

type AuthProfileType string

AuthProfileType auth profile type

swagger:model AuthProfileType

const (

	// AuthProfileTypeAUTHPROFILETYPEUNSPECIFIED captures enum value "AUTH_PROFILE_TYPE_UNSPECIFIED"
	AuthProfileTypeAUTHPROFILETYPEUNSPECIFIED AuthProfileType = "AUTH_PROFILE_TYPE_UNSPECIFIED"

	// AuthProfileTypeAUTHPROFILETYPEOAUTHAZUREAD captures enum value "AUTH_PROFILE_TYPE_OAUTH_AZURE_AD"
	AuthProfileTypeAUTHPROFILETYPEOAUTHAZUREAD AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_AZURE_AD"

	// AuthProfileTypeAUTHPROFILETYPEOAUTHGOOGLE captures enum value "AUTH_PROFILE_TYPE_OAUTH_GOOGLE"
	AuthProfileTypeAUTHPROFILETYPEOAUTHGOOGLE AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_GOOGLE"

	// AuthProfileTypeAUTHPROFILETYPEOAUTHCUSTOM captures enum value "AUTH_PROFILE_TYPE_OAUTH_CUSTOM"
	AuthProfileTypeAUTHPROFILETYPEOAUTHCUSTOM AuthProfileType = "AUTH_PROFILE_TYPE_OAUTH_CUSTOM"

	// AuthProfileTypeAUTHPROFILETYPELOCAL captures enum value "AUTH_PROFILE_TYPE_LOCAL"
	AuthProfileTypeAUTHPROFILETYPELOCAL AuthProfileType = "AUTH_PROFILE_TYPE_LOCAL"
)

func NewAuthProfileType ¶

func NewAuthProfileType(value AuthProfileType) *AuthProfileType

func (AuthProfileType) ContextValidate ¶

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

ContextValidate validates this auth profile type based on context it is used

func (AuthProfileType) Pointer ¶

func (m AuthProfileType) Pointer() *AuthProfileType

Pointer returns a pointer to a freshly-allocated AuthProfileType.

func (AuthProfileType) Validate ¶

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

Validate validates this auth profile type

type AuthType ¶

type AuthType string

AuthType auth type

swagger:model AuthType

const (

	// AuthTypeAUTHTYPEUNSPECIFIED captures enum value "AUTH_TYPE_UNSPECIFIED"
	AuthTypeAUTHTYPEUNSPECIFIED AuthType = "AUTH_TYPE_UNSPECIFIED"

	// AuthTypeAUTHTYPELOCAL captures enum value "AUTH_TYPE_LOCAL"
	AuthTypeAUTHTYPELOCAL AuthType = "AUTH_TYPE_LOCAL"

	// AuthTypeAUTHTYPEOAUTH captures enum value "AUTH_TYPE_OAUTH"
	AuthTypeAUTHTYPEOAUTH AuthType = "AUTH_TYPE_OAUTH"

	// AuthTypeAUTHTYPESAML captures enum value "AUTH_TYPE_SAML"
	AuthTypeAUTHTYPESAML AuthType = "AUTH_TYPE_SAML"
)

func NewAuthType ¶

func NewAuthType(value AuthType) *AuthType

func (AuthType) ContextValidate ¶

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

ContextValidate validates this auth type based on context it is used

func (AuthType) Pointer ¶

func (m AuthType) Pointer() *AuthType

Pointer returns a pointer to a freshly-allocated AuthType.

func (AuthType) Validate ¶

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

Validate validates this auth type

type Author ¶

type Author struct {

	// Company of the developer
	//
	// UI map: AppEditPage:IdentityPane:Category_Field, AppDetailsPage:IdentityPane:Category_Field
	Company string `json:"company,omitempty"`

	// Contact email of the developer company
	//
	// UI map: AppEditPage:DeveloperPane:Email_Field, AppDetailsPage:DeveloperPane:Email_Field
	Email string `json:"email,omitempty"`

	// Not used by ZedUI
	Group string `json:"group,omitempty"`

	// Name of the developer
	//
	// UI map: AppEditPage:DeveloperPane:Name_Field, AppDetailsPage:DeveloperPane:Name_Field
	User string `json:"user,omitempty"`

	// Website of the developer company
	//
	// UI map: AppEditPage:DeveloperPane:Website_Field, AppDetailsPage:DeveloperPane:Website_Field
	Website string `json:"website,omitempty"`
}

Author author

swagger:model Author

func (*Author) ContextValidate ¶

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

ContextValidate validates this author based on context it is used

func (*Author) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Author) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Author) Validate ¶

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

Validate validates this author

type AuthorizationProfile ¶

type AuthorizationProfile struct {

	// Mark this profile as active. Only one profile can be active in a given enterprise
	Active bool `json:"active,omitempty"`

	// Default Role ID to associate with the profile
	// Required: true
	// Pattern: [0-9A-Za-z_=-]{28}
	DefaultRoleID *string `json:"defaultRoleId"`

	// Detailed description of the profile
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Do not automatically create new users if this is set
	DisableAutoUserCreate bool `json:"disableAutoUserCreate,omitempty"`

	// Parent enterprise ID of the authorization profile
	// Pattern: [0-9A-Za-z_=-]{28}
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// Unique system defined profile ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// User defined name of the profile. Profile name is unique within an enterprise. Name can't be changed once created
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Oauth profile configuration details
	OauthProfile *OAUTHProfile `json:"oauthProfile,omitempty"`

	// password profile
	PasswordProfile *PasswordProfile `json:"passwordProfile,omitempty"`

	// Authorization profile type
	ProfileType *AuthProfileType `json:"profileType,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// test only
	TestOnly bool `json:"testOnly,omitempty"`

	// User defined title for the profile. Title can be changed anytime
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Type of the profile
	Type *AuthType `json:"type,omitempty"`
}

AuthorizationProfile Authorization profile detail

Authorization profile meta data Example: {"active":true,"defaultRoleId":"SysRoot","description":"","enterpriseId":"AAFlABDe6Nm63ixF5LJBbk9Keqp6","id":"AAGVABAmkIXXqJJPkpx1E_DKK2Gs","name":"test_profile","oauthProfile":{"OIDCEndPoint":"https://foo.com","clientID":"test","clientSecret":"","cryptoKey":"","encryptedSecrets":{},"roleScope":""},"revision":{"createdAt":"2020-07-17T06:27:27Z","createdBy":"us.root@zededa.com","curr":"1","prev":"","updatedAt":"2020-07-17T06:27:27Z","updatedBy":"us.root@zededa.com"},"testOnly":false,"title":"test_profile","type":"AUTH_TYPE_OAUTH"}

swagger:model AuthorizationProfile

func (*AuthorizationProfile) ContextValidate ¶

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

ContextValidate validate this authorization profile based on the context it is used

func (*AuthorizationProfile) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AuthorizationProfile) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AuthorizationProfile) Validate ¶

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

Validate validates this authorization profile

type AuthorizationProfiles ¶

type AuthorizationProfiles struct {

	// List of profiles
	List []*AuthorizationProfile `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered profiles
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

AuthorizationProfiles authorization profiles

swagger:model AuthorizationProfiles

func (*AuthorizationProfiles) ContextValidate ¶

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

ContextValidate validate this authorization profiles based on the context it is used

func (*AuthorizationProfiles) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AuthorizationProfiles) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AuthorizationProfiles) Validate ¶

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

Validate validates this authorization profiles

type AzureDevStatusDetail ¶

type AzureDevStatusDetail struct {

	// a state
	AState string `json:"aState,omitempty"`

	// connection state updated time
	ConnectionStateUpdatedTime string `json:"connectionStateUpdatedTime,omitempty"`

	// last activity time
	LastActivityTime string `json:"lastActivityTime,omitempty"`

	// o state
	OState string `json:"oState,omitempty"`

	// status update time
	StatusUpdateTime string `json:"statusUpdateTime,omitempty"`

	// twin
	Twin *TwinDetail `json:"twin,omitempty"`
}

AzureDevStatusDetail azure dev status detail

swagger:model AzureDevStatusDetail

func (*AzureDevStatusDetail) ContextValidate ¶

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

ContextValidate validate this azure dev status detail based on the context it is used

func (*AzureDevStatusDetail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureDevStatusDetail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureDevStatusDetail) Validate ¶

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

Validate validates this azure dev status detail

type AzurePolicy ¶

type AzurePolicy struct {

	// app id for rbac
	// Required: true
	AppID *string `json:"appId"`

	// app password for rbac
	// Required: true
	AppPassword *string `json:"appPassword"`

	// azure resource and service the policy will be interested in
	AzureResourceAndServices *AzureResourceAndServices `json:"azureResourceAndServices,omitempty"`

	// Certificate object holds the details of certificate like encryption type, validity, subject etc
	Certificate *Certificate `json:"certificate,omitempty"`

	// key to decrypt AppPassword
	CryptoKey string `json:"cryptoKey,omitempty"`

	// custom deployment managed
	CustomDeploymentManaged bool `json:"customDeploymentManaged,omitempty"`

	// encrypted AppPassword
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// tenant id for rbac
	// Required: true
	TenantID *string `json:"tenantId"`
}

AzurePolicy Azure policy body detail

All azure policy related details that are required to provision an iot edge device and deploy a module on that.

swagger:model AzurePolicy

func (*AzurePolicy) ContextValidate ¶

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

ContextValidate validate this azure policy based on the context it is used

func (*AzurePolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzurePolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzurePolicy) Validate ¶

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

Validate validates this azure policy

type AzureResourceAndServiceDetail ¶

type AzureResourceAndServiceDetail struct {

	// s k u
	SKU *SKUDetail `json:"SKU,omitempty"`

	// create by default
	CreateByDefault bool `json:"createByDefault,omitempty"`

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

	// region
	Region string `json:"region,omitempty"`

	// resource group name
	ResourceGroupName string `json:"resourceGroupName,omitempty"`

	// subscription Id
	SubscriptionID string `json:"subscriptionId,omitempty"`
}

AzureResourceAndServiceDetail azure resource and service detail

swagger:model AzureResourceAndServiceDetail

func (*AzureResourceAndServiceDetail) ContextValidate ¶

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

ContextValidate validate this azure resource and service detail based on the context it is used

func (*AzureResourceAndServiceDetail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureResourceAndServiceDetail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureResourceAndServiceDetail) Validate ¶

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

Validate validates this azure resource and service detail

type AzureResourceAndServices ¶

type AzureResourceAndServices struct {

	// dps service attached to cloud policy
	// Required: true
	DpsService *DPSServiceDetail `json:"dpsService"`

	// list of iothubs attached to cloud policy
	// Required: true
	IotHubService []*IotHubServiceDetail `json:"iotHubService"`

	// list of resource groups attached to cloud policy
	// Required: true
	ResourceGroup []*ResourceGroupDetail `json:"resourceGroup"`
}

AzureResourceAndServices Azure resource payload detail for cloud policy

Azure resource request paylod for cloud policy ¶

swagger:model AzureResourceAndServices

func (*AzureResourceAndServices) ContextValidate ¶

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

ContextValidate validate this azure resource and services based on the context it is used

func (*AzureResourceAndServices) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureResourceAndServices) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureResourceAndServices) Validate ¶

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

Validate validates this azure resource and services

type AzureStatus ¶

type AzureStatus struct {

	// azure dev status
	AzureDevStatus *AzureDevStatusDetail `json:"azureDevStatus,omitempty"`
}

AzureStatus status of device from azure.

swagger:model AzureStatus

func (*AzureStatus) ContextValidate ¶

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

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

func (*AzureStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AzureStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*AzureStatus) Validate ¶

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

Validate validates this azure status

type BaseOSImage ¶

type BaseOSImage struct {

	// activation flag
	// Required: true
	Activate *bool `json:"activate"`

	// image name
	// Required: true
	ImageName *string `json:"imageName"`

	// immutable Volume for this base image
	ImvolID string `json:"imvolId,omitempty"`

	// system generated unique id for an image
	// Required: true
	UUID *string `json:"uuid"`

	// image version
	// Required: true
	Version *string `json:"version"`
}

BaseOSImage Base OS image payload detail

Base OS image request details ¶

swagger:model BaseOSImage

func (*BaseOSImage) ContextValidate ¶

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

ContextValidate validates this base o s image based on context it is used

func (*BaseOSImage) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BaseOSImage) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BaseOSImage) Validate ¶

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

Validate validates this base o s image

type BaseosUpdate ¶

type BaseosUpdate struct {

	// baseimage
	Baseimage *BaseOSImage `json:"baseimage,omitempty"`
}

BaseosUpdate baseos update

swagger:model BaseosUpdate

func (*BaseosUpdate) ContextValidate ¶

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

ContextValidate validate this baseos update based on the context it is used

func (*BaseosUpdate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BaseosUpdate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BaseosUpdate) Validate ¶

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

Validate validates this baseos update

type BlobInfo ¶

type BlobInfo struct {

	// state
	State *SWState `json:"State,omitempty"`

	// err info
	ErrInfo *DeviceError `json:"errInfo,omitempty"`

	// progress percentage
	ProgressPercentage int64 `json:"progressPercentage,omitempty"`

	// resource
	Resource *VolInstResource `json:"resource,omitempty"`

	// sha256
	Sha256 string `json:"sha256,omitempty"`

	// usage
	Usage *DeviceObjectUsageInfo `json:"usage,omitempty"`
}

BlobInfo blob info

swagger:model BlobInfo

func (*BlobInfo) ContextValidate ¶

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

ContextValidate validate this blob info based on the context it is used

func (*BlobInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BlobInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BlobInfo) Validate ¶

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

Validate validates this blob info

type BlobStatus ¶

type BlobStatus struct {

	// hash
	Hash string `json:"hash,omitempty"`

	// ref count
	RefCount string `json:"refCount,omitempty"`

	// size m b
	SizeMB string `json:"sizeMB,omitempty"`

	// sw state
	SwState *SWState `json:"swState,omitempty"`
}

BlobStatus blob status

swagger:model BlobStatus

func (*BlobStatus) ContextValidate ¶

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

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

func (*BlobStatus) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BlobStatus) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BlobStatus) Validate ¶

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

Validate validates this blob status

type BriefHealth ¶

type BriefHealth struct {

	// service health status
	ServiceHealthStatus string `json:"serviceHealthStatus,omitempty"`
}

BriefHealth brief health

swagger:model BriefHealth

func (*BriefHealth) ContextValidate ¶

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

ContextValidate validates this brief health based on context it is used

func (*BriefHealth) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BriefHealth) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BriefHealth) Validate ¶

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

Validate validates this brief health

type BulkConfig ¶

type BulkConfig struct {

	// baseos update
	BaseosUpdate *BaseosUpdate `json:"baseosUpdate,omitempty"`

	// bundle import
	BundleImport *BundleImport `json:"bundleImport,omitempty"`

	// deployment tag update
	DeploymentTagUpdate *DeploymentTagUpdate `json:"deploymentTagUpdate,omitempty"`

	// device project and target update
	DeviceProjectAndTargetUpdate *DeviceProjectAndTargetUpdate `json:"deviceProjectAndTargetUpdate,omitempty"`

	// instance deploy
	InstanceDeploy *AppInstanceDeploy `json:"instanceDeploy,omitempty"`

	// instance refresh and purge
	InstanceRefreshAndPurge *AppInstanceRefreshAndPurge `json:"instanceRefreshAndPurge,omitempty"`

	// job Id
	JobID string `json:"jobId,omitempty"`

	// job name
	JobName string `json:"jobName,omitempty"`

	// model import
	ModelImport *ModelImport `json:"modelImport,omitempty"`

	// selection criteria
	SelectionCriteria *SelectionCriteria `json:"selectionCriteria,omitempty"`

	// tag update
	TagUpdate *TagUpdate `json:"tagUpdate,omitempty"`
}

BulkConfig config required for bulk ops.

swagger:model BulkConfig

func (*BulkConfig) ContextValidate ¶

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

ContextValidate validate this bulk config based on the context it is used

func (*BulkConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BulkConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BulkConfig) Validate ¶

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

Validate validates this bulk config

type BulkInstanceConfig ¶

type BulkInstanceConfig struct {

	// app instance config
	AppInstanceConfig *AppInstance `json:"appInstanceConfig,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// net instance config
	NetInstanceConfig []*NetInstConfig `json:"netInstanceConfig"`

	// net instance detail
	NetInstanceDetail *NetworkConfigOrDefault `json:"netInstanceDetail,omitempty"`
}

BulkInstanceConfig bulk instance config

swagger:model BulkInstanceConfig

func (*BulkInstanceConfig) ContextValidate ¶

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

ContextValidate validate this bulk instance config based on the context it is used

func (*BulkInstanceConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BulkInstanceConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BulkInstanceConfig) Validate ¶

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

Validate validates this bulk instance config

type BulkService ¶

type BulkService string

BulkService type of bulk operation

swagger:model BulkService

const (

	// BulkServiceBULKSERVICEUNSPECIFIED captures enum value "BULK_SERVICE_UNSPECIFIED"
	BulkServiceBULKSERVICEUNSPECIFIED BulkService = "BULK_SERVICE_UNSPECIFIED"

	// BulkServiceBULKSERVICEBASEOSUPDATE captures enum value "BULK_SERVICE_BASEOS_UPDATE"
	BulkServiceBULKSERVICEBASEOSUPDATE BulkService = "BULK_SERVICE_BASEOS_UPDATE"

	// BulkServiceBULKSERVICEAPPINSTANCEDEPLOY captures enum value "BULK_SERVICE_APPINSTANCE_DEPLOY"
	BulkServiceBULKSERVICEAPPINSTANCEDEPLOY BulkService = "BULK_SERVICE_APPINSTANCE_DEPLOY"

	// BulkServiceBULKSERVICEAPPINSTANCEREFRESH captures enum value "BULK_SERVICE_APPINSTANCE_REFRESH"
	BulkServiceBULKSERVICEAPPINSTANCEREFRESH BulkService = "BULK_SERVICE_APPINSTANCE_REFRESH"

	// BulkServiceBULKSERVICEAPPINSTANCEPURGE captures enum value "BULK_SERVICE_APPINSTANCE_PURGE"
	BulkServiceBULKSERVICEAPPINSTANCEPURGE BulkService = "BULK_SERVICE_APPINSTANCE_PURGE"

	// BulkServiceBULKSERVICEMODELIMPORT captures enum value "BULK_SERVICE_MODEL_IMPORT"
	BulkServiceBULKSERVICEMODELIMPORT BulkService = "BULK_SERVICE_MODEL_IMPORT"

	// BulkServiceBULKSERVICEBUNDLEIMPORT captures enum value "BULK_SERVICE_BUNDLE_IMPORT"
	BulkServiceBULKSERVICEBUNDLEIMPORT BulkService = "BULK_SERVICE_BUNDLE_IMPORT"

	// BulkServiceBULKSERVICEAPPINSTANCECERTUPDATE captures enum value "BULK_SERVICE_APPINSTANCE_CERT_UPDATE"
	BulkServiceBULKSERVICEAPPINSTANCECERTUPDATE BulkService = "BULK_SERVICE_APPINSTANCE_CERT_UPDATE"

	// BulkServiceBULKSERVICEAPPINSTANCEDELETE captures enum value "BULK_SERVICE_APPINSTANCE_DELETE"
	BulkServiceBULKSERVICEAPPINSTANCEDELETE BulkService = "BULK_SERVICE_APPINSTANCE_DELETE"

	// BulkServiceBULKSERVICEBASEOSUPDATERETRY captures enum value "BULK_SERVICE_BASEOS_UPDATE_RETRY"
	BulkServiceBULKSERVICEBASEOSUPDATERETRY BulkService = "BULK_SERVICE_BASEOS_UPDATE_RETRY"

	// BulkServiceBULKSERVICEAPPINSTANCEUPDATE captures enum value "BULK_SERVICE_APPINSTANCE_UPDATE"
	BulkServiceBULKSERVICEAPPINSTANCEUPDATE BulkService = "BULK_SERVICE_APPINSTANCE_UPDATE"

	// BulkServiceBULKSERVICEDEVICETAGUPDATE captures enum value "BULK_SERVICE_DEVICE_TAG_UPDATE"
	BulkServiceBULKSERVICEDEVICETAGUPDATE BulkService = "BULK_SERVICE_DEVICE_TAG_UPDATE"

	// BulkServiceBULKSERVICEDEVICETAGDEPLOYMENTUPDATE captures enum value "BULK_SERVICE_DEVICE_TAG_DEPLOYMENT_UPDATE"
	BulkServiceBULKSERVICEDEVICETAGDEPLOYMENTUPDATE BulkService = "BULK_SERVICE_DEVICE_TAG_DEPLOYMENT_UPDATE"

	// BulkServiceBULKSERVICEDEVICEPROJECTANDTARGETUPDATE captures enum value "BULK_SERVICE_DEVICE_PROJECT_AND_TARGET_UPDATE"
	BulkServiceBULKSERVICEDEVICEPROJECTANDTARGETUPDATE BulkService = "BULK_SERVICE_DEVICE_PROJECT_AND_TARGET_UPDATE"

	// BulkServiceBULKSERVICEDEPLOYMENTCREATE captures enum value "BULK_SERVICE_DEPLOYMENT_CREATE"
	BulkServiceBULKSERVICEDEPLOYMENTCREATE BulkService = "BULK_SERVICE_DEPLOYMENT_CREATE"
)

func NewBulkService ¶

func NewBulkService(value BulkService) *BulkService

func (BulkService) ContextValidate ¶

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

ContextValidate validates this bulk service based on context it is used

func (BulkService) Pointer ¶

func (m BulkService) Pointer() *BulkService

Pointer returns a pointer to a freshly-allocated BulkService.

func (BulkService) Validate ¶

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

Validate validates this bulk service

type BundleDetail ¶

type BundleDetail struct {

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

	// parent bundle Id
	ParentBundleID string `json:"parentBundleId,omitempty"`
}

BundleDetail bundle detail

swagger:model BundleDetail

func (*BundleDetail) ContextValidate ¶

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

ContextValidate validates this bundle detail based on context it is used

func (*BundleDetail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BundleDetail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BundleDetail) Validate ¶

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

Validate validates this bundle detail

type BundleImport ¶

type BundleImport struct {

	// bundle config
	BundleConfig []*BundleDetail `json:"bundleConfig"`
}

BundleImport bundle import

swagger:model BundleImport

func (*BundleImport) ContextValidate ¶

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

ContextValidate validate this bundle import based on the context it is used

func (*BundleImport) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*BundleImport) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*BundleImport) Validate ¶

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

Validate validates this bundle import

type CPUSummary ¶

type CPUSummary struct {

	// CPU Utilization
	Utilization float64 `json:"Utilization,omitempty"`
}

CPUSummary CPU Summary

CPU Summary ¶

swagger:model CpuSummary

func (*CPUSummary) ContextValidate ¶

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

ContextValidate validates this Cpu summary based on context it is used

func (*CPUSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CPUSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CPUSummary) Validate ¶

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

Validate validates this Cpu summary

type Capabilities ¶

type Capabilities struct {

	// VMX/SVM for amd64 or Arm virtualization extensions for arm64
	HWAssistedVirtualization bool `json:"HWAssistedVirtualization,omitempty"`

	// I/O Virtualization support
	IOVirtualization bool `json:"IOVirtualization,omitempty"`
}

Capabilities capabilities

swagger:model Capabilities

func (*Capabilities) ContextValidate ¶

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

ContextValidate validates this capabilities based on context it is used

func (*Capabilities) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Capabilities) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Capabilities) Validate ¶

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

Validate validates this capabilities

type Certificate ¶

type Certificate struct {

	// This fields tells the basic constraints like isCA are correct.
	BasicContraintsValid bool `json:"basicContraintsValid,omitempty"`

	// certificate details
	//
	// base64 string of the parent certificate
	Cert string `json:"cert,omitempty"`

	// Crypto Key for decrypting user secret information
	CryptoKey string `json:"cryptoKey,omitempty"`

	// ECDSA encryption algorithm of the certificate
	EcdsaEncryption *ECDSA `json:"ecdsaEncryption,omitempty"`

	// secrets encryption
	//
	// user encrypted secrets map
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// Indicates if the private key can be exported.
	Exportable bool `json:"exportable,omitempty"`

	// Sequence of extended key usages.
	ExtendedKeyUsage []string `json:"extendedKeyUsage"`

	// Parameters for the issuer of the X509 component of a certificate.
	Issuer *Subject `json:"issuer,omitempty"`

	// Key usage extensions define the purpose of the public key contained in a certificate.
	KeyUsage int32 `json:"keyUsage,omitempty"`

	// pass phase for the pvt key, this has to be filled if pvt key is encrypted with a pass phrase
	PassPhrase string `json:"passPhrase,omitempty"`

	// base63 string of the public key
	PublicKey string `json:"publicKey,omitempty"`

	// encryption algorithm
	//
	// Public key algorithm.
	PublicKeyAlgorithm string `json:"publicKeyAlgorithm,omitempty"`

	// base64 string of the parent pvt key
	PvtKey string `json:"pvtKey,omitempty"`

	// Indicates if the same key pair will be used on certificate renewal.
	ReuseKey bool `json:"reuseKey,omitempty"`

	// RSA encryption algorithm of the certificate
	RsaEcryption *RSA `json:"rsaEcryption,omitempty"`

	// Subject alternative name values
	//
	// This holds the alternative name values like URIs, domain names IPs etc.
	SanValues *SANValues `json:"sanValues,omitempty"`

	// Unique identifier for each Certificate generated by an Certificate Issuer.
	SerialNumber string `json:"serialNumber,omitempty"`

	// signature algorithm
	SignatureAlgorithm string `json:"signatureAlgorithm,omitempty"`

	// Parameters for the subject of the X509 component of a certificate.
	Subject *Subject `json:"subject,omitempty"`

	// certificate validity
	//
	// Certificate validatity start time
	// Format: date-time
	ValidFrom strfmt.DateTime `json:"validFrom,omitempty"`

	// Certificate validatity start time
	// Format: date-time
	ValidTill strfmt.DateTime `json:"validTill,omitempty"`
}

Certificate certificate

swagger:model Certificate

func (*Certificate) ContextValidate ¶

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

ContextValidate validate this certificate based on the context it is used

func (*Certificate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Certificate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Certificate) Validate ¶

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

Validate validates this certificate

type CertificateChain ¶

type CertificateChain struct {

	// List of Certificate object holds the details of certificate like cert block, encryption type, validity, subject etc
	Certificates []*Certificate `json:"certificates"`
}

CertificateChain certificate chain

swagger:model CertificateChain

func (*CertificateChain) ContextValidate ¶

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

ContextValidate validate this certificate chain based on the context it is used

func (*CertificateChain) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CertificateChain) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CertificateChain) Validate ¶

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

Validate validates this certificate chain

type CertificateEnrollmentDetail ¶

type CertificateEnrollmentDetail interface{}

CertificateEnrollmentDetail XXX TODO

swagger:model CertificateEnrollmentDetail

type ClassificationItem ¶

type ClassificationItem struct {

	// dest node
	DestNode string `json:"destNode,omitempty"`

	// level
	Level int64 `json:"level,omitempty"`

	// metric value
	MetricValue string `json:"metricValue,omitempty"`

	// source node
	SourceNode string `json:"sourceNode,omitempty"`
}

ClassificationItem classification item

swagger:model ClassificationItem

func (*ClassificationItem) ContextValidate ¶

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

ContextValidate validates this classification item based on context it is used

func (*ClassificationItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClassificationItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClassificationItem) Validate ¶

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

Validate validates this classification item

type ClassificationResponse ¶

type ClassificationResponse struct {

	// list
	List []*ClassificationItem `json:"list"`
}

ClassificationResponse classification response

swagger:model ClassificationResponse

func (*ClassificationResponse) ContextValidate ¶

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

ContextValidate validate this classification response based on the context it is used

func (*ClassificationResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClassificationResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClassificationResponse) Validate ¶

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

Validate validates this classification response

type CloudVersion ¶

type CloudVersion struct {

	// comp
	Comp string `json:"comp,omitempty"`

	// ver
	Ver string `json:"ver,omitempty"`
}

CloudVersion cloud version

swagger:model CloudVersion

func (*CloudVersion) ContextValidate ¶

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

ContextValidate validates this cloud version based on context it is used

func (*CloudVersion) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CloudVersion) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CloudVersion) Validate ¶

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

Validate validates this cloud version

type CloudVersionResp ¶

type CloudVersionResp struct {

	// result
	Result *ZsrvResponse `json:"result,omitempty"`

	// version
	Version *CloudVersion `json:"version,omitempty"`
}

CloudVersionResp cloud version resp

swagger:model CloudVersionResp

func (*CloudVersionResp) ContextValidate ¶

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

ContextValidate validate this cloud version resp based on the context it is used

func (*CloudVersionResp) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CloudVersionResp) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CloudVersionResp) Validate ¶

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

Validate validates this cloud version resp

type ClusterConfig ¶

type ClusterConfig struct {

	// min nodes required
	MinNodesRequired int64 `json:"minNodesRequired,omitempty"`
}

ClusterConfig cluster config

swagger:model ClusterConfig

func (*ClusterConfig) ContextValidate ¶

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

ContextValidate validates this cluster config based on context it is used

func (*ClusterConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterConfig) Validate ¶

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

Validate validates this cluster config

type ClusterInstPolicy ¶ added in v1.0.2

type ClusterInstPolicy struct {

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

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

	// revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

ClusterInstPolicy cluster inst policy

swagger:model ClusterInstPolicy

func (*ClusterInstPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this cluster inst policy based on the context it is used

func (*ClusterInstPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ClusterInstPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ClusterInstPolicy) Validate ¶ added in v1.0.2

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

Validate validates this cluster inst policy

type ClusterPolicy ¶

type ClusterPolicy struct {

	// UUID of the app policy linked to this cluster policy
	// Required: true
	// Pattern: [0-9-a-z-]+
	AppPolicyID *string `json:"appPolicyID"`

	// Cluster Policy Parameters
	ClusterConfig *ClusterConfig `json:"clusterConfig,omitempty"`

	// UUID of the network policy linked to this cluster policy
	// Required: true
	// Pattern: [0-9-a-z-]+
	NetworkPolicyID *string `json:"networkPolicyID"`

	// Type of cluster
	// Required: true
	Type *ClusterType `json:"type"`
}

ClusterPolicy Cluster policy body detail

cluster policy to bring up cluster on devices in this project

swagger:model ClusterPolicy

func (*ClusterPolicy) ContextValidate ¶

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

ContextValidate validate this cluster policy based on the context it is used

func (*ClusterPolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ClusterPolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ClusterPolicy) Validate ¶

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

Validate validates this cluster policy

type ClusterType ¶

type ClusterType string

ClusterType - CLUSTER_TYPE_K3S: cluster type is k3s

swagger:model ClusterType

const (

	// ClusterTypeCLUSTERTYPEUNSPECIFIED captures enum value "CLUSTER_TYPE_UNSPECIFIED"
	ClusterTypeCLUSTERTYPEUNSPECIFIED ClusterType = "CLUSTER_TYPE_UNSPECIFIED"

	// ClusterTypeCLUSTERTYPEK3S captures enum value "CLUSTER_TYPE_K3S"
	ClusterTypeCLUSTERTYPEK3S ClusterType = "CLUSTER_TYPE_K3S"
)

func NewClusterType ¶

func NewClusterType(value ClusterType) *ClusterType

func (ClusterType) ContextValidate ¶

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

ContextValidate validates this cluster type based on context it is used

func (ClusterType) Pointer ¶

func (m ClusterType) Pointer() *ClusterType

Pointer returns a pointer to a freshly-allocated ClusterType.

func (ClusterType) Validate ¶

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

Validate validates this cluster type

type CmdArg ¶

type CmdArg struct {

	// Command line argument: key
	Key string `json:"key,omitempty"`

	// Command line argument: value
	Value string `json:"value,omitempty"`
}

CmdArg CmdArg is used to store the command line arguments

CmdArg store the passed command line key and values ¶

swagger:model CmdArg

func (*CmdArg) ContextValidate ¶

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

ContextValidate validates this cmd arg based on context it is used

func (*CmdArg) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CmdArg) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CmdArg) Validate ¶

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

Validate validates this cmd arg

type CommonHashAlgorithm ¶

type CommonHashAlgorithm string

CommonHashAlgorithm common hash algorithm

swagger:model commonHashAlgorithm

const (

	// CommonHashAlgorithmHASHALGORITHMINVALID captures enum value "HASH_ALGORITHM_INVALID"
	CommonHashAlgorithmHASHALGORITHMINVALID CommonHashAlgorithm = "HASH_ALGORITHM_INVALID"

	// CommonHashAlgorithmHASHALGORITHMSHA25616BYTES captures enum value "HASH_ALGORITHM_SHA256_16BYTES"
	CommonHashAlgorithmHASHALGORITHMSHA25616BYTES CommonHashAlgorithm = "HASH_ALGORITHM_SHA256_16BYTES"

	// CommonHashAlgorithmHASHALGORITHMSHA25632BYTES captures enum value "HASH_ALGORITHM_SHA256_32BYTES"
	CommonHashAlgorithmHASHALGORITHMSHA25632BYTES CommonHashAlgorithm = "HASH_ALGORITHM_SHA256_32BYTES"
)

func NewCommonHashAlgorithm ¶

func NewCommonHashAlgorithm(value CommonHashAlgorithm) *CommonHashAlgorithm

func (CommonHashAlgorithm) ContextValidate ¶

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

ContextValidate validates this common hash algorithm based on context it is used

func (CommonHashAlgorithm) Pointer ¶

Pointer returns a pointer to a freshly-allocated CommonHashAlgorithm.

func (CommonHashAlgorithm) Validate ¶

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

Validate validates this common hash algorithm

type CommonPhyIoMemberUsage ¶

type CommonPhyIoMemberUsage string

CommonPhyIoMemberUsage PhyIoMemberUsage - Indicates how each adaptor must be used by Eve.

  • PhyIoUsageMgmtAndApps: Used by both management and apps.
  • PhyIoUsageShared: Shared by multiple apps
  • PhyIoUsageDedicated: used by only one app
  • PhyIoUsageDisabled: Adapter Blocked. Do not use the Adapter.
  • PhyIoUsageMgmtOnly: Used for Management traffic only. Cannot be used by Apps.

swagger:model commonPhyIoMemberUsage

const (

	// CommonPhyIoMemberUsagePhyIoUsageNone captures enum value "PhyIoUsageNone"
	CommonPhyIoMemberUsagePhyIoUsageNone CommonPhyIoMemberUsage = "PhyIoUsageNone"

	// CommonPhyIoMemberUsagePhyIoUsageMgmtAndApps captures enum value "PhyIoUsageMgmtAndApps"
	CommonPhyIoMemberUsagePhyIoUsageMgmtAndApps CommonPhyIoMemberUsage = "PhyIoUsageMgmtAndApps"

	// CommonPhyIoMemberUsagePhyIoUsageShared captures enum value "PhyIoUsageShared"
	CommonPhyIoMemberUsagePhyIoUsageShared CommonPhyIoMemberUsage = "PhyIoUsageShared"

	// CommonPhyIoMemberUsagePhyIoUsageDedicated captures enum value "PhyIoUsageDedicated"
	CommonPhyIoMemberUsagePhyIoUsageDedicated CommonPhyIoMemberUsage = "PhyIoUsageDedicated"

	// CommonPhyIoMemberUsagePhyIoUsageDisabled captures enum value "PhyIoUsageDisabled"
	CommonPhyIoMemberUsagePhyIoUsageDisabled CommonPhyIoMemberUsage = "PhyIoUsageDisabled"

	// CommonPhyIoMemberUsagePhyIoUsageMgmtOnly captures enum value "PhyIoUsageMgmtOnly"
	CommonPhyIoMemberUsagePhyIoUsageMgmtOnly CommonPhyIoMemberUsage = "PhyIoUsageMgmtOnly"
)

func NewCommonPhyIoMemberUsage ¶

func NewCommonPhyIoMemberUsage(value CommonPhyIoMemberUsage) *CommonPhyIoMemberUsage

func (CommonPhyIoMemberUsage) ContextValidate ¶

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

ContextValidate validates this common phy io member usage based on context it is used

func (CommonPhyIoMemberUsage) Pointer ¶

Pointer returns a pointer to a freshly-allocated CommonPhyIoMemberUsage.

func (CommonPhyIoMemberUsage) Validate ¶

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

Validate validates this common phy io member usage

type CommonPhyIoType ¶

type CommonPhyIoType string

CommonPhyIoType - PhyIoNVMEStorage: enum 8 is reserved for backward compatibility with controller API

swagger:model commonPhyIoType

const (

	// CommonPhyIoTypePhyIoNoop captures enum value "PhyIoNoop"
	CommonPhyIoTypePhyIoNoop CommonPhyIoType = "PhyIoNoop"

	// CommonPhyIoTypePhyIoNetEth captures enum value "PhyIoNetEth"
	CommonPhyIoTypePhyIoNetEth CommonPhyIoType = "PhyIoNetEth"

	// CommonPhyIoTypePhyIoUSB captures enum value "PhyIoUSB"
	CommonPhyIoTypePhyIoUSB CommonPhyIoType = "PhyIoUSB"

	// CommonPhyIoTypePhyIoCOM captures enum value "PhyIoCOM"
	CommonPhyIoTypePhyIoCOM CommonPhyIoType = "PhyIoCOM"

	// CommonPhyIoTypePhyIoAudio captures enum value "PhyIoAudio"
	CommonPhyIoTypePhyIoAudio CommonPhyIoType = "PhyIoAudio"

	// CommonPhyIoTypePhyIoNetWLAN captures enum value "PhyIoNetWLAN"
	CommonPhyIoTypePhyIoNetWLAN CommonPhyIoType = "PhyIoNetWLAN"

	// CommonPhyIoTypePhyIoNetWWAN captures enum value "PhyIoNetWWAN"
	CommonPhyIoTypePhyIoNetWWAN CommonPhyIoType = "PhyIoNetWWAN"

	// CommonPhyIoTypePhyIoHDMI captures enum value "PhyIoHDMI"
	CommonPhyIoTypePhyIoHDMI CommonPhyIoType = "PhyIoHDMI"

	// CommonPhyIoTypePhyIoNVMEStorage captures enum value "PhyIoNVMEStorage"
	CommonPhyIoTypePhyIoNVMEStorage CommonPhyIoType = "PhyIoNVMEStorage"

	// CommonPhyIoTypePhyIoSATAStorage captures enum value "PhyIoSATAStorage"
	CommonPhyIoTypePhyIoSATAStorage CommonPhyIoType = "PhyIoSATAStorage"

	// CommonPhyIoTypePhyIoNetEthPF captures enum value "PhyIoNetEthPF"
	CommonPhyIoTypePhyIoNetEthPF CommonPhyIoType = "PhyIoNetEthPF"

	// CommonPhyIoTypePhyIoNetEthVF captures enum value "PhyIoNetEthVF"
	CommonPhyIoTypePhyIoNetEthVF CommonPhyIoType = "PhyIoNetEthVF"

	// CommonPhyIoTypePhyIoOther captures enum value "PhyIoOther"
	CommonPhyIoTypePhyIoOther CommonPhyIoType = "PhyIoOther"
)

func NewCommonPhyIoType ¶

func NewCommonPhyIoType(value CommonPhyIoType) *CommonPhyIoType

func (CommonPhyIoType) ContextValidate ¶

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

ContextValidate validates this common phy io type based on context it is used

func (CommonPhyIoType) Pointer ¶

func (m CommonPhyIoType) Pointer() *CommonPhyIoType

Pointer returns a pointer to a freshly-allocated CommonPhyIoType.

func (CommonPhyIoType) Validate ¶

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

Validate validates this common phy io type

type ConfigACE ¶

type ConfigACE struct {

	// Expect only single action...repeated here is
	// for future work.
	Actions []*ConfigACEAction `json:"actions"`

	// dir
	Dir *ConfigACEDirection `json:"dir,omitempty"`

	// id
	ID int32 `json:"id,omitempty"`

	// multiple matches here is for various fields of 6 tuples
	//  for example
	//     1) host=www.example.com & port=http
	//     2) ip=8.8.8.8 & port=53 & proto=UDP
	Matches []*ConfigACEMatch `json:"matches"`

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

ConfigACE config a c e

swagger:model configACE

func (*ConfigACE) ContextValidate ¶

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

ContextValidate validate this config a c e based on the context it is used

func (*ConfigACE) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigACE) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigACE) Validate ¶

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

Validate validates this config a c e

type ConfigACEAction ¶

type ConfigACEAction struct {

	// app port
	AppPort int64 `json:"appPort,omitempty"`

	// drop
	Drop bool `json:"drop,omitempty"`

	// limit action, and its associated parameter
	Limit bool `json:"limit,omitempty"`

	// limitburst
	Limitburst int64 `json:"limitburst,omitempty"`

	// limitrate
	Limitrate int64 `json:"limitrate,omitempty"`

	// limitunit
	Limitunit string `json:"limitunit,omitempty"`

	// port map action, and its associated parameter
	Portmap bool `json:"portmap,omitempty"`
}

ConfigACEAction config a c e action

swagger:model configACEAction

func (*ConfigACEAction) ContextValidate ¶

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

ContextValidate validates this config a c e action based on context it is used

func (*ConfigACEAction) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigACEAction) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigACEAction) Validate ¶

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

Validate validates this config a c e action

type ConfigACEDirection ¶

type ConfigACEDirection string

ConfigACEDirection config a c e direction

swagger:model configACEDirection

const (

	// ConfigACEDirectionBOTH captures enum value "BOTH"
	ConfigACEDirectionBOTH ConfigACEDirection = "BOTH"

	// ConfigACEDirectionINGRESS captures enum value "INGRESS"
	ConfigACEDirectionINGRESS ConfigACEDirection = "INGRESS"

	// ConfigACEDirectionEGRESS captures enum value "EGRESS"
	ConfigACEDirectionEGRESS ConfigACEDirection = "EGRESS"
)

func NewConfigACEDirection ¶

func NewConfigACEDirection(value ConfigACEDirection) *ConfigACEDirection

func (ConfigACEDirection) ContextValidate ¶

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

ContextValidate validates this config a c e direction based on context it is used

func (ConfigACEDirection) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigACEDirection.

func (ConfigACEDirection) Validate ¶

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

Validate validates this config a c e direction

type ConfigACEMatch ¶

type ConfigACEMatch struct {

	// FIXME: We should convert this to enum
	Type string `json:"type,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ConfigACEMatch config a c e match

swagger:model configACEMatch

func (*ConfigACEMatch) ContextValidate ¶

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

ContextValidate validates this config a c e match based on context it is used

func (*ConfigACEMatch) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigACEMatch) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigACEMatch) Validate ¶

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

Validate validates this config a c e match

type ConfigAdapter ¶

type ConfigAdapter struct {

	// eth vf
	EthVf *ConfigEthVF `json:"ethVf,omitempty"`

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

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

ConfigAdapter Adapter bundles corresponding to a subset of what is in ZioBundle When used by a NetworkInstanceConfig the name is the logicallabel for the network adapter.

swagger:model configAdapter

func (*ConfigAdapter) ContextValidate ¶

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

ContextValidate validate this config adapter based on the context it is used

func (*ConfigAdapter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigAdapter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigAdapter) Validate ¶

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

Validate validates this config adapter

type ConfigAddressType ¶

type ConfigAddressType string

ConfigAddressType config address type

swagger:model configAddressType

const (

	// ConfigAddressTypeFirst captures enum value "First"
	ConfigAddressTypeFirst ConfigAddressType = "First"

	// ConfigAddressTypeIPV4 captures enum value "IPV4"
	ConfigAddressTypeIPV4 ConfigAddressType = "IPV4"

	// ConfigAddressTypeIPV6 captures enum value "IPV6"
	ConfigAddressTypeIPV6 ConfigAddressType = "IPV6"

	// ConfigAddressTypeCryptoIPV4 captures enum value "CryptoIPV4"
	ConfigAddressTypeCryptoIPV4 ConfigAddressType = "CryptoIPV4"

	// ConfigAddressTypeCryptoIPV6 captures enum value "CryptoIPV6"
	ConfigAddressTypeCryptoIPV6 ConfigAddressType = "CryptoIPV6"

	// ConfigAddressTypeLast captures enum value "Last"
	ConfigAddressTypeLast ConfigAddressType = "Last"
)

func NewConfigAddressType ¶

func NewConfigAddressType(value ConfigAddressType) *ConfigAddressType

func (ConfigAddressType) ContextValidate ¶

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

ContextValidate validates this config address type based on context it is used

func (ConfigAddressType) Pointer ¶

func (m ConfigAddressType) Pointer() *ConfigAddressType

Pointer returns a pointer to a freshly-allocated ConfigAddressType.

func (ConfigAddressType) Validate ¶

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

Validate validates this config address type

type ConfigAppDebugAccessPolicy ¶ added in v1.0.2

type ConfigAppDebugAccessPolicy struct {

	// app side of edge-view access is allowed or not
	AllowApp bool `json:"allowApp,omitempty"`
}

ConfigAppDebugAccessPolicy App debug policy applicable to edge-view

swagger:model configAppDebugAccessPolicy

func (*ConfigAppDebugAccessPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config app debug access policy based on context it is used

func (*ConfigAppDebugAccessPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigAppDebugAccessPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigAppDebugAccessPolicy) Validate ¶ added in v1.0.2

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

Validate validates this config app debug access policy

type ConfigAppInstanceConfig ¶

type ConfigAppInstanceConfig struct {

	// Set activate to start the application instance; clear it to stop it.
	Activate bool `json:"activate,omitempty"`

	// Physical adapters such as eth1 or USB controllers and GPUs assigned
	// to the application instance.
	// The Name in Adapter should be set to PhysicalIO.assigngrp
	Adapters []*ConfigAdapter `json:"adapters"`

	// contains the encrypted userdata
	CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`

	// The static IP address assigned on the NetworkAdapter which App Container
	// stats collection uses. If the 'collectStatsIPAddr' is not empty and valid,
	// it enables the container stats collection for this App.
	// During App instance creation, after user enables the collection of stats
	// from App, cloud needs to make sure at least one 'Local' type of Network-Instance
	// is assigned to the App interface, and based on the subnet of the NI, statically
	// assign an IP address on the same subnet, e.g. 10.1.0.100
	CollectStatsIPAddr string `json:"collectStatsIPAddr,omitempty"`

	// displayname
	Displayname string `json:"displayname,omitempty"`

	// VolumeRefs, if supported by EVE, will supersede drives. Drives still
	// exist for backward compatibility.
	// Drives will be deprecated in the future.
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first VM image
	// will be the root disk.
	Drives []*ConfigDrive `json:"drives"`

	// fixedresources
	Fixedresources *ConfigVMConfig `json:"fixedresources,omitempty"`

	// NetworkAdapter are virtual adapters assigned to the application
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first NetworkAdapter
	// will appear in a Linux VM as eth0. Also, the MAC address is determined
	// based on the order in the list.
	Interfaces []*ConfigNetworkAdapter `json:"interfaces"`

	// metadata type to use for app if provided inside userData
	MetaDataType *ConfigMetaDataType `json:"metaDataType,omitempty"`

	// profile_list is a set of strings which can be used to control which sets
	// of applications are run. Combined with the activate flag above.
	// If the profile list is empty it means wildcard; application will
	// be started independent of the global or local profile specified for the
	// device.
	ProfileList []string `json:"profileList"`

	// The EVE behavior for a purge command is to restart the application instance
	// with the first drive/volumeRef recreated from its origin.
	Purge *ConfigInstanceOpsCmd `json:"purge,omitempty"`

	// Config flag if the app-instance should be made accessible
	// through a remote console session established by the device.
	RemoteConsole bool `json:"remoteConsole,omitempty"`

	// The device behavior for a restart command (if counter increased)
	// is to restart the application instance
	// Increasing this multiple times does not imply the application instance
	// will restart more than once.
	// EVE can assume that the adapters did not change.
	Restart *ConfigInstanceOpsCmd `json:"restart,omitempty"`

	// start_delay_in_seconds - Applicable only when EVE boots up fresh and starts
	// applications for the first time after boot up. This is the amount of time that
	// EVE waits (after boot finish) before starting each application.
	// Default value 0 -> start application immediately.
	// Non-Zero value -> After EVE is ready to start application instance, wait for the
	// given amount of time before starting the respective application instance.
	StartDelayInSeconds int64 `json:"startDelayInSeconds,omitempty"`

	// App Instance initialization configuration data provided by user
	// This will be used as "user-data" in cloud-init
	// Empty string will indicate that cloud-init is not required
	// It is also used to carry environment variables for containers.
	// XXX will be deprecated and replaced by the cipherData below.
	UserData string `json:"userData,omitempty"`

	// uuidandversion
	Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`

	// The volumes to be attached to the app-instance.
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first VM image
	// will be the root disk.
	// Note that since the name volumeRef was used before and deprecated
	// python protobuf seems to require that we use a different name.
	VolumeRefList []*ConfigVolumeRef `json:"volumeRefList"`
}

ConfigAppInstanceConfig The complete configuration for an Application Instance When changing key fields such as the drives/volumeRefs or the number of interfaces, the controller is required to issue a purge command i.e., increase the purge counter. Otherwise there will be an error (The controller can also issue a purge command to re-construct the content of the first drive/volumeRef without any changes.) Some changes such as ACL changes in the interfaces do not require a restart, but all other changes (such as fixedresources and adapters) require a restart command i.e., an increase to the restart counter. The restart counter can also be increased to cause an application instance restart without any other change to the application instance.

swagger:model configAppInstanceConfig

func (*ConfigAppInstanceConfig) ContextValidate ¶

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

ContextValidate validate this config app instance config based on the context it is used

func (*ConfigAppInstanceConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigAppInstanceConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigAppInstanceConfig) Validate ¶

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

Validate validates this config app instance config

type ConfigArpMonitor ¶ added in v1.0.2

type ConfigArpMonitor struct {

	// Interval specifies the ARP link monitoring frequency in milliseconds.
	Interval int64 `json:"interval,omitempty"`

	// IpTargets specifies the IPv4 addresses to use as ARP monitoring peers.
	// These are the targets of ARP requests sent to determine the health of links.
	IPTargets []string `json:"ipTargets"`
}

ConfigArpMonitor ArpMonitor : ARP-based link monitoring parameters. Defined for BondAdapter.

swagger:model configArpMonitor

func (*ConfigArpMonitor) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config arp monitor based on context it is used

func (*ConfigArpMonitor) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigArpMonitor) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigArpMonitor) Validate ¶ added in v1.0.2

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

Validate validates this config arp monitor

type ConfigBaseOS ¶

type ConfigBaseOS struct {

	// if not set BaseOS will be installed,
	// but not activated
	Activate bool `json:"activate,omitempty"`

	// base os version
	BaseOsVersion string `json:"baseOsVersion,omitempty"`

	// UUID for ContentTree with BaseOS image
	ContentTreeUUID string `json:"contentTreeUuid,omitempty"`

	// retry_update
	// Retry the BaseOs update if the update failed previously.
	// 1) If this image is in FAILED state, retry the image update.
	// 2) If this image is already active and fully installed (PartitionState = UPDATED),
	//    Do nothing. Just update the baseos_update_counter in Info message.
	// 3) If this image is same as active image, but status is NOT yet UPDATED, or
	//    if the update to this image is in progress, wait till the update
	//    concludes (Success / Error+rollback) - then trigger the retry as needed.
	RetryUpdate *ConfigDeviceOpsCmd `json:"retryUpdate,omitempty"`
}

ConfigBaseOS config base o s

swagger:model configBaseOS

func (*ConfigBaseOS) ContextValidate ¶

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

ContextValidate validate this config base o s based on the context it is used

func (*ConfigBaseOS) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigBaseOS) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigBaseOS) Validate ¶

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

Validate validates this config base o s

type ConfigBaseOSConfig ¶

type ConfigBaseOSConfig struct {

	// activate
	Activate bool `json:"activate,omitempty"`

	// base o s version
	BaseOSVersion string `json:"baseOSVersion,omitempty"`

	// volumeID will supersede drives. Drives still
	// exist for backward compatibility.
	// Drives will be deprecated in the future.
	Drives []*ConfigDrive `json:"drives"`

	// uuidandversion
	Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`

	// volume ID
	VolumeID string `json:"volumeID,omitempty"`
}

ConfigBaseOSConfig config base o s config

swagger:model configBaseOSConfig

func (*ConfigBaseOSConfig) ContextValidate ¶

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

ContextValidate validate this config base o s config based on the context it is used

func (*ConfigBaseOSConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigBaseOSConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigBaseOSConfig) Validate ¶

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

Validate validates this config base o s config

type ConfigBondAdapter ¶ added in v1.0.2

type ConfigBondAdapter struct {

	// The ARP monitor is based on the communication to the target
	// hosts designated by their IP addresses. Even if the link is beyond
	// the nearest connected switch, the APR monitor can detect it.
	Arp *ConfigArpMonitor `json:"arp,omitempty"`

	// A bonding mode specifies the policy indicating how bonding slaves are used
	// during network transmission
	BondMode *ConfigBondMode `json:"bondMode,omitempty"`

	// A physical name of the bond interface.
	// Note that the interface name is limited in Linux kernel to 15 characters.
	// If not defined, logicallabel will be used instead.
	InterfaceName string `json:"interfaceName,omitempty"`

	// Option specifying the rate in which EVE will ask LACP link partners
	// to transmit LACPDU packets in 802.3ad mode.
	LacpRate *ConfigLacpRate `json:"lacpRate,omitempty"`

	// Name of this bond adapter.
	Logicallabel string `json:"logicallabel,omitempty"`

	// Logical names of aggregated PhysicalIOs.
	// For all bonding modes but Active-Backup the order is irrelevant.
	// In the Active-Backup mode (BOND_MODE_ACTIVE_BACKUP), the first PhysicalIO
	// in the list will be considered as the primary port (i.e. only when
	// the primary is off-line will alternate ports be used).
	LowerLayerNames []string `json:"lowerLayerNames"`

	// The MII monitor is driver-dependent. It monitors the links from the device
	// to the nearest connected switch. If the failure occurs beyond the nearest
	// connected switch, it cannot be detected by MII monitor.
	Mii *ConfigMIIMonitor `json:"mii,omitempty"`
}

ConfigBondAdapter BondAdapter aggregates multiple PhysicalIOs into one adapter for redundancy and load-spreading purposes.

swagger:model configBondAdapter

func (*ConfigBondAdapter) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this config bond adapter based on the context it is used

func (*ConfigBondAdapter) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigBondAdapter) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigBondAdapter) Validate ¶ added in v1.0.2

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

Validate validates this config bond adapter

type ConfigBondMode ¶ added in v1.0.2

type ConfigBondMode string

ConfigBondMode A bonding mode specifies the policy indicating how bonding slaves are used during network transmission.

  • BOND_MODE_UNSPECIFIED: BOND_MODE_UNSPECIFIED : if bonding mode is not explicitly specified,

then by default Round-Robin policy is applied (BOND_MODE_BALANCE_RR).

  • BOND_MODE_BALANCE_RR: BOND_MODE_BALANCE_RR : transmit packets in sequential order from the first

available slave through the last. This mode provides load balancing and fault tolerance. This is the default bonding mode.

  • BOND_MODE_ACTIVE_BACKUP: BOND_MODE_ACTIVE_BACKUP : only one slave in the bond is active.

A different slave becomes active if, and only if, the active slave fails. The bond's MAC address is externally visible on only one port to avoid confusing the switch. This mode provides fault tolerance.

  • BOND_MODE_BALANCE_XOR: BOND_MODE_BALANCE_XOR : packet source and destination MAC addresses are

used to calculate hash and select the output slave interface accordingly. This algorithm will place all traffic destined to a particular network peer on the same slave. This mode provides load balancing and fault tolerance.

  • BOND_MODE_BROADCAST: BOND_MODE_BROADCAST: transmits everything on all slave interfaces.

This mode provides fault tolerance.

  • BOND_MODE_802_3AD: BOND_MODE_802_3AD : IEEE 802.3ad Dynamic link aggregation.

Creates aggregation groups that share the same speed and duplex settings. Utilizes all slaves in the active aggregator according to the 802.3ad specification. Requires that upstream networks equipment supports and has the IEEE 802.3ad Dynamic link aggregation properly configured.

  • BOND_MODE_BALANCE_TLB: BOND_MODE_BALANCE_TLB : adaptive transmit load balancing. Channel bonding that

does not require any special switch support. The outgoing traffic is distributed according to the current load (computed relative to the speed) on each slave. Incoming traffic is received by the current slave. If the receiving slave fails, another slave takes over the MAC address of the failed receiving slave. This mode provides (TX) load balancing and fault tolerance.

  • BOND_MODE_BALANCE_ALB: BOND_MODE_BALANCE_ALB : adaptive load balancing. Includes BOND_MODE_BALANCE_TLB

plus receive load balancing (RLB) for IPV4 traffic, and does not require any special switch support. The receive load balancing is achieved by ARP negotiation. This mode provides load balancing and fault tolerance.

swagger:model configBondMode

const (

	// ConfigBondModeBONDMODEUNSPECIFIED captures enum value "BOND_MODE_UNSPECIFIED"
	ConfigBondModeBONDMODEUNSPECIFIED ConfigBondMode = "BOND_MODE_UNSPECIFIED"

	// ConfigBondModeBONDMODEBALANCERR captures enum value "BOND_MODE_BALANCE_RR"
	ConfigBondModeBONDMODEBALANCERR ConfigBondMode = "BOND_MODE_BALANCE_RR"

	// ConfigBondModeBONDMODEACTIVEBACKUP captures enum value "BOND_MODE_ACTIVE_BACKUP"
	ConfigBondModeBONDMODEACTIVEBACKUP ConfigBondMode = "BOND_MODE_ACTIVE_BACKUP"

	// ConfigBondModeBONDMODEBALANCEXOR captures enum value "BOND_MODE_BALANCE_XOR"
	ConfigBondModeBONDMODEBALANCEXOR ConfigBondMode = "BOND_MODE_BALANCE_XOR"

	// ConfigBondModeBONDMODEBROADCAST captures enum value "BOND_MODE_BROADCAST"
	ConfigBondModeBONDMODEBROADCAST ConfigBondMode = "BOND_MODE_BROADCAST"

	// ConfigBondModeBONDMODE8023AD captures enum value "BOND_MODE_802_3AD"
	ConfigBondModeBONDMODE8023AD ConfigBondMode = "BOND_MODE_802_3AD"

	// ConfigBondModeBONDMODEBALANCETLB captures enum value "BOND_MODE_BALANCE_TLB"
	ConfigBondModeBONDMODEBALANCETLB ConfigBondMode = "BOND_MODE_BALANCE_TLB"

	// ConfigBondModeBONDMODEBALANCEALB captures enum value "BOND_MODE_BALANCE_ALB"
	ConfigBondModeBONDMODEBALANCEALB ConfigBondMode = "BOND_MODE_BALANCE_ALB"
)

func NewConfigBondMode ¶ added in v1.0.2

func NewConfigBondMode(value ConfigBondMode) *ConfigBondMode

func (ConfigBondMode) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config bond mode based on context it is used

func (ConfigBondMode) Pointer ¶ added in v1.0.2

func (m ConfigBondMode) Pointer() *ConfigBondMode

Pointer returns a pointer to a freshly-allocated ConfigBondMode.

func (ConfigBondMode) Validate ¶ added in v1.0.2

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

Validate validates this config bond mode

type ConfigCellularConfig ¶

type ConfigCellularConfig struct {

	// APN string - by default it is "internet"
	APN string `json:"APN,omitempty"`

	// Some LTE modems have GNSS receiver integrated and can be used for device
	// location tracking.
	// Enable this option to have location info periodically obtained from this
	// modem and published to controller and to applications.
	LocationTracking bool `json:"locationTracking,omitempty"`

	// Optional cellular connectivity probing.
	// By default it is enabled.
	Probe *ConfigCellularConnectivityProbe `json:"probe,omitempty"`
}

ConfigCellularConfig config cellular config

swagger:model configCellularConfig

func (*ConfigCellularConfig) ContextValidate ¶

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

ContextValidate validate this config cellular config based on the context it is used

func (*ConfigCellularConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigCellularConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigCellularConfig) Validate ¶

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

Validate validates this config cellular config

type ConfigCellularConnectivityProbe ¶ added in v1.0.2

type ConfigCellularConnectivityProbe struct {

	// If true, then probing is disabled.
	Disable bool `json:"disable,omitempty"`

	// IP/FQDN to periodically probe using 3 pings per iteration to determine connectivity status.
	// Default address is "8.8.8.8" (Google Public DNS).
	ProbeAddress string `json:"probeAddress,omitempty"`
}

ConfigCellularConnectivityProbe CellularConnectivityProbe is used to periodically check the connectivity status of a cellular network by probing a remote endpoint. Whenever the probe fails, the cellular connection is automatically restarted. If the probe keeps failing even after the restart, the failure is reported in ZCellularStatus.probeError. The connectivity probing interval is 5 minutes and currently it is not configurable.

swagger:model configCellularConnectivityProbe

func (*ConfigCellularConnectivityProbe) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config cellular connectivity probe based on context it is used

func (*ConfigCellularConnectivityProbe) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigCellularConnectivityProbe) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigCellularConnectivityProbe) Validate ¶ added in v1.0.2

Validate validates this config cellular connectivity probe

type ConfigCipherBlock ¶

type ConfigCipherBlock struct {

	// cipher context id
	CipherContextID string `json:"cipherContextId,omitempty"`

	// encrypted sensitive data
	// Format: byte
	CipherData strfmt.Base64 `json:"cipherData,omitempty"`

	// sha256 of the plaintext sensitive data
	// Format: byte
	ClearTextSha256 strfmt.Base64 `json:"clearTextSha256,omitempty"`

	// Initial Value for Symmetric Key derivation
	// Format: byte
	InitialValue strfmt.Base64 `json:"initialValue,omitempty"`
}

ConfigCipherBlock Encrypted sensitive data information

swagger:model configCipherBlock

func (*ConfigCipherBlock) ContextValidate ¶

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

ContextValidate validates this config cipher block based on context it is used

func (*ConfigCipherBlock) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigCipherBlock) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigCipherBlock) Validate ¶

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

Validate validates this config cipher block

type ConfigCipherContext ¶

type ConfigCipherContext struct {

	// cipher context id, key to this structure
	ContextID string `json:"contextId,omitempty"`

	// controller certificate hash
	// Format: byte
	ControllerCertHash strfmt.Base64 `json:"controllerCertHash,omitempty"`

	// device public certificate hash
	// Format: byte
	DeviceCertHash strfmt.Base64 `json:"deviceCertHash,omitempty"`

	// for encrypting sensitive data, like AES256 etc.
	EncryptionScheme *ConfigEncryptionScheme `json:"encryptionScheme,omitempty"`

	// algorithm used to compute hash for certificates
	HashScheme *CommonHashAlgorithm `json:"hashScheme,omitempty"`

	// for key exchange scheme, like ECDH etc.
	KeyExchangeScheme *ConfigKeyExchangeScheme `json:"keyExchangeScheme,omitempty"`
}

ConfigCipherContext Cipher information to decrypt Sensitive Data

swagger:model configCipherContext

func (*ConfigCipherContext) ContextValidate ¶

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

ContextValidate validate this config cipher context based on the context it is used

func (*ConfigCipherContext) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigCipherContext) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigCipherContext) Validate ¶

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

Validate validates this config cipher context

type ConfigConfigItem ¶

type ConfigConfigItem struct {

	// key
	Key string `json:"key,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

ConfigConfigItem Timers and other per-device policy which relates to the interaction with zedcloud. Note that the timers are randomized on the device to avoid synchronization with other devices. Random range is between between .5 and 1.5 of these nominal values. If not set (i.e. zero), it means the default value of 60 seconds.

swagger:model configConfigItem

func (*ConfigConfigItem) ContextValidate ¶

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

ContextValidate validates this config config item based on context it is used

func (*ConfigConfigItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigConfigItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigConfigItem) Validate ¶

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

Validate validates this config config item

type ConfigContentTree ¶

type ConfigContentTree struct {

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

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

	// ds Id
	DsID string `json:"dsId,omitempty"`

	// For container ContentTree, sha256 might not be available in config.
	// If the sha256 is not available then it needs to be resolved corresponding to the tag
	// change in generation_count indicates that the resolution of tag is needed
	// generation_count needs to be updated when purge is required for an existing
	// instance. In case of new instance using the same content tree, EVE will get
	// new content tree UUID in the device configuration from the controller.
	GenerationCount string `json:"generationCount,omitempty"`

	// iformat
	Iformat *ConfigFormat `json:"iformat,omitempty"`

	// maxSizeBytes used for capping resource consumption in EVE.
	// maxSizeBytes indicates the maximum download size of content tree.
	MaxSizeBytes string `json:"maxSizeBytes,omitempty"`

	// The sha is for the top blob of the ContentTree
	Sha256 string `json:"sha256,omitempty"`

	// siginfo
	Siginfo *ConfigSignatureInfo `json:"siginfo,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

ConfigContentTree ContentTree describes the top of some content tree. The controller needs to allocate a uuid for it, and that uuid will be sent by EVE in the ZInfoContentTree message

swagger:model configContentTree

func (*ConfigContentTree) ContextValidate ¶

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

ContextValidate validate this config content tree based on the context it is used

func (*ConfigContentTree) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigContentTree) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigContentTree) Validate ¶

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

Validate validates this config content tree

type ConfigDHCPType ¶

type ConfigDHCPType string

ConfigDHCPType - Static: Statically configure the DHCP for port

  • DHCPNone: Don't run any DHCP, we are in passthrough mode for app
  • Client: Run the DHCP client on this port

swagger:model configDHCPType

const (

	// ConfigDHCPTypeDHCPNoop captures enum value "DHCPNoop"
	ConfigDHCPTypeDHCPNoop ConfigDHCPType = "DHCPNoop"

	// ConfigDHCPTypeStatic captures enum value "Static"
	ConfigDHCPTypeStatic ConfigDHCPType = "Static"

	// ConfigDHCPTypeDHCPNone captures enum value "DHCPNone"
	ConfigDHCPTypeDHCPNone ConfigDHCPType = "DHCPNone"

	// ConfigDHCPTypeClient captures enum value "Client"
	ConfigDHCPTypeClient ConfigDHCPType = "Client"
)

func NewConfigDHCPType ¶

func NewConfigDHCPType(value ConfigDHCPType) *ConfigDHCPType

func (ConfigDHCPType) ContextValidate ¶

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

ContextValidate validates this config d h c p type based on context it is used

func (ConfigDHCPType) Pointer ¶

func (m ConfigDHCPType) Pointer() *ConfigDHCPType

Pointer returns a pointer to a freshly-allocated ConfigDHCPType.

func (ConfigDHCPType) Validate ¶

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

Validate validates this config d h c p type

type ConfigDatastoreConfig ¶

type ConfigDatastoreConfig struct {

	// to be deprecated, use cipherData instead
	APIKey string `json:"apiKey,omitempty"`

	// contains the encrypted credentials
	CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`

	// d type
	DType *ConfigDsType `json:"dType,omitempty"`

	// depending on datastore types, it could be bucket or path
	Dpath string `json:"dpath,omitempty"`

	// Uploaded datastore certificate or certificate chain
	DsCertPEM []strfmt.Base64 `json:"dsCertPEM"`

	// fqdn
	Fqdn string `json:"fqdn,omitempty"`

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

	// to be deprecated, use cipherData instead
	Password string `json:"password,omitempty"`

	// Applies for some datastore types
	Region string `json:"region,omitempty"`
}

ConfigDatastoreConfig The DataStoreConfig contains common parameters for a give source of images aka ContentTrees, such as the credentials and server

swagger:model configDatastoreConfig

func (*ConfigDatastoreConfig) ContextValidate ¶

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

ContextValidate validate this config datastore config based on the context it is used

func (*ConfigDatastoreConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigDatastoreConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigDatastoreConfig) Validate ¶

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

Validate validates this config datastore config

type ConfigDevDebugAccessPolicy ¶ added in v1.0.2

type ConfigDevDebugAccessPolicy struct {

	// device side of edge-view access is allowed or not
	AllowDev bool `json:"allowDev,omitempty"`
}

ConfigDevDebugAccessPolicy Dev debug policy applicable to edge-view

swagger:model configDevDebugAccessPolicy

func (*ConfigDevDebugAccessPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config dev debug access policy based on context it is used

func (*ConfigDevDebugAccessPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigDevDebugAccessPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigDevDebugAccessPolicy) Validate ¶ added in v1.0.2

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

Validate validates this config dev debug access policy

type ConfigDeviceOpsCmd ¶

type ConfigDeviceOpsCmd struct {

	// counter
	Counter int64 `json:"counter,omitempty"`

	// desired state
	DesiredState bool `json:"desiredState,omitempty"`

	// FIXME: change to timestamp, once we move to gogo proto
	OpsTime string `json:"opsTime,omitempty"`
}

ConfigDeviceOpsCmd Device Operational Commands Semantic For rebooting device, command=Reset, counter = counter+delta, desiredState = on For poweroff device, command=Reset, counter = counter+delta, desiredState = off For backup at midnight, command=Backup, counter = counter+delta, desiredState=n/a, opsTime = mm/dd/yy:hh:ss Current implementation does support only single command outstanding for each type. In future can be extended to have more scheduled events.

swagger:model configDeviceOpsCmd

func (*ConfigDeviceOpsCmd) ContextValidate ¶

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

ContextValidate validates this config device ops cmd based on context it is used

func (*ConfigDeviceOpsCmd) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigDeviceOpsCmd) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigDeviceOpsCmd) Validate ¶

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

Validate validates this config device ops cmd

type ConfigDiskConfig ¶ added in v1.0.2

type ConfigDiskConfig struct {

	// disk
	Disk *EvecommonDiskDescription `json:"disk,omitempty"`

	// disk config
	DiskConfig *ConfigDiskConfigType `json:"diskConfig,omitempty"`

	// define old disk here to replace it with new one defined in disk, omit it to not use replacement
	OldDisk *EvecommonDiskDescription `json:"oldDisk,omitempty"`
}

ConfigDiskConfig DiskConfig describe desired configuration of disk If we want change state to online/offline we should define its state If we want to add disk we should define it here and set DiskConfigType to online or offline If we want to remove disk we should set its state to unused or appdirect If we want to replace disk we should fill old_disk to be replaced with disk Progress of operation is expected to be available in info messages

swagger:model configDiskConfig

func (*ConfigDiskConfig) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this config disk config based on the context it is used

func (*ConfigDiskConfig) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigDiskConfig) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigDiskConfig) Validate ¶ added in v1.0.2

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

Validate validates this config disk config

type ConfigDiskConfigType ¶ added in v1.0.2

type ConfigDiskConfigType string

ConfigDiskConfigType DiskConfigType is the desired configuration of disks

swagger:model configDiskConfigType

const (

	// ConfigDiskConfigTypeDISKCONFIGTYPEUNSPECIFIED captures enum value "DISK_CONFIG_TYPE_UNSPECIFIED"
	ConfigDiskConfigTypeDISKCONFIGTYPEUNSPECIFIED ConfigDiskConfigType = "DISK_CONFIG_TYPE_UNSPECIFIED"

	// ConfigDiskConfigTypeDISKCONFIGTYPEEVEOS captures enum value "DISK_CONFIG_TYPE_EVEOS"
	ConfigDiskConfigTypeDISKCONFIGTYPEEVEOS ConfigDiskConfigType = "DISK_CONFIG_TYPE_EVEOS"

	// ConfigDiskConfigTypeDISKCONFIGTYPEPERSIST captures enum value "DISK_CONFIG_TYPE_PERSIST"
	ConfigDiskConfigTypeDISKCONFIGTYPEPERSIST ConfigDiskConfigType = "DISK_CONFIG_TYPE_PERSIST"

	// ConfigDiskConfigTypeDISKCONFIGTYPEZFSONLINE captures enum value "DISK_CONFIG_TYPE_ZFS_ONLINE"
	ConfigDiskConfigTypeDISKCONFIGTYPEZFSONLINE ConfigDiskConfigType = "DISK_CONFIG_TYPE_ZFS_ONLINE"

	// ConfigDiskConfigTypeDISKCONFIGTYPEZFSOFFLINE captures enum value "DISK_CONFIG_TYPE_ZFS_OFFLINE"
	ConfigDiskConfigTypeDISKCONFIGTYPEZFSOFFLINE ConfigDiskConfigType = "DISK_CONFIG_TYPE_ZFS_OFFLINE"

	// ConfigDiskConfigTypeDISKCONFIGTYPEAPPDIRECT captures enum value "DISK_CONFIG_TYPE_APPDIRECT"
	ConfigDiskConfigTypeDISKCONFIGTYPEAPPDIRECT ConfigDiskConfigType = "DISK_CONFIG_TYPE_APPDIRECT"

	// ConfigDiskConfigTypeDISKCONFIGTYPEUNUSED captures enum value "DISK_CONFIG_TYPE_UNUSED"
	ConfigDiskConfigTypeDISKCONFIGTYPEUNUSED ConfigDiskConfigType = "DISK_CONFIG_TYPE_UNUSED"
)

func NewConfigDiskConfigType ¶ added in v1.0.2

func NewConfigDiskConfigType(value ConfigDiskConfigType) *ConfigDiskConfigType

func (ConfigDiskConfigType) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config disk config type based on context it is used

func (ConfigDiskConfigType) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated ConfigDiskConfigType.

func (ConfigDiskConfigType) Validate ¶ added in v1.0.2

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

Validate validates this config disk config type

type ConfigDisksArrayType ¶ added in v1.0.2

type ConfigDisksArrayType string

ConfigDisksArrayType DisksArrayType is the desired configuration of disks in DisksConfig

swagger:model configDisksArrayType

const (

	// ConfigDisksArrayTypeDISKSARRAYTYPEUNSPECIFIED captures enum value "DISKS_ARRAY_TYPE_UNSPECIFIED"
	ConfigDisksArrayTypeDISKSARRAYTYPEUNSPECIFIED ConfigDisksArrayType = "DISKS_ARRAY_TYPE_UNSPECIFIED"

	// ConfigDisksArrayTypeDISKSARRAYTYPERAID0 captures enum value "DISKS_ARRAY_TYPE_RAID0"
	ConfigDisksArrayTypeDISKSARRAYTYPERAID0 ConfigDisksArrayType = "DISKS_ARRAY_TYPE_RAID0"

	// ConfigDisksArrayTypeDISKSARRAYTYPERAID1 captures enum value "DISKS_ARRAY_TYPE_RAID1"
	ConfigDisksArrayTypeDISKSARRAYTYPERAID1 ConfigDisksArrayType = "DISKS_ARRAY_TYPE_RAID1"

	// ConfigDisksArrayTypeDISKSARRAYTYPERAID5 captures enum value "DISKS_ARRAY_TYPE_RAID5"
	ConfigDisksArrayTypeDISKSARRAYTYPERAID5 ConfigDisksArrayType = "DISKS_ARRAY_TYPE_RAID5"

	// ConfigDisksArrayTypeDISKSARRAYTYPERAID6 captures enum value "DISKS_ARRAY_TYPE_RAID6"
	ConfigDisksArrayTypeDISKSARRAYTYPERAID6 ConfigDisksArrayType = "DISKS_ARRAY_TYPE_RAID6"
)

func NewConfigDisksArrayType ¶ added in v1.0.2

func NewConfigDisksArrayType(value ConfigDisksArrayType) *ConfigDisksArrayType

func (ConfigDisksArrayType) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config disks array type based on context it is used

func (ConfigDisksArrayType) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated ConfigDisksArrayType.

func (ConfigDisksArrayType) Validate ¶ added in v1.0.2

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

Validate validates this config disks array type

type ConfigDisksConfig ¶ added in v1.0.2

type ConfigDisksConfig struct {

	// array type
	ArrayType *ConfigDisksArrayType `json:"arrayType,omitempty"`

	// children
	Children []*ConfigDisksConfig `json:"children"`

	// disks
	Disks []*ConfigDiskConfig `json:"disks"`
}

ConfigDisksConfig DisksConfig is a configuration of disks We expect information about disks to be filled and will try to adjust disks states accordingly All disks defined in disks field expected to have array type defined in array_type To support nested topologies we can use children field

For example to use stripe of two pairs of mirrored disks we should define DisksConfig without disks with array_type DISKS_ARRAY_TYPE_RAID0 with two children with properly defined disks inside and with array_type DISKS_ARRAY_TYPE_RAID1 and empty children

swagger:model configDisksConfig

func (*ConfigDisksConfig) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this config disks config based on the context it is used

func (*ConfigDisksConfig) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigDisksConfig) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigDisksConfig) Validate ¶ added in v1.0.2

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

Validate validates this config disks config

type ConfigDrive ¶

type ConfigDrive struct {

	// drvtype
	Drvtype *ConfigDriveType `json:"drvtype,omitempty"`

	// image
	Image *EveconfigImage `json:"image,omitempty"`

	// maxsizebytes indicates the maximum size of the volume.
	// Initial image size will be resized to the maxsizebytes
	// iff maxsizebytes is greater than the image size.
	Maxsizebytes string `json:"maxsizebytes,omitempty"`

	// preserve
	Preserve bool `json:"preserve,omitempty"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// target
	Target *ConfigTarget `json:"target,omitempty"`
}

ConfigDrive XXX the Drive will be deprecated and we will use Volumes instead

swagger:model configDrive

func (*ConfigDrive) ContextValidate ¶

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

ContextValidate validate this config drive based on the context it is used

func (*ConfigDrive) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigDrive) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigDrive) Validate ¶

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

Validate validates this config drive

type ConfigDriveType ¶

type ConfigDriveType string

ConfigDriveType XXX the DriveType will be deprecated when we deprecate Drive

- HDD_EMPTY: this type is allocate the empty disk of maxsizebytes specified

swagger:model configDriveType

const (

	// ConfigDriveTypeUnclassified captures enum value "Unclassified"
	ConfigDriveTypeUnclassified ConfigDriveType = "Unclassified"

	// ConfigDriveTypeCDROM captures enum value "CDROM"
	ConfigDriveTypeCDROM ConfigDriveType = "CDROM"

	// ConfigDriveTypeHDD captures enum value "HDD"
	ConfigDriveTypeHDD ConfigDriveType = "HDD"

	// ConfigDriveTypeNET captures enum value "NET"
	ConfigDriveTypeNET ConfigDriveType = "NET"

	// ConfigDriveTypeHDDEMPTY captures enum value "HDD_EMPTY"
	ConfigDriveTypeHDDEMPTY ConfigDriveType = "HDD_EMPTY"
)

func NewConfigDriveType ¶

func NewConfigDriveType(value ConfigDriveType) *ConfigDriveType

func (ConfigDriveType) ContextValidate ¶

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

ContextValidate validates this config drive type based on context it is used

func (ConfigDriveType) Pointer ¶

func (m ConfigDriveType) Pointer() *ConfigDriveType

Pointer returns a pointer to a freshly-allocated ConfigDriveType.

func (ConfigDriveType) Validate ¶

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

Validate validates this config drive type

type ConfigDsType ¶

type ConfigDsType string

ConfigDsType config ds type

swagger:model configDsType

const (

	// ConfigDsTypeDsUnknown captures enum value "DsUnknown"
	ConfigDsTypeDsUnknown ConfigDsType = "DsUnknown"

	// ConfigDsTypeDsHTTP captures enum value "DsHttp"
	ConfigDsTypeDsHTTP ConfigDsType = "DsHttp"

	// ConfigDsTypeDsHTTPS captures enum value "DsHttps"
	ConfigDsTypeDsHTTPS ConfigDsType = "DsHttps"

	// ConfigDsTypeDsS3 captures enum value "DsS3"
	ConfigDsTypeDsS3 ConfigDsType = "DsS3"

	// ConfigDsTypeDsSFTP captures enum value "DsSFTP"
	ConfigDsTypeDsSFTP ConfigDsType = "DsSFTP"

	// ConfigDsTypeDsContainerRegistry captures enum value "DsContainerRegistry"
	ConfigDsTypeDsContainerRegistry ConfigDsType = "DsContainerRegistry"

	// ConfigDsTypeDsAzureBlob captures enum value "DsAzureBlob"
	ConfigDsTypeDsAzureBlob ConfigDsType = "DsAzureBlob"

	// ConfigDsTypeDsGoogleStorage captures enum value "DsGoogleStorage"
	ConfigDsTypeDsGoogleStorage ConfigDsType = "DsGoogleStorage"
)

func NewConfigDsType ¶

func NewConfigDsType(value ConfigDsType) *ConfigDsType

func (ConfigDsType) ContextValidate ¶

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

ContextValidate validates this config ds type based on context it is used

func (ConfigDsType) Pointer ¶

func (m ConfigDsType) Pointer() *ConfigDsType

Pointer returns a pointer to a freshly-allocated ConfigDsType.

func (ConfigDsType) Validate ¶

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

Validate validates this config ds type

type ConfigEdgeDevConfig ¶

type ConfigEdgeDevConfig struct {

	// apps
	Apps []*ConfigAppInstanceConfig `json:"apps"`

	// backup
	Backup *ConfigDeviceOpsCmd `json:"backup,omitempty"`

	// OBSOLETE - base. Use baseos instead. Controller should fill this for
	// backward compatibility till all the Older Eve images are no longer
	// supported.
	Base []*ConfigBaseOSConfig `json:"base"`

	// Baseos Config Block
	Baseos *ConfigBaseOS `json:"baseos,omitempty"`

	// A list of bond interfaces (LAGs) aggregating physical network adapters.
	Bonds []*ConfigBondAdapter `json:"bonds"`

	// controller supplies a list of cipher contexts,
	// containing certificate and other details, to be
	// used for sensitive data decryption
	CipherContexts []*ConfigCipherContext `json:"cipherContexts"`

	// config items
	ConfigItems []*ConfigConfigItem `json:"configItems"`

	// Timestamp updated by controller whenever device config is modified.
	// Used by EVE to properly order configurations that originate at the same controller
	// but get submitted to device through different ways:
	//     /config API vs. initial config for bootstrapping vs. USB-based config override etc.
	// This ensures that device will not accidentally revert back to an older configuration.
	// Does not apply to legacy override.json and usb.json mechanisms.
	// Format: date-time
	ConfigTimestamp strfmt.DateTime `json:"configTimestamp,omitempty"`

	// These images aka ContentTrees and Volumes should be created by EVE
	// independently of any application usage.
	// Application instances will refer to the volumes.
	ContentInfo []*ConfigContentTree `json:"contentInfo"`

	// controller_epoch indicates current epoch of config
	// if we set new epoch, EVE sends all info messages to controller
	// it captures when a new controller takes over and needs all the info be resent
	ControllerEpoch string `json:"controllerEpoch,omitempty"`

	// This field is used by the device to detect when it needs to re-download
	// the controller certs using the /certs API endpoint.
	// The controller just needs to ensure this value changes when it wants the
	// device to re-fetch the controller certs, for instance by having it
	// be a hash of all of the controller certificates.
	ControllercertConfighash string `json:"controllercertConfighash,omitempty"`

	// datastores
	Datastores []*ConfigDatastoreConfig `json:"datastores"`

	// deviceIoList - List of Physical Adapters. Includes both Network
	//  Adapters and Non-Network Adapters ( USB / Com etc )
	DeviceIoList []*ConfigPhysicalIO `json:"deviceIoList"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// disks configuration
	Disks *ConfigDisksConfig `json:"disks,omitempty"`

	// edge-view configuration
	Edgeview *ConfigEdgeViewConfig `json:"edgeview,omitempty"`

	// enterprise Id
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// enterprise name
	EnterpriseName string `json:"enterpriseName,omitempty"`

	// global_profile, if set, controls set of applications which will run.
	// The Activate=true app instances which have this profile in their profile_list
	// will run. If the global_profile is not set, then the profile_list is not
	// used to gate the application instances.
	GlobalProfile string `json:"globalProfile,omitempty"`

	// id
	ID *ConfigUUIDandVersion `json:"id,omitempty"`

	// local_profile_server, if set, indicates a hostname/IPv4/IPv6 address and
	// optional port number at which EVE will request for a local profile.
	// If such a local profile is retrieved, it will override the global_profile.
	// The syntax follows the usual URL server name syntax thus the following
	// are example valid strings:
	//    [fe80::1]:1234
	//    10.1.1.1:1234
	//    hostname:1234
	//    [fe80::1]
	//    10.1.1.1
	//    hostname
	// If the port number is not specified, it will default to 8888
	LocalProfileServer string `json:"localProfileServer,omitempty"`

	// deprecated 23;
	// If maintence_mode is set the device will operate in a limited mode e.g.,
	// not start applications etc as to enable inspection of its state and
	// recover from bad state.
	MaintenanceMode bool `json:"maintenanceMode,omitempty"`

	// Override dmidecode info if set
	Manufacturer string `json:"manufacturer,omitempty"`

	// network instances
	NetworkInstances []*ConfigNetworkInstanceConfig `json:"networkInstances"`

	// networks
	Networks []*ConfigNetworkConfig `json:"networks"`

	// product name
	ProductName string `json:"productName,omitempty"`

	// Together with a local_profile_server one can specify a
	// profile_server_token. EVE must verify that the response from the
	// local_profile_server contains this token.
	ProfileServerToken string `json:"profileServerToken,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// reboot
	Reboot *ConfigDeviceOpsCmd `json:"reboot,omitempty"`

	// Graceful shutdown of all app instances on the edge node.
	// Any local profile server is shut down after all the other app instances
	// have halted.
	// Note that this does not power off the edge node since there is no remote
	// power on capability; power off can be done locally using the Local Profile
	// Server API.
	Shutdown *ConfigDeviceOpsCmd `json:"shutdown,omitempty"`

	// systemAdapterList - List of DeviceNetworkAdapters. Only Network
	//  adapters ( Ex: eth0, wlan1 etc ) have a corresponding SystemAdapter.
	// non-Network adapters do not have systemadapters.
	SystemAdapterList []*ConfigSystemAdapter `json:"systemAdapterList"`

	// A list of VLAN sub-interfaces configured for EVE management traffic and
	// for local network instances.
	Vlans []*ConfigVlanAdapter `json:"vlans"`

	// volumes
	Volumes []*ConfigVolume `json:"volumes"`
}

ConfigEdgeDevConfig This is the response to a GET /api/v1/edgeDevice/config The EdgeDevConfig message carries all of the device's configuration from the controller to the device. The device will request these messages either periodically or as a result of some TBD notification. The message is assumed to be protected by a TLS session bound to the device certificate.

swagger:model configEdgeDevConfig

func (*ConfigEdgeDevConfig) ContextValidate ¶

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

ContextValidate validate this config edge dev config based on the context it is used

func (*ConfigEdgeDevConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigEdgeDevConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigEdgeDevConfig) Validate ¶

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

Validate validates this config edge dev config

type ConfigEdgeViewConfig ¶ added in v1.0.2

type ConfigEdgeViewConfig struct {

	// policy access for apps through edge-view
	AppPolicy *ConfigAppDebugAccessPolicy `json:"appPolicy,omitempty"`

	// policy for device access through edge-view
	DevPolicy *ConfigDevDebugAccessPolicy `json:"devPolicy,omitempty"`

	// dispatcher certificate(s) if it's not well-known CA signed
	DispCertPem []strfmt.Base64 `json:"dispCertPem"`

	// policy access for external endpoint through edge-view
	ExtPolicy *ConfigExternalEndPointPolicy `json:"extPolicy,omitempty"`

	// Generation ID for re-start edgeview without parameter changes
	GenerationID int64 `json:"generationId,omitempty"`

	// JWT token for signed info, it contains the dispatcher
	// endpoint IP:Port, device UUID, nonce and expiration time
	Token string `json:"token,omitempty"`
}

ConfigEdgeViewConfig config edge view config

swagger:model configEdgeViewConfig

func (*ConfigEdgeViewConfig) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this config edge view config based on the context it is used

func (*ConfigEdgeViewConfig) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigEdgeViewConfig) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigEdgeViewConfig) Validate ¶ added in v1.0.2

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

Validate validates this config edge view config

type ConfigEncryptionScheme ¶

type ConfigEncryptionScheme string

ConfigEncryptionScheme Encryption Scheme for Cipher Payload

swagger:model configEncryptionScheme

const (

	// ConfigEncryptionSchemeSANONE captures enum value "SA_NONE"
	ConfigEncryptionSchemeSANONE ConfigEncryptionScheme = "SA_NONE"

	// ConfigEncryptionSchemeSAAES256CFB captures enum value "SA_AES_256_CFB"
	ConfigEncryptionSchemeSAAES256CFB ConfigEncryptionScheme = "SA_AES_256_CFB"
)

func NewConfigEncryptionScheme ¶

func NewConfigEncryptionScheme(value ConfigEncryptionScheme) *ConfigEncryptionScheme

func (ConfigEncryptionScheme) ContextValidate ¶

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

ContextValidate validates this config encryption scheme based on context it is used

func (ConfigEncryptionScheme) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigEncryptionScheme.

func (ConfigEncryptionScheme) Validate ¶

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

Validate validates this config encryption scheme

type ConfigEthVF ¶ added in v1.0.2

type ConfigEthVF struct {

	// index
	Index int64 `json:"index,omitempty"`

	// mac
	Mac string `json:"mac,omitempty"`

	// vlan Id
	VlanID int64 `json:"vlanId,omitempty"`
}

ConfigEthVF Information regarding Virtual Function (VF) customisation

swagger:model configEthVF

func (*ConfigEthVF) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config eth v f based on context it is used

func (*ConfigEthVF) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigEthVF) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigEthVF) Validate ¶ added in v1.0.2

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

Validate validates this config eth v f

type ConfigExternalEndPointPolicy ¶ added in v1.0.2

type ConfigExternalEndPointPolicy struct {

	// external of device side of edge-view access is allowed or not
	AllowExt bool `json:"allowExt,omitempty"`
}

ConfigExternalEndPointPolicy External Endpoint applicable to edge-view To mean the entity external to the device, e.g. a local-profile server on the LAN outside of mgmt or app-shared ports. since it's not part of EVE, and not part of EVE applications. In the EdgeView code, if tcp session setup is to an address we don't have, it identifies the request as 'external'

swagger:model configExternalEndPointPolicy

func (*ConfigExternalEndPointPolicy) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config external end point policy based on context it is used

func (*ConfigExternalEndPointPolicy) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigExternalEndPointPolicy) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigExternalEndPointPolicy) Validate ¶ added in v1.0.2

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

Validate validates this config external end point policy

type ConfigFormat ¶

type ConfigFormat string

ConfigFormat config format

swagger:model configFormat

const (

	// ConfigFormatFmtUnknown captures enum value "FmtUnknown"
	ConfigFormatFmtUnknown ConfigFormat = "FmtUnknown"

	// ConfigFormatRAW captures enum value "RAW"
	ConfigFormatRAW ConfigFormat = "RAW"

	// ConfigFormatQCOW captures enum value "QCOW"
	ConfigFormatQCOW ConfigFormat = "QCOW"

	// ConfigFormatQCOW2 captures enum value "QCOW2"
	ConfigFormatQCOW2 ConfigFormat = "QCOW2"

	// ConfigFormatVHD captures enum value "VHD"
	ConfigFormatVHD ConfigFormat = "VHD"

	// ConfigFormatVMDK captures enum value "VMDK"
	ConfigFormatVMDK ConfigFormat = "VMDK"

	// ConfigFormatOVA captures enum value "OVA"
	ConfigFormatOVA ConfigFormat = "OVA"

	// ConfigFormatVHDX captures enum value "VHDX"
	ConfigFormatVHDX ConfigFormat = "VHDX"

	// ConfigFormatCONTAINER captures enum value "CONTAINER"
	ConfigFormatCONTAINER ConfigFormat = "CONTAINER"

	// ConfigFormatISO captures enum value "ISO"
	ConfigFormatISO ConfigFormat = "ISO"
)

func NewConfigFormat ¶

func NewConfigFormat(value ConfigFormat) *ConfigFormat

func (ConfigFormat) ContextValidate ¶

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

ContextValidate validates this config format based on context it is used

func (ConfigFormat) Pointer ¶

func (m ConfigFormat) Pointer() *ConfigFormat

Pointer returns a pointer to a freshly-allocated ConfigFormat.

func (ConfigFormat) Validate ¶

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

Validate validates this config format

type ConfigInstanceOpsCmd ¶

type ConfigInstanceOpsCmd struct {

	// counter
	Counter int64 `json:"counter,omitempty"`

	// ops time
	OpsTime string `json:"opsTime,omitempty"`
}

ConfigInstanceOpsCmd config instance ops cmd

swagger:model configInstanceOpsCmd

func (*ConfigInstanceOpsCmd) ContextValidate ¶

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

ContextValidate validates this config instance ops cmd based on context it is used

func (*ConfigInstanceOpsCmd) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigInstanceOpsCmd) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigInstanceOpsCmd) Validate ¶

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

Validate validates this config instance ops cmd

type ConfigKeyExchangeScheme ¶

type ConfigKeyExchangeScheme string

ConfigKeyExchangeScheme Security Key Exchange Method

swagger:model configKeyExchangeScheme

const (

	// ConfigKeyExchangeSchemeKEANONE captures enum value "KEA_NONE"
	ConfigKeyExchangeSchemeKEANONE ConfigKeyExchangeScheme = "KEA_NONE"

	// ConfigKeyExchangeSchemeKEAECDH captures enum value "KEA_ECDH"
	ConfigKeyExchangeSchemeKEAECDH ConfigKeyExchangeScheme = "KEA_ECDH"
)

func (ConfigKeyExchangeScheme) ContextValidate ¶

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

ContextValidate validates this config key exchange scheme based on context it is used

func (ConfigKeyExchangeScheme) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigKeyExchangeScheme.

func (ConfigKeyExchangeScheme) Validate ¶

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

Validate validates this config key exchange scheme

type ConfigLacpRate ¶ added in v1.0.2

type ConfigLacpRate string

ConfigLacpRate Option specifying the rate in which EVE will ask LACP link partners to transmit LACPDU packets in 802.3ad mode.

  • LACP_RATE_UNSPECIFIED: Default LACP rate is Slow.
  • LACP_RATE_SLOW: Request LACP partner to transmit LACPDUs every 30 seconds.
  • LACP_RATE_FAST: Request LACP partner to transmit LACPDUs every 1 second.

swagger:model configLacpRate

const (

	// ConfigLacpRateLACPRATEUNSPECIFIED captures enum value "LACP_RATE_UNSPECIFIED"
	ConfigLacpRateLACPRATEUNSPECIFIED ConfigLacpRate = "LACP_RATE_UNSPECIFIED"

	// ConfigLacpRateLACPRATESLOW captures enum value "LACP_RATE_SLOW"
	ConfigLacpRateLACPRATESLOW ConfigLacpRate = "LACP_RATE_SLOW"

	// ConfigLacpRateLACPRATEFAST captures enum value "LACP_RATE_FAST"
	ConfigLacpRateLACPRATEFAST ConfigLacpRate = "LACP_RATE_FAST"
)

func NewConfigLacpRate ¶ added in v1.0.2

func NewConfigLacpRate(value ConfigLacpRate) *ConfigLacpRate

func (ConfigLacpRate) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config lacp rate based on context it is used

func (ConfigLacpRate) Pointer ¶ added in v1.0.2

func (m ConfigLacpRate) Pointer() *ConfigLacpRate

Pointer returns a pointer to a freshly-allocated ConfigLacpRate.

func (ConfigLacpRate) Validate ¶ added in v1.0.2

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

Validate validates this config lacp rate

type ConfigMIIMonitor ¶ added in v1.0.2

type ConfigMIIMonitor struct {

	// Specifies the time, in milliseconds, to wait before disabling a bond
	// slave after a link failure has been detected.
	// The downdelay value should be a multiple of the monitoring interval; if not,
	// it will be rounded down to the nearest multiple.
	// The default value is 0.
	Downdelay int64 `json:"downdelay,omitempty"`

	// Specifies the MII link monitoring frequency in milliseconds.
	// This determines how often the link state of each bond slave is inspected
	// for link failures.
	Interval int64 `json:"interval,omitempty"`

	// Updelay specifies the time, in milliseconds, to wait before enabling
	// a bond slave after a link recovery has been detected.
	// The updelay value should be a multiple of the monitoring interval; if not,
	// it will be rounded down to the nearest multiple.
	// The default value is 0.
	Updelay int64 `json:"updelay,omitempty"`
}

ConfigMIIMonitor MIIMonitor : MII link monitoring parameters. Defined for BondAdapter.

swagger:model configMIIMonitor

func (*ConfigMIIMonitor) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config m i i monitor based on context it is used

func (*ConfigMIIMonitor) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigMIIMonitor) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigMIIMonitor) Validate ¶ added in v1.0.2

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

Validate validates this config m i i monitor

type ConfigMetaDataType ¶

type ConfigMetaDataType string

ConfigMetaDataType Type of cloud-init data to provide to application

swagger:model configMetaDataType

const (

	// ConfigMetaDataTypeMetaDataDrive captures enum value "MetaDataDrive"
	ConfigMetaDataTypeMetaDataDrive ConfigMetaDataType = "MetaDataDrive"

	// ConfigMetaDataTypeMetaDataNone captures enum value "MetaDataNone"
	ConfigMetaDataTypeMetaDataNone ConfigMetaDataType = "MetaDataNone"

	// ConfigMetaDataTypeMetaDataOpenStack captures enum value "MetaDataOpenStack"
	ConfigMetaDataTypeMetaDataOpenStack ConfigMetaDataType = "MetaDataOpenStack"

	// ConfigMetaDataTypeMetaDataDriveMultipart captures enum value "MetaDataDriveMultipart"
	ConfigMetaDataTypeMetaDataDriveMultipart ConfigMetaDataType = "MetaDataDriveMultipart"
)

func NewConfigMetaDataType ¶

func NewConfigMetaDataType(value ConfigMetaDataType) *ConfigMetaDataType

func (ConfigMetaDataType) ContextValidate ¶

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

ContextValidate validates this config meta data type based on context it is used

func (ConfigMetaDataType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigMetaDataType.

func (ConfigMetaDataType) Validate ¶

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

Validate validates this config meta data type

type ConfigNetworkAdapter ¶

type ConfigNetworkAdapter struct {

	// access port vlan id
	// app interface with access vlan id of zero will be treated as trunk port
	// valid vlan id range: 2 - 4093
	// vlan id 1 is implicitly used by linux bridges
	AccessVlanID int64 `json:"accessVlanId,omitempty"`

	// firewall
	Acls []*ConfigACE `json:"acls"`

	// addr
	Addr string `json:"addr,omitempty"`

	// more configuration for getting addr/EID
	CryptoEid string `json:"cryptoEid,omitempty"`

	// hostname
	Hostname string `json:"hostname,omitempty"`

	// lispsignature
	Lispsignature string `json:"lispsignature,omitempty"`

	// Used in case of P2V, where we want to specify a macAddress
	// to vif, that is simulated towards app
	MacAddress string `json:"macAddress,omitempty"`

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

	// network Id
	NetworkID string `json:"networkId,omitempty"`

	// pemcert
	// Format: byte
	Pemcert strfmt.Base64 `json:"pemcert,omitempty"`

	// pemprivatekey
	// Format: byte
	Pemprivatekey strfmt.Base64 `json:"pemprivatekey,omitempty"`
}

ConfigNetworkAdapter config network adapter

swagger:model configNetworkAdapter

func (*ConfigNetworkAdapter) ContextValidate ¶

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

ContextValidate validate this config network adapter based on the context it is used

func (*ConfigNetworkAdapter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigNetworkAdapter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigNetworkAdapter) Validate ¶

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

Validate validates this config network adapter

type ConfigNetworkConfig ¶

type ConfigNetworkConfig struct {

	// dns
	DNS []*ConfigZnetStaticDNSEntry `json:"dns"`

	// enterprise proxy
	EntProxy *ConfigProxyConfig `json:"entProxy,omitempty"`

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

	// network ip specification
	IP *Configipspec `json:"ip,omitempty"`

	// type
	Type *ConfigNetworkType `json:"type,omitempty"`

	// wireless specification
	Wireless *ConfigWirelessConfig `json:"wireless,omitempty"`
}

ConfigNetworkConfig config network config

swagger:model configNetworkConfig

func (*ConfigNetworkConfig) ContextValidate ¶

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

ContextValidate validate this config network config based on the context it is used

func (*ConfigNetworkConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigNetworkConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigNetworkConfig) Validate ¶

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

Validate validates this config network config

type ConfigNetworkInstanceConfig ¶

type ConfigNetworkInstanceConfig struct {

	// activate
	//  - True by default. If set to false ( deactivate), the network instance
	//    configuration is downloaded to the device, but the network instance
	//    itself is not created on the device.
	Activate bool `json:"activate,omitempty"`

	// cfg - Used to pass some feature-specific configuration to the
	//       network instance. For Ex: Lisp, StriongSwan etc
	Cfg *ConfigNetworkInstanceOpaqueConfig `json:"cfg,omitempty"`

	// displayname
	Displayname string `json:"displayname,omitempty"`

	// static DNS entry, if we are running DNS/DHCP service
	DNS []*ConfigZnetStaticDNSEntry `json:"dns"`

	// instType - Type of network instance ( local, bridge etc )
	InstType *ConfigZNetworkInstType `json:"instType,omitempty"`

	// network ip specification
	IP *Configipspec `json:"ip,omitempty"`

	// type of ipSpec
	IPType *ConfigAddressType `json:"ipType,omitempty"`

	// port - Only a single port is supported.
	//    This is used as the external connection for the network instance.
	//    This can be a physical (eth0 ) or logical port (vlan 0).
	//    The port name comes from DeviceConfig ( When it is supported in future).
	//    If the user needs multiple physical ports, Device config should be
	//    used to create a label for multiple physical ports.
	Port *ConfigAdapter `json:"port,omitempty"`

	// uuidandversion
	Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
}

ConfigNetworkInstanceConfig config network instance config

swagger:model configNetworkInstanceConfig

func (*ConfigNetworkInstanceConfig) ContextValidate ¶

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

ContextValidate validate this config network instance config based on the context it is used

func (*ConfigNetworkInstanceConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigNetworkInstanceConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigNetworkInstanceConfig) Validate ¶

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

Validate validates this config network instance config

type ConfigNetworkInstanceLispConfig ¶

type ConfigNetworkInstanceLispConfig struct {

	// lisp instance Id
	LispInstanceID int64 `json:"LispInstanceId,omitempty"`

	// lisp m ss
	LispMSs []*ConfigZcServicePoint `json:"LispMSs"`

	// allocate
	Allocate bool `json:"allocate,omitempty"`

	// allocationprefix
	// Format: byte
	Allocationprefix strfmt.Base64 `json:"allocationprefix,omitempty"`

	// allocationprefixlen
	Allocationprefixlen int64 `json:"allocationprefixlen,omitempty"`

	// various configuration to dataPlane, lispers.net vs Zededa
	Experimental bool `json:"experimental,omitempty"`

	// exportprivate
	Exportprivate bool `json:"exportprivate,omitempty"`
}

ConfigNetworkInstanceLispConfig Lisp NetworkInstance config

swagger:model configNetworkInstanceLispConfig

func (*ConfigNetworkInstanceLispConfig) ContextValidate ¶

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

ContextValidate validate this config network instance lisp config based on the context it is used

func (*ConfigNetworkInstanceLispConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigNetworkInstanceLispConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigNetworkInstanceLispConfig) Validate ¶

Validate validates this config network instance lisp config

type ConfigNetworkInstanceOpaqueConfig ¶

type ConfigNetworkInstanceOpaqueConfig struct {

	// lisp config
	LispConfig *ConfigNetworkInstanceLispConfig `json:"lispConfig,omitempty"`

	// oconfig
	Oconfig string `json:"oconfig,omitempty"`

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

ConfigNetworkInstanceOpaqueConfig Network Instance Opaque config. In future we might add more fields here but idea is here. This is service specific configuration.

swagger:model configNetworkInstanceOpaqueConfig

func (*ConfigNetworkInstanceOpaqueConfig) ContextValidate ¶

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

ContextValidate validate this config network instance opaque config based on the context it is used

func (*ConfigNetworkInstanceOpaqueConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigNetworkInstanceOpaqueConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigNetworkInstanceOpaqueConfig) Validate ¶

Validate validates this config network instance opaque config

type ConfigNetworkType ¶

type ConfigNetworkType string

ConfigNetworkType config network type

swagger:model configNetworkType

const (

	// ConfigNetworkTypeNETWORKTYPENOOP captures enum value "NETWORKTYPENOOP"
	ConfigNetworkTypeNETWORKTYPENOOP ConfigNetworkType = "NETWORKTYPENOOP"

	// ConfigNetworkTypeV4 captures enum value "V4"
	ConfigNetworkTypeV4 ConfigNetworkType = "V4"

	// ConfigNetworkTypeV6 captures enum value "V6"
	ConfigNetworkTypeV6 ConfigNetworkType = "V6"

	// ConfigNetworkTypeCryptoV4 captures enum value "CryptoV4"
	ConfigNetworkTypeCryptoV4 ConfigNetworkType = "CryptoV4"

	// ConfigNetworkTypeCryptoV6 captures enum value "CryptoV6"
	ConfigNetworkTypeCryptoV6 ConfigNetworkType = "CryptoV6"

	// ConfigNetworkTypeCryptoEID captures enum value "CryptoEID"
	ConfigNetworkTypeCryptoEID ConfigNetworkType = "CryptoEID"

	// ConfigNetworkTypeV4Only captures enum value "V4Only"
	ConfigNetworkTypeV4Only ConfigNetworkType = "V4Only"

	// ConfigNetworkTypeV6Only captures enum value "V6Only"
	ConfigNetworkTypeV6Only ConfigNetworkType = "V6Only"

	// ConfigNetworkTypeDualV4V6 captures enum value "DualV4V6"
	ConfigNetworkTypeDualV4V6 ConfigNetworkType = "DualV4V6"
)

func NewConfigNetworkType ¶

func NewConfigNetworkType(value ConfigNetworkType) *ConfigNetworkType

func (ConfigNetworkType) ContextValidate ¶

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

ContextValidate validates this config network type based on context it is used

func (ConfigNetworkType) Pointer ¶

func (m ConfigNetworkType) Pointer() *ConfigNetworkType

Pointer returns a pointer to a freshly-allocated ConfigNetworkType.

func (ConfigNetworkType) Validate ¶

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

Validate validates this config network type

type ConfigPhyIOUsagePolicy ¶

type ConfigPhyIOUsagePolicy struct {

	// free uplink
	FreeUplink bool `json:"freeUplink,omitempty"`
}

ConfigPhyIOUsagePolicy Given additional details for EVE software to how to treat this interface. Example policies could be limit use of LTE interface or only use Eth1 only if Eth0 is not available etc Note that this is the static information from the model. Current configuration is in systemAdapter

swagger:model configPhyIOUsagePolicy

func (*ConfigPhyIOUsagePolicy) ContextValidate ¶

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

ContextValidate validates this config phy i o usage policy based on context it is used

func (*ConfigPhyIOUsagePolicy) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigPhyIOUsagePolicy) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigPhyIOUsagePolicy) Validate ¶

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

Validate validates this config phy i o usage policy

type ConfigPhysicalIO ¶

type ConfigPhysicalIO struct {

	// assigngrp
	// Assignment Group, is unique label that is applied across PhysicalIOs
	// EntireGroup can be assigned to application or nothing at all
	//
	// This is the name used in AppInstanceConfig.adapters to assign an
	// adapter to an application.
	//
	// If assigngrp is not set, the Adapter cannot be assigned to any
	// application. One example is, when the adapter is on the same Pci
	// bus as another device required by Dom0.
	//
	// Even if there is only one device on the its PCIBus, the assignGrp Must
	// be set.
	Assigngrp string `json:"assigngrp,omitempty"`

	// physical and logical attributes
	//    For example in WWAN to which firmware version to load etc
	Cbattr map[string]string `json:"cbattr,omitempty"`

	// logicallabel - provides the ability to model designer to refer
	//    the physicalIO port to using more friendly name
	// For example Eth0->Mgmt0
	//  or USBA->ConfigDiskA etc
	Logicallabel string `json:"logicallabel,omitempty"`

	// The hardware bus address. The key to this map can be of the following
	// (case-insensitive) values:
	// "pcilong": the address is a PCI id of the form 0000:02:00.0
	// "ifname": the address is a string for a network interface like "eth1"
	// "serial": the address is a Linux serial port alias such as "/dev/ttyS2"
	// "irq": the address is a number such as "5". This can be a comma
	//    separated list of integers or even a range of integers. Hence using
	//    a string to address this.
	// "ioports": the address is a string such as "2f8-2ff"
	// "usbaddr": the address is a USB of the form of "1:2.3"
	// If the type is PhyIoNet*, then there needs to be an "ifname" physaddr.
	Phyaddrs map[string]string `json:"phyaddrs,omitempty"`

	// physical label typically printed on box.
	// Example Eth0, Eth1, Wifi0, ComA, ComB
	Phylabel string `json:"phylabel,omitempty"`

	// ptype
	Ptype *CommonPhyIoType `json:"ptype,omitempty"`

	// usage - indicates the role of adapter ( mgmt / blocked / app-direct
	//    etc. )
	Usage *CommonPhyIoMemberUsage `json:"usage,omitempty"`

	// usagePolicy - Policy Object used to further refine the usage.
	// For example, specify if this should be only used as fallback?
	//    Or used as the primary uplink? Allow App traffic? restrict
	//    app traffic?? etc..
	UsagePolicy *ConfigPhyIOUsagePolicy `json:"usagePolicy,omitempty"`

	// list of Virtual Functions (VF) for given Physical Function (PF)
	// only applies for PHY_IO_TYPE_PHY_IO_NET_ETH_PF
	Vflist *ConfigVfList `json:"vflist,omitempty"`
}

ConfigPhysicalIO PhysicalIO:

Absolute low level description of physical buses and ports that are
available on given platform.
Collection of these IOs, constitute what we would call as hardware
model. Each physical IO is manageable and visible to EVE software, and
it can be further configured to either provide IP connectivity or
directly be given to workloads

swagger:model configPhysicalIO

func (*ConfigPhysicalIO) ContextValidate ¶

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

ContextValidate validate this config physical i o based on the context it is used

func (*ConfigPhysicalIO) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigPhysicalIO) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigPhysicalIO) Validate ¶

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

Validate validates this config physical i o

type ConfigProxyConfig ¶

type ConfigProxyConfig struct {

	// exceptions separated by commas
	Exceptions string `json:"exceptions,omitempty"`

	// enable network level proxy in the form of WPAD
	NetworkProxyEnable bool `json:"networkProxyEnable,omitempty"`

	// Direct URL for wpad.dat download
	NetworkProxyURL string `json:"networkProxyURL,omitempty"`

	// or pacfile can be in place of others
	// base64 encoded
	Pacfile string `json:"pacfile,omitempty"`

	// dedicated per protocol information
	Proxies []*ConfigProxyServer `json:"proxies"`

	// Uploaded proxy certificate or certificate chain for MITM
	// this may be needed either in explicit (has ProxyServer items), automatic
	// (networkProxyEnable) or transparent (network layer not aware of proxy)
	ProxyCertPEM []strfmt.Base64 `json:"proxyCertPEM"`
}

ConfigProxyConfig config proxy config

swagger:model configProxyConfig

func (*ConfigProxyConfig) ContextValidate ¶

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

ContextValidate validate this config proxy config based on the context it is used

func (*ConfigProxyConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigProxyConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigProxyConfig) Validate ¶

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

Validate validates this config proxy config

type ConfigProxyServer ¶

type ConfigProxyServer struct {

	// port
	Port int64 `json:"port,omitempty"`

	// proto
	Proto *ConfigproxyProto `json:"proto,omitempty"`

	// server
	Server string `json:"server,omitempty"`
}

ConfigProxyServer config proxy server

swagger:model configProxyServer

func (*ConfigProxyServer) ContextValidate ¶

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

ContextValidate validate this config proxy server based on the context it is used

func (*ConfigProxyServer) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigProxyServer) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigProxyServer) Validate ¶

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

Validate validates this config proxy server

type ConfigServiceResp ¶

type ConfigServiceResp struct {

	// config
	Config *ConfigEdgeDevConfig `json:"config,omitempty"`

	// created at
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt,omitempty"`

	// last known status
	LastKnownStatus *LastKnownStatus `json:"lastKnownStatus,omitempty"`

	// protobuf stringified
	Pconfig string `json:"pconfig,omitempty"`

	// read at
	// Format: date-time
	ReadAt strfmt.DateTime `json:"readAt,omitempty"`

	// result
	Result *ZsrvResponse `json:"result,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt,omitempty"`
}

ConfigServiceResp Edge Device Configuration Response to CLI/UI routed via Kafka

swagger:model ConfigServiceResp

func (*ConfigServiceResp) ContextValidate ¶

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

ContextValidate validate this config service resp based on the context it is used

func (*ConfigServiceResp) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigServiceResp) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigServiceResp) Validate ¶

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

Validate validates this config service resp

type ConfigSignatureInfo ¶

type ConfigSignatureInfo struct {

	// intercertsurl
	Intercertsurl string `json:"intercertsurl,omitempty"`

	// signature
	// Format: byte
	Signature strfmt.Base64 `json:"signature,omitempty"`

	// signercerturl
	Signercerturl string `json:"signercerturl,omitempty"`
}

ConfigSignatureInfo XXX this will be deprecated when all deployed instances of EVE no longer expect it. 5.6.X depend on it. 5.7.1 does not.

swagger:model configSignatureInfo

func (*ConfigSignatureInfo) ContextValidate ¶

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

ContextValidate validates this config signature info based on context it is used

func (*ConfigSignatureInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigSignatureInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigSignatureInfo) Validate ¶

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

Validate validates this config signature info

type ConfigSystemAdapter ¶

type ConfigSystemAdapter struct {

	// addr - if its static network we need ip address
	// If this is specified, networkUUID must also be specified. addr
	// is expected to be in sync with the network object (same subnet etc ).
	Addr string `json:"addr,omitempty"`

	// alias - Device just reflects it back in status / Metrics back to
	// cloud.
	Alias string `json:"alias,omitempty"`

	// cost of using a port for EVE management traffic (which is determined
	// from PhysicalIO.usage)
	// 0 is the lowest cost (free); 255 the highest.
	// Load spreading will apply when multiple adapters have the same cost.
	// Higher cost adapters are only tried when none of the lower cost ones work.
	Cost int64 `json:"cost,omitempty"`

	// DEPRECATED by cost below
	FreeUplink bool `json:"freeUplink,omitempty"`

	// lowerLayerName - For example, if lower layer is PhysicalAdapter
	// ( physical interface), this should point to logicallabel of the
	// physicalIO.
	LowerLayerName string `json:"lowerLayerName,omitempty"`

	// name - Name of the Network Interface. This is the Port Name
	//  used in Info / Metrics / flowlog etc. Name cannot be changed.
	// This will be the Network Port name.
	Name string `json:"name,omitempty"`

	// networkUUID - attach this network config for this adapter
	// if not set, depending on Usage of Adapter, would be treated as
	// an L2 port
	NetworkUUID string `json:"networkUUID,omitempty"`

	// uplink - DEPRECATED by PhysicalIO.Usage / PhysicalIO.UsagePolicy
	// this is part of the uplink group
	// deprecate: have a separate device policy object in the API
	Uplink bool `json:"uplink,omitempty"`
}

ConfigSystemAdapter systemAdapters are higher-level IP-ready network endpoints. systemAdapters give all the required bits to turn the physical IOs and intermediate L2 objects into useful IP endpoints. These endpoints can be further used to connect to controller or can be shared between workload/services running on the node.

swagger:model configSystemAdapter

func (*ConfigSystemAdapter) ContextValidate ¶

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

ContextValidate validates this config system adapter based on context it is used

func (*ConfigSystemAdapter) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigSystemAdapter) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigSystemAdapter) Validate ¶

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

Validate validates this config system adapter

type ConfigTarget ¶

type ConfigTarget string

ConfigTarget config target

swagger:model configTarget

const (

	// ConfigTargetTgtUnknown captures enum value "TgtUnknown"
	ConfigTargetTgtUnknown ConfigTarget = "TgtUnknown"

	// ConfigTargetDisk captures enum value "Disk"
	ConfigTargetDisk ConfigTarget = "Disk"

	// ConfigTargetKernel captures enum value "Kernel"
	ConfigTargetKernel ConfigTarget = "Kernel"

	// ConfigTargetInitrd captures enum value "Initrd"
	ConfigTargetInitrd ConfigTarget = "Initrd"

	// ConfigTargetRAMDisk captures enum value "RamDisk"
	ConfigTargetRAMDisk ConfigTarget = "RamDisk"
)

func NewConfigTarget ¶

func NewConfigTarget(value ConfigTarget) *ConfigTarget

func (ConfigTarget) ContextValidate ¶

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

ContextValidate validates this config target based on context it is used

func (ConfigTarget) Pointer ¶

func (m ConfigTarget) Pointer() *ConfigTarget

Pointer returns a pointer to a freshly-allocated ConfigTarget.

func (ConfigTarget) Validate ¶

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

Validate validates this config target

type ConfigUUIDandVersion ¶

type ConfigUUIDandVersion struct {

	// uuid
	UUID string `json:"uuid,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ConfigUUIDandVersion config u UI dand version

swagger:model configUUIDandVersion

func (*ConfigUUIDandVersion) ContextValidate ¶

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

ContextValidate validates this config u UI dand version based on context it is used

func (*ConfigUUIDandVersion) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigUUIDandVersion) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigUUIDandVersion) Validate ¶

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

Validate validates this config u UI dand version

type ConfigVMConfig ¶

type ConfigVMConfig struct {

	// bootloader
	Bootloader string `json:"bootloader,omitempty"`

	// cpus
	Cpus string `json:"cpus,omitempty"`

	// devicetree
	Devicetree string `json:"devicetree,omitempty"`

	// disable logs
	DisableLogs bool `json:"disableLogs,omitempty"`

	// dtdev
	Dtdev []string `json:"dtdev"`

	// enable vnc
	EnableVnc bool `json:"enableVnc,omitempty"`

	// extraargs
	Extraargs string `json:"extraargs,omitempty"`

	// iomem
	Iomem []string `json:"iomem"`

	// irqs
	Irqs []int64 `json:"irqs"`

	// kernel
	Kernel string `json:"kernel,omitempty"`

	// maxcpus
	Maxcpus int64 `json:"maxcpus,omitempty"`

	// maxmem
	Maxmem int64 `json:"maxmem,omitempty"`

	// memory
	Memory int64 `json:"memory,omitempty"`

	// Set if the VM should run in a mode with pinned CPUs.
	// In this case any VCPU thread created by QEMU runs on a dedicated physical
	// CPU. All the other QEMU threads will be limited to run on the physical
	// CPUs defined by CPU mask. The CPU mask is provided with the 'cpus' field,
	// defined above. If the CPU mask is not set, the physical CPUs to be used
	// for running QEMU threads are picked automatically by Pillar: it just takes
	// that amount of available physical CPUs that is defined with the 'vcpus'
	// parameter defined above.
	PinCPU bool `json:"pinCpu,omitempty"`

	// ramdisk
	Ramdisk string `json:"ramdisk,omitempty"`

	// rootdev
	Rootdev string `json:"rootdev,omitempty"`

	// vcpus
	Vcpus int64 `json:"vcpus,omitempty"`

	// virtualization mode
	VirtualizationMode *ConfigVMMode `json:"virtualizationMode,omitempty"`

	// vnc display
	VncDisplay int64 `json:"vncDisplay,omitempty"`

	// vnc passwd
	VncPasswd string `json:"vncPasswd,omitempty"`
}

ConfigVMConfig config Vm config

swagger:model configVmConfig

func (*ConfigVMConfig) ContextValidate ¶

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

ContextValidate validate this config Vm config based on the context it is used

func (*ConfigVMConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigVMConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigVMConfig) Validate ¶

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

Validate validates this config Vm config

type ConfigVMMode ¶

type ConfigVMMode string

ConfigVMMode For now we need to tell the device which virtualization mode to use. Later we might use a single one for all VMs (on any particular ISA). If we end up keeping this we should make the names be less tied to a particular hypervisor.

swagger:model configVmMode

const (

	// ConfigVMModePV captures enum value "PV"
	ConfigVMModePV ConfigVMMode = "PV"

	// ConfigVMModeHVM captures enum value "HVM"
	ConfigVMModeHVM ConfigVMMode = "HVM"

	// ConfigVMModeFiller captures enum value "Filler"
	ConfigVMModeFiller ConfigVMMode = "Filler"

	// ConfigVMModeFML captures enum value "FML"
	ConfigVMModeFML ConfigVMMode = "FML"

	// ConfigVMModeNOHYPER captures enum value "NOHYPER"
	ConfigVMModeNOHYPER ConfigVMMode = "NOHYPER"

	// ConfigVMModeLEGACY captures enum value "LEGACY"
	ConfigVMModeLEGACY ConfigVMMode = "LEGACY"
)

func NewConfigVMMode ¶

func NewConfigVMMode(value ConfigVMMode) *ConfigVMMode

func (ConfigVMMode) ContextValidate ¶

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

ContextValidate validates this config Vm mode based on context it is used

func (ConfigVMMode) Pointer ¶

func (m ConfigVMMode) Pointer() *ConfigVMMode

Pointer returns a pointer to a freshly-allocated ConfigVMMode.

func (ConfigVMMode) Validate ¶

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

Validate validates this config Vm mode

type ConfigVfList ¶ added in v1.0.2

type ConfigVfList struct {

	// optional configuration for given Virtual Function (VF)
	Data []*ConfigEthVF `json:"data"`

	// how many Virtual Functions (VF) will be created
	VfCount int64 `json:"vfCount,omitempty"`
}

ConfigVfList config vf list

swagger:model configVfList

func (*ConfigVfList) ContextValidate ¶ added in v1.0.2

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

ContextValidate validate this config vf list based on the context it is used

func (*ConfigVfList) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigVfList) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigVfList) Validate ¶ added in v1.0.2

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

Validate validates this config vf list

type ConfigVlanAdapter ¶ added in v1.0.2

type ConfigVlanAdapter struct {

	// A physical name of the VLAN sub-interface.
	// Note that the interface name is limited in Linux kernel to 15 characters.
	// If not defined, logicallabel will be used instead.
	InterfaceName string `json:"interfaceName,omitempty"`

	// Logical name of this VLAN adapter.
	Logicallabel string `json:"logicallabel,omitempty"`

	// Logical name of the lower layer adapter (bond or physicalIO).
	LowerLayerName string `json:"lowerLayerName,omitempty"`

	// VLAN ID. Valid values are from 1 to 4094.
	VlanID int64 `json:"vlanId,omitempty"`
}

ConfigVlanAdapter VlanAdapter represents a single VLAN sub-interface. The parent, which is referenced by lower_layer_name, should be either PhysicalIO or BondAdapter.

swagger:model configVlanAdapter

func (*ConfigVlanAdapter) ContextValidate ¶ added in v1.0.2

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

ContextValidate validates this config vlan adapter based on context it is used

func (*ConfigVlanAdapter) MarshalBinary ¶ added in v1.0.2

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

MarshalBinary interface implementation

func (*ConfigVlanAdapter) UnmarshalBinary ¶ added in v1.0.2

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

UnmarshalBinary interface implementation

func (*ConfigVlanAdapter) Validate ¶ added in v1.0.2

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

Validate validates this config vlan adapter

type ConfigVolume ¶

type ConfigVolume struct {

	// clear text
	ClearText bool `json:"clearText,omitempty"`

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

	// change in generationCount indicates that the mutated volume needs to be
	// purged and built from scratch. This is a generalization of the purge
	// command for an application instance
	GenerationCount string `json:"generationCount,omitempty"`

	// miscellaneous attributes of the Volume
	// maxSizeBytes Used for capping resource consumption in EVE.
	// maxSizeBytes indicates the maximum size of the volume.
	Maxsizebytes string `json:"maxsizebytes,omitempty"`

	// origin of the volume content.
	Origin *ConfigVolumeContentOrigin `json:"origin,omitempty"`

	// describes all the different ways how this Volume can
	// be offered to Tasks
	Protocols []*ConfigVolumeAccessProtocols `json:"protocols"`

	// readonly
	Readonly bool `json:"readonly,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

ConfigVolume The Volume describes a storage volume which should exist on the device. This can currently either be blank or created from a ContentTree If maxSizeBytes is zero it means unlimited by the controller. In that case EVE needs to determine how much space it can assign and limit any downloaded ContentTree and the created volume based on that calculated size.

swagger:model configVolume

func (*ConfigVolume) ContextValidate ¶

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

ContextValidate validate this config volume based on the context it is used

func (*ConfigVolume) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigVolume) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigVolume) Validate ¶

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

Validate validates this config volume

type ConfigVolumeAccessProtocols ¶

type ConfigVolumeAccessProtocols string

ConfigVolumeAccessProtocols The protocol that the task will use to access the Volume

swagger:model configVolumeAccessProtocols

const (

	// ConfigVolumeAccessProtocolsVAPNONE captures enum value "VAP_NONE"
	ConfigVolumeAccessProtocolsVAPNONE ConfigVolumeAccessProtocols = "VAP_NONE"

	// ConfigVolumeAccessProtocolsVAP9P captures enum value "VAP_9P"
	ConfigVolumeAccessProtocolsVAP9P ConfigVolumeAccessProtocols = "VAP_9P"
)

func (ConfigVolumeAccessProtocols) ContextValidate ¶

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

ContextValidate validates this config volume access protocols based on context it is used

func (ConfigVolumeAccessProtocols) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigVolumeAccessProtocols.

func (ConfigVolumeAccessProtocols) Validate ¶

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

Validate validates this config volume access protocols

type ConfigVolumeContentOrigin ¶

type ConfigVolumeContentOrigin struct {

	// download content tree ID
	DownloadContentTreeID string `json:"downloadContentTreeID,omitempty"`

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

ConfigVolumeContentOrigin config volume content origin

swagger:model configVolumeContentOrigin

func (*ConfigVolumeContentOrigin) ContextValidate ¶

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

ContextValidate validate this config volume content origin based on the context it is used

func (*ConfigVolumeContentOrigin) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigVolumeContentOrigin) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigVolumeContentOrigin) Validate ¶

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

Validate validates this config volume content origin

type ConfigVolumeContentOriginType ¶

type ConfigVolumeContentOriginType string

ConfigVolumeContentOriginType config volume content origin type

swagger:model configVolumeContentOriginType

const (

	// ConfigVolumeContentOriginTypeVCOTUNKNOWN captures enum value "VCOT_UNKNOWN"
	ConfigVolumeContentOriginTypeVCOTUNKNOWN ConfigVolumeContentOriginType = "VCOT_UNKNOWN"

	// ConfigVolumeContentOriginTypeVCOTBLANK captures enum value "VCOT_BLANK"
	ConfigVolumeContentOriginTypeVCOTBLANK ConfigVolumeContentOriginType = "VCOT_BLANK"

	// ConfigVolumeContentOriginTypeVCOTDOWNLOAD captures enum value "VCOT_DOWNLOAD"
	ConfigVolumeContentOriginTypeVCOTDOWNLOAD ConfigVolumeContentOriginType = "VCOT_DOWNLOAD"
)

func (ConfigVolumeContentOriginType) ContextValidate ¶

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

ContextValidate validates this config volume content origin type based on context it is used

func (ConfigVolumeContentOriginType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigVolumeContentOriginType.

func (ConfigVolumeContentOriginType) Validate ¶

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

Validate validates this config volume content origin type

type ConfigVolumeRef ¶

type ConfigVolumeRef struct {

	// generation count
	GenerationCount string `json:"generationCount,omitempty"`

	// Indicates volume mount point inside container
	// if mount_dir is empty then it will be mounted on /mnt
	MountDir string `json:"mountDir,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`
}

ConfigVolumeRef Reference to a Volume specified separately in the API If a volume is purged (re-created from scratch) it will either have a new UUID or a new generationCount

swagger:model configVolumeRef

func (*ConfigVolumeRef) ContextValidate ¶

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

ContextValidate validates this config volume ref based on context it is used

func (*ConfigVolumeRef) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigVolumeRef) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigVolumeRef) Validate ¶

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

Validate validates this config volume ref

type ConfigWiFiKeyScheme ¶

type ConfigWiFiKeyScheme string

ConfigWiFiKeyScheme config wi fi key scheme

swagger:model configWiFiKeyScheme

const (

	// ConfigWiFiKeySchemeSchemeNOOP captures enum value "SchemeNOOP"
	ConfigWiFiKeySchemeSchemeNOOP ConfigWiFiKeyScheme = "SchemeNOOP"

	// ConfigWiFiKeySchemeWPAPSK captures enum value "WPAPSK"
	ConfigWiFiKeySchemeWPAPSK ConfigWiFiKeyScheme = "WPAPSK"

	// ConfigWiFiKeySchemeWPAEAP captures enum value "WPAEAP"
	ConfigWiFiKeySchemeWPAEAP ConfigWiFiKeyScheme = "WPAEAP"
)

func NewConfigWiFiKeyScheme ¶

func NewConfigWiFiKeyScheme(value ConfigWiFiKeyScheme) *ConfigWiFiKeyScheme

func (ConfigWiFiKeyScheme) ContextValidate ¶

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

ContextValidate validates this config wi fi key scheme based on context it is used

func (ConfigWiFiKeyScheme) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigWiFiKeyScheme.

func (ConfigWiFiKeyScheme) Validate ¶

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

Validate validates this config wi fi key scheme

type ConfigWifiConfig ¶

type ConfigWifiConfig struct {

	// cipher data
	CipherData *ConfigCipherBlock `json:"cipherData,omitempty"`

	// crypto
	Crypto *WifiConfigcryptoblock `json:"crypto,omitempty"`

	// to be deprecated, use cipherData instead
	Identity string `json:"identity,omitempty"`

	// key scheme
	KeyScheme *ConfigWiFiKeyScheme `json:"keyScheme,omitempty"`

	// to be deprecated, use cipherData instead
	Password string `json:"password,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// wifi s s ID
	WifiSSID string `json:"wifiSSID,omitempty"`
}

ConfigWifiConfig config wifi config

swagger:model configWifiConfig

func (*ConfigWifiConfig) ContextValidate ¶

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

ContextValidate validate this config wifi config based on the context it is used

func (*ConfigWifiConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigWifiConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigWifiConfig) Validate ¶

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

Validate validates this config wifi config

type ConfigWirelessConfig ¶

type ConfigWirelessConfig struct {

	// cellular cfg
	CellularCfg []*ConfigCellularConfig `json:"cellularCfg"`

	// type
	Type *ConfigWirelessType `json:"type,omitempty"`

	// wifi cfg
	WifiCfg []*ConfigWifiConfig `json:"wifiCfg"`
}

ConfigWirelessConfig config wireless config

swagger:model configWirelessConfig

func (*ConfigWirelessConfig) ContextValidate ¶

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

ContextValidate validate this config wireless config based on the context it is used

func (*ConfigWirelessConfig) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigWirelessConfig) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigWirelessConfig) Validate ¶

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

Validate validates this config wireless config

type ConfigWirelessType ¶

type ConfigWirelessType string

ConfigWirelessType config wireless type

swagger:model configWirelessType

const (

	// ConfigWirelessTypeTypeNOOP captures enum value "TypeNOOP"
	ConfigWirelessTypeTypeNOOP ConfigWirelessType = "TypeNOOP"

	// ConfigWirelessTypeWiFi captures enum value "WiFi"
	ConfigWirelessTypeWiFi ConfigWirelessType = "WiFi"

	// ConfigWirelessTypeCellular captures enum value "Cellular"
	ConfigWirelessTypeCellular ConfigWirelessType = "Cellular"
)

func NewConfigWirelessType ¶

func NewConfigWirelessType(value ConfigWirelessType) *ConfigWirelessType

func (ConfigWirelessType) ContextValidate ¶

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

ContextValidate validates this config wireless type based on context it is used

func (ConfigWirelessType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigWirelessType.

func (ConfigWirelessType) Validate ¶

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

Validate validates this config wireless type

type ConfigZNetworkInstType ¶

type ConfigZNetworkInstType string

ConfigZNetworkInstType config z network inst type

swagger:model configZNetworkInstType

const (

	// ConfigZNetworkInstTypeZNetInstFirst captures enum value "ZNetInstFirst"
	ConfigZNetworkInstTypeZNetInstFirst ConfigZNetworkInstType = "ZNetInstFirst"

	// ConfigZNetworkInstTypeZnetInstSwitch captures enum value "ZnetInstSwitch"
	ConfigZNetworkInstTypeZnetInstSwitch ConfigZNetworkInstType = "ZnetInstSwitch"

	// ConfigZNetworkInstTypeZnetInstLocal captures enum value "ZnetInstLocal"
	ConfigZNetworkInstTypeZnetInstLocal ConfigZNetworkInstType = "ZnetInstLocal"

	// ConfigZNetworkInstTypeZnetInstCloud captures enum value "ZnetInstCloud"
	ConfigZNetworkInstTypeZnetInstCloud ConfigZNetworkInstType = "ZnetInstCloud"

	// ConfigZNetworkInstTypeZnetInstMesh captures enum value "ZnetInstMesh"
	ConfigZNetworkInstTypeZnetInstMesh ConfigZNetworkInstType = "ZnetInstMesh"

	// ConfigZNetworkInstTypeZnetInstHoneyPot captures enum value "ZnetInstHoneyPot"
	ConfigZNetworkInstTypeZnetInstHoneyPot ConfigZNetworkInstType = "ZnetInstHoneyPot"

	// ConfigZNetworkInstTypeZnetInstTransparent captures enum value "ZnetInstTransparent"
	ConfigZNetworkInstTypeZnetInstTransparent ConfigZNetworkInstType = "ZnetInstTransparent"

	// ConfigZNetworkInstTypeZNetInstLast captures enum value "ZNetInstLast"
	ConfigZNetworkInstTypeZNetInstLast ConfigZNetworkInstType = "ZNetInstLast"
)

func NewConfigZNetworkInstType ¶

func NewConfigZNetworkInstType(value ConfigZNetworkInstType) *ConfigZNetworkInstType

func (ConfigZNetworkInstType) ContextValidate ¶

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

ContextValidate validates this config z network inst type based on context it is used

func (ConfigZNetworkInstType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigZNetworkInstType.

func (ConfigZNetworkInstType) Validate ¶

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

Validate validates this config z network inst type

type ConfigZNetworkOpaqueConfigType ¶

type ConfigZNetworkOpaqueConfigType string

ConfigZNetworkOpaqueConfigType config z network opaque config type

swagger:model configZNetworkOpaqueConfigType

const (

	// ConfigZNetworkOpaqueConfigTypeZNetOConfigVPN captures enum value "ZNetOConfigVPN"
	ConfigZNetworkOpaqueConfigTypeZNetOConfigVPN ConfigZNetworkOpaqueConfigType = "ZNetOConfigVPN"

	// ConfigZNetworkOpaqueConfigTypeZNetOConfigLisp captures enum value "ZNetOConfigLisp"
	ConfigZNetworkOpaqueConfigTypeZNetOConfigLisp ConfigZNetworkOpaqueConfigType = "ZNetOConfigLisp"
)

func (ConfigZNetworkOpaqueConfigType) ContextValidate ¶

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

ContextValidate validates this config z network opaque config type based on context it is used

func (ConfigZNetworkOpaqueConfigType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigZNetworkOpaqueConfigType.

func (ConfigZNetworkOpaqueConfigType) Validate ¶

Validate validates this config z network opaque config type

type ConfigZcServicePoint ¶

type ConfigZcServicePoint struct {

	// credential
	Credential string `json:"Credential,omitempty"`

	// name or Ip
	NameOrIP string `json:"NameOrIp,omitempty"`

	// zs type
	ZsType *ConfigZcServiceType `json:"zsType,omitempty"`
}

ConfigZcServicePoint This is way to tell the device if there is service in cloud somewhere, what type it is how to access it

swagger:model configZcServicePoint

func (*ConfigZcServicePoint) ContextValidate ¶

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

ContextValidate validate this config zc service point based on the context it is used

func (*ConfigZcServicePoint) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigZcServicePoint) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigZcServicePoint) Validate ¶

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

Validate validates this config zc service point

type ConfigZcServiceType ¶

type ConfigZcServiceType string

ConfigZcServiceType - mapServer: mapping service for zededa overlay service

  • supportServer: if device has support feature enabled, this is cloud service from

device can be reached

swagger:model configZcServiceType

const (

	// ConfigZcServiceTypeZcloudInvalidSrv captures enum value "zcloudInvalidSrv"
	ConfigZcServiceTypeZcloudInvalidSrv ConfigZcServiceType = "zcloudInvalidSrv"

	// ConfigZcServiceTypeMapServer captures enum value "mapServer"
	ConfigZcServiceTypeMapServer ConfigZcServiceType = "mapServer"

	// ConfigZcServiceTypeSupportServer captures enum value "supportServer"
	ConfigZcServiceTypeSupportServer ConfigZcServiceType = "supportServer"
)

func NewConfigZcServiceType ¶

func NewConfigZcServiceType(value ConfigZcServiceType) *ConfigZcServiceType

func (ConfigZcServiceType) ContextValidate ¶

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

ContextValidate validates this config zc service type based on context it is used

func (ConfigZcServiceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated ConfigZcServiceType.

func (ConfigZcServiceType) Validate ¶

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

Validate validates this config zc service type

type ConfigZnetStaticDNSEntry ¶

type ConfigZnetStaticDNSEntry struct {

	// address
	Address []string `json:"Address"`

	// host name
	HostName string `json:"HostName,omitempty"`
}

ConfigZnetStaticDNSEntry These are list of static mapping that can be added to network

swagger:model configZnetStaticDNSEntry

func (*ConfigZnetStaticDNSEntry) ContextValidate ¶

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

ContextValidate validates this config znet static DNS entry based on context it is used

func (*ConfigZnetStaticDNSEntry) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigZnetStaticDNSEntry) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigZnetStaticDNSEntry) Validate ¶

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

Validate validates this config znet static DNS entry

type ConfigipRange ¶

type ConfigipRange struct {

	// end
	End string `json:"end,omitempty"`

	// start
	Start string `json:"start,omitempty"`
}

ConfigipRange configip range

swagger:model configipRange

func (*ConfigipRange) ContextValidate ¶

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

ContextValidate validates this configip range based on context it is used

func (*ConfigipRange) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ConfigipRange) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ConfigipRange) Validate ¶

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

Validate validates this configip range

type Configipspec ¶

type Configipspec struct {

	// dhcp
	Dhcp *ConfigDHCPType `json:"dhcp,omitempty"`

	// for IPAM management when dhcp is turned on.
	// If none provided, system will default pool.
	DhcpRange *ConfigipRange `json:"dhcpRange,omitempty"`

	// dns
	DNS []string `json:"dns"`

	// domain
	Domain string `json:"domain,omitempty"`

	// gateway
	Gateway string `json:"gateway,omitempty"`

	// ntp
	Ntp string `json:"ntp,omitempty"`

	// subnet is CIDR format...x.y.z.l/nn
	Subnet string `json:"subnet,omitempty"`
}

Configipspec Common for IPv4 and IPv6

swagger:model configipspec

func (*Configipspec) ContextValidate ¶

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

ContextValidate validate this configipspec based on the context it is used

func (*Configipspec) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Configipspec) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Configipspec) Validate ¶

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

Validate validates this configipspec

type ConfigproxyProto ¶

type ConfigproxyProto string

ConfigproxyProto configproxy proto

swagger:model configproxyProto

const (

	// ConfigproxyProtoPROXYHTTP captures enum value "PROXY_HTTP"
	ConfigproxyProtoPROXYHTTP ConfigproxyProto = "PROXY_HTTP"

	// ConfigproxyProtoPROXYHTTPS captures enum value "PROXY_HTTPS"
	ConfigproxyProtoPROXYHTTPS ConfigproxyProto = "PROXY_HTTPS"

	// ConfigproxyProtoPROXYSOCKS captures enum value "PROXY_SOCKS"
	ConfigproxyProtoPROXYSOCKS ConfigproxyProto = "PROXY_SOCKS"

	// ConfigproxyProtoPROXYFTP captures enum value "PROXY_FTP"
	ConfigproxyProtoPROXYFTP ConfigproxyProto = "PROXY_FTP"

	// ConfigproxyProtoPROXYOTHER captures enum value "PROXY_OTHER"
	ConfigproxyProtoPROXYOTHER ConfigproxyProto = "PROXY_OTHER"
)

func NewConfigproxyProto ¶

func NewConfigproxyProto(value ConfigproxyProto) *ConfigproxyProto

func (ConfigproxyProto) ContextValidate ¶

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

ContextValidate validates this configproxy proto based on context it is used

func (ConfigproxyProto) Pointer ¶

func (m ConfigproxyProto) Pointer() *ConfigproxyProto

Pointer returns a pointer to a freshly-allocated ConfigproxyProto.

func (ConfigproxyProto) Validate ¶

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

Validate validates this configproxy proto

type ContainerDetail ¶

type ContainerDetail struct {

	// Base64 encoded container specific details
	//
	// Create options direct the creation of the Docker container
	ContainerCreateOption string `json:"containerCreateOption,omitempty"`
}

ContainerDetail common container detail.

swagger:model ContainerDetail

func (*ContainerDetail) ContextValidate ¶

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

ContextValidate validates this container detail based on context it is used

func (*ContainerDetail) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ContainerDetail) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*ContainerDetail) Validate ¶

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

Validate validates this container detail

type ControllerType ¶

type ControllerType string

ControllerType third party controller types.

swagger:model ControllerType

const (

	// ControllerTypeCONTROLLERTYPEUNSPECIFIED captures enum value "CONTROLLER_TYPE_UNSPECIFIED"
	ControllerTypeCONTROLLERTYPEUNSPECIFIED ControllerType = "CONTROLLER_TYPE_UNSPECIFIED"

	// ControllerTypeCONTROLLERTYPEAZURE captures enum value "CONTROLLER_TYPE_AZURE"
	ControllerTypeCONTROLLERTYPEAZURE ControllerType = "CONTROLLER_TYPE_AZURE"

	// ControllerTypeCONTROLLERTYPEAWS captures enum value "CONTROLLER_TYPE_AWS"
	ControllerTypeCONTROLLERTYPEAWS ControllerType = "CONTROLLER_TYPE_AWS"

	// ControllerTypeCONTROLLERTYPEGCP captures enum value "CONTROLLER_TYPE_GCP"
	ControllerTypeCONTROLLERTYPEGCP ControllerType = "CONTROLLER_TYPE_GCP"

	// ControllerTypeCONTROLLERTYPEVCO captures enum value "CONTROLLER_TYPE_VCO"
	ControllerTypeCONTROLLERTYPEVCO ControllerType = "CONTROLLER_TYPE_VCO"
)

func NewControllerType ¶

func NewControllerType(value ControllerType) *ControllerType

func (ControllerType) ContextValidate ¶

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

ContextValidate validates this controller type based on context it is used

func (ControllerType) Pointer ¶

func (m ControllerType) Pointer() *ControllerType

Pointer returns a pointer to a freshly-allocated ControllerType.

func (ControllerType) Validate ¶

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

Validate validates this controller type

type Credential ¶

type Credential struct {

	// current cred
	CurrentCred string `json:"currentCred,omitempty"`

	// forgot
	Forgot bool `json:"forgot,omitempty"`

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

	// new cred
	NewCred string `json:"newCred,omitempty"`

	// owner
	Owner string `json:"owner,omitempty"`

	// salt
	Salt int64 `json:"salt,omitempty"`

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

Credential credential

swagger:model Credential

func (*Credential) ContextValidate ¶

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

ContextValidate validate this credential based on the context it is used

func (*Credential) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Credential) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Credential) Validate ¶

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

Validate validates this credential

type CredentialType ¶

type CredentialType string

CredentialType credential type

swagger:model CredentialType

const (

	// CredentialTypeCREDENTIALTYPEUNSPECIFIED captures enum value "CREDENTIAL_TYPE_UNSPECIFIED"
	CredentialTypeCREDENTIALTYPEUNSPECIFIED CredentialType = "CREDENTIAL_TYPE_UNSPECIFIED"

	// CredentialTypeCREDENTIALTYPEPASSWORD captures enum value "CREDENTIAL_TYPE_PASSWORD"
	CredentialTypeCREDENTIALTYPEPASSWORD CredentialType = "CREDENTIAL_TYPE_PASSWORD"

	// CredentialTypeCREDENTIALTYPECHAP captures enum value "CREDENTIAL_TYPE_CHAP"
	CredentialTypeCREDENTIALTYPECHAP CredentialType = "CREDENTIAL_TYPE_CHAP"

	// CredentialTypeCREDENTIALTYPEPUBLICKEY captures enum value "CREDENTIAL_TYPE_PUBLIC_KEY"
	CredentialTypeCREDENTIALTYPEPUBLICKEY CredentialType = "CREDENTIAL_TYPE_PUBLIC_KEY"

	// CredentialTypeCREDENTIALTYPENONE captures enum value "CREDENTIAL_TYPE_NONE"
	CredentialTypeCREDENTIALTYPENONE CredentialType = "CREDENTIAL_TYPE_NONE"
)

func NewCredentialType ¶

func NewCredentialType(value CredentialType) *CredentialType

func (CredentialType) ContextValidate ¶

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

ContextValidate validates this credential type based on context it is used

func (CredentialType) Pointer ¶

func (m CredentialType) Pointer() *CredentialType

Pointer returns a pointer to a freshly-allocated CredentialType.

func (CredentialType) Validate ¶

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

Validate validates this credential type

type Credentials ¶

type Credentials struct {

	// list
	List []*Credential `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

Credentials credentials

swagger:model Credentials

func (*Credentials) ContextValidate ¶

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

ContextValidate validate this credentials based on the context it is used

func (*Credentials) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*Credentials) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*Credentials) Validate ¶

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

Validate validates this credentials

type CrudAction ¶

type CrudAction string

CrudAction crud action

swagger:model CrudAction

const (

	// CrudActionCrudActionINVALID captures enum value "CrudAction__INVALID__"
	CrudActionCrudActionINVALID CrudAction = "CrudAction__INVALID__"

	// CrudActionCrudActionNotApplicable captures enum value "CrudActionNotApplicable"
	CrudActionCrudActionNotApplicable CrudAction = "CrudActionNotApplicable"

	// CrudActionCrudActionCreate captures enum value "CrudActionCreate"
	CrudActionCrudActionCreate CrudAction = "CrudActionCreate"

	// CrudActionCrudActionRead captures enum value "CrudActionRead"
	CrudActionCrudActionRead CrudAction = "CrudActionRead"

	// CrudActionCrudActionUpdate captures enum value "CrudActionUpdate"
	CrudActionCrudActionUpdate CrudAction = "CrudActionUpdate"

	// CrudActionCrudActionDelete captures enum value "CrudActionDelete"
	CrudActionCrudActionDelete CrudAction = "CrudActionDelete"

	// CrudActionCrudActionQuery captures enum value "CrudActionQuery"
	CrudActionCrudActionQuery CrudAction = "CrudActionQuery"

	// CrudActionCrudActionQueryNext captures enum value "CrudActionQueryNext"
	CrudActionCrudActionQueryNext CrudAction = "CrudActionQueryNext"

	// CrudActionCrudActionReadSelf captures enum value "CrudActionReadSelf"
	CrudActionCrudActionReadSelf CrudAction = "CrudActionReadSelf"

	// CrudActionCrudActionUpdateSelf captures enum value "CrudActionUpdateSelf"
	CrudActionCrudActionUpdateSelf CrudAction = "CrudActionUpdateSelf"
)

func NewCrudAction ¶

func NewCrudAction(value CrudAction) *CrudAction

func (CrudAction) ContextValidate ¶

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

ContextValidate validates this crud action based on context it is used

func (CrudAction) Pointer ¶

func (m CrudAction) Pointer() *CrudAction

Pointer returns a pointer to a freshly-allocated CrudAction.

func (CrudAction) Validate ¶

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

Validate validates this crud action

type CrudContent ¶

type CrudContent struct {

	// clazz
	Clazz *ModelClazz `json:"clazz,omitempty"`

	// encoding
	Encoding *CrudContentEncoding `json:"encoding,omitempty"`

	// json
	JSON *CrudContentJSON `json:"json,omitempty"`

	// oid
	Oid *Identifier64 `json:"oid,omitempty"`

	// protobuf
	Protobuf *CrudContentProtobuf `json:"protobuf,omitempty"`
}

CrudContent Content, with a type encoded either as protobuf or json

swagger:model CrudContent

func (*CrudContent) ContextValidate ¶

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

ContextValidate validate this crud content based on the context it is used

func (*CrudContent) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CrudContent) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CrudContent) Validate ¶

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

Validate validates this crud content

type CrudContentEncoding ¶

type CrudContentEncoding string

CrudContentEncoding crud content encoding

swagger:model CrudContentEncoding

const (

	// CrudContentEncodingCrudPayloadEncodingINVALID captures enum value "CrudPayloadEncoding__INVALID__"
	CrudContentEncodingCrudPayloadEncodingINVALID CrudContentEncoding = "CrudPayloadEncoding__INVALID__"

	// CrudContentEncodingCrudPayloadEncodingProtobuf captures enum value "CrudPayloadEncodingProtobuf"
	CrudContentEncodingCrudPayloadEncodingProtobuf CrudContentEncoding = "CrudPayloadEncodingProtobuf"

	// CrudContentEncodingCrudPayloadEncodingJSON captures enum value "CrudPayloadEncodingJSON"
	CrudContentEncodingCrudPayloadEncodingJSON CrudContentEncoding = "CrudPayloadEncodingJSON"
)

func NewCrudContentEncoding ¶

func NewCrudContentEncoding(value CrudContentEncoding) *CrudContentEncoding

func (CrudContentEncoding) ContextValidate ¶

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

ContextValidate validates this crud content encoding based on context it is used

func (CrudContentEncoding) Pointer ¶

Pointer returns a pointer to a freshly-allocated CrudContentEncoding.

func (CrudContentEncoding) Validate ¶

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

Validate validates this crud content encoding

type CrudContentJSON ¶

type CrudContentJSON struct {

	// json
	JSON string `json:"json,omitempty"`
}

CrudContentJSON crud content JSON

swagger:model CrudContentJSON

func (*CrudContentJSON) ContextValidate ¶

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

ContextValidate validates this crud content JSON based on context it is used

func (*CrudContentJSON) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CrudContentJSON) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CrudContentJSON) Validate ¶

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

Validate validates this crud content JSON

type CrudContentProtobuf ¶

type CrudContentProtobuf struct {

	// credential
	Credential *Credential `json:"credential,omitempty"`

	// crypto key
	CryptoKey string `json:"cryptoKey,omitempty"`

	// detailed user
	DetailedUser *DetailedUser `json:"detailedUser,omitempty"`

	// doc policy
	DocPolicy *DocPolicy `json:"docPolicy,omitempty"`

	// encrypted secrets
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// enterprise
	Enterprise *Enterprise `json:"enterprise,omitempty"`

	// policy
	Policy *Policy `json:"policy,omitempty"`

	// profile
	Profile *AuthorizationProfile `json:"profile,omitempty"`

	// realm
	Realm *Realm `json:"realm,omitempty"`

	// role
	Role *Role `json:"role,omitempty"`

	// simple user
	SimpleUser *SimpleUser `json:"simpleUser,omitempty"`

	// user
	User *DetailedUser `json:"user,omitempty"`
}

CrudContentProtobuf crud content protobuf

swagger:model CrudContentProtobuf

func (*CrudContentProtobuf) ContextValidate ¶

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

ContextValidate validate this crud content protobuf based on the context it is used

func (*CrudContentProtobuf) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CrudContentProtobuf) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CrudContentProtobuf) Validate ¶

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

Validate validates this crud content protobuf

type CrudResponse ¶

type CrudResponse struct {

	// action
	Action *CrudAction `json:"action,omitempty"`

	// query
	Query *CrudResponseQuery `json:"query,omitempty"`

	// read
	Read *CrudResponseRead `json:"read,omitempty"`

	// result
	Result *ZsrvResponse `json:"result,omitempty"`

	// token
	Token *OpaqueToken64 `json:"token,omitempty"`
}

CrudResponse crud response

swagger:model CrudResponse

func (*CrudResponse) ContextValidate ¶

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

ContextValidate validate this crud response based on the context it is used

func (*CrudResponse) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CrudResponse) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CrudResponse) Validate ¶

func (m *CrudResponse) Validate(formats strfmt.Registry) error

Validate validates this crud response

type CrudResponseQuery ¶

type CrudResponseQuery struct {

	// allowed enterprise list
	AllowedEnterpriseList *AllowedEnterpriseList `json:"allowedEnterpriseList,omitempty"`

	// clazz
	Clazz *ModelClazz `json:"clazz,omitempty"`

	// Was there anything that matches
	Code *CrudResultCode `json:"code,omitempty"`

	// credentials
	Credentials *Credentials `json:"credentials,omitempty"`

	// doc policies
	DocPolicies *DocPolicies `json:"docPolicies,omitempty"`

	// enterprises
	Enterprises *Enterprises `json:"enterprises,omitempty"`

	// Global statistics
	GlobalStatistics []*CrudStatisticsContainer `json:"globalStatistics"`

	// List of the results
	List []*CrudResultWithContent `json:"list"`

	// policies
	Policies *Policies `json:"policies,omitempty"`

	// The index of the first result
	Position int64 `json:"position,omitempty"`

	// profiles
	Profiles *AuthorizationProfiles `json:"profiles,omitempty"`

	// Global statistics
	QueryStatistics []*CrudStatisticsContainer `json:"queryStatistics"`

	// The unique id of the query
	QueryToken *OpaqueToken64 `json:"queryToken,omitempty"`

	// realms
	Realms *Realms `json:"realms,omitempty"`

	// roles
	Roles *Roles `json:"roles,omitempty"`

	// The number of results returned, could be less than the requested size
	Size int64 `json:"size,omitempty"`

	// The total number of result items for this query
	Total int64 `json:"total,omitempty"`

	// user summary report
	UserSummaryReport *UserSummaryReport `json:"userSummaryReport,omitempty"`

	// user usage per enterprise list
	UserUsagePerEnterpriseList *UserUsagePerEnterpriseList `json:"userUsagePerEnterpriseList,omitempty"`

	// users
	Users *DetailedUsers `json:"users,omitempty"`
}

CrudResponseQuery crud response query

swagger:model CrudResponseQuery

func (*CrudResponseQuery) ContextValidate ¶

func (m *CrudResponseQuery) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this crud response query based on the context it is used

func (*CrudResponseQuery) MarshalBinary ¶

func (m *CrudResponseQuery) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrudResponseQuery) UnmarshalBinary ¶

func (m *CrudResponseQuery) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrudResponseQuery) Validate ¶

func (m *CrudResponseQuery) Validate(formats strfmt.Registry) error

Validate validates this crud response query

type CrudResponseRead ¶

type CrudResponseRead struct {

	// result
	Result *CrudResultWithContent `json:"result,omitempty"`
}

CrudResponseRead crud response read

swagger:model CrudResponseRead

func (*CrudResponseRead) ContextValidate ¶

func (m *CrudResponseRead) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this crud response read based on the context it is used

func (*CrudResponseRead) MarshalBinary ¶

func (m *CrudResponseRead) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrudResponseRead) UnmarshalBinary ¶

func (m *CrudResponseRead) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrudResponseRead) Validate ¶

func (m *CrudResponseRead) Validate(formats strfmt.Registry) error

Validate validates this crud response read

type CrudResultCode ¶

type CrudResultCode string

CrudResultCode Responses to the action requests

swagger:model CrudResultCode

const (

	// CrudResultCodeCrudResultCodeINVALID captures enum value "CrudResultCode__INVALID__"
	CrudResultCodeCrudResultCodeINVALID CrudResultCode = "CrudResultCode__INVALID__"

	// CrudResultCodeCrudResultCodeSuccess captures enum value "CrudResultCodeSuccess"
	CrudResultCodeCrudResultCodeSuccess CrudResultCode = "CrudResultCodeSuccess"

	// CrudResultCodeCrudResultCodeAuthentication captures enum value "CrudResultCodeAuthentication"
	CrudResultCodeCrudResultCodeAuthentication CrudResultCode = "CrudResultCodeAuthentication"

	// CrudResultCodeCrudResultCodeAlreadyExists captures enum value "CrudResultCodeAlreadyExists"
	CrudResultCodeCrudResultCodeAlreadyExists CrudResultCode = "CrudResultCodeAlreadyExists"

	// CrudResultCodeCrudResultCodeException captures enum value "CrudResultCodeException"
	CrudResultCodeCrudResultCodeException CrudResultCode = "CrudResultCodeException"

	// CrudResultCodeCrudResultCodeHasDependencies captures enum value "CrudResultCodeHasDependencies"
	CrudResultCodeCrudResultCodeHasDependencies CrudResultCode = "CrudResultCodeHasDependencies"

	// CrudResultCodeCrudResultCodeIllegalArgument captures enum value "CrudResultCodeIllegalArgument"
	CrudResultCodeCrudResultCodeIllegalArgument CrudResultCode = "CrudResultCodeIllegalArgument"

	// CrudResultCodeCrudResultCodeIllegalRequest captures enum value "CrudResultCodeIllegalRequest"
	CrudResultCodeCrudResultCodeIllegalRequest CrudResultCode = "CrudResultCodeIllegalRequest"

	// CrudResultCodeCrudResultCodeIncomplete captures enum value "CrudResultCodeIncomplete"
	CrudResultCodeCrudResultCodeIncomplete CrudResultCode = "CrudResultCodeIncomplete"

	// CrudResultCodeCrudResultCodeInternalError captures enum value "CrudResultCodeInternalError"
	CrudResultCodeCrudResultCodeInternalError CrudResultCode = "CrudResultCodeInternalError"

	// CrudResultCodeCrudResultCodeNotFound captures enum value "CrudResultCodeNotFound"
	CrudResultCodeCrudResultCodeNotFound CrudResultCode = "CrudResultCodeNotFound"

	// CrudResultCodeCrudResultCodeNotIdentified captures enum value "CrudResultCodeNotIdentified"
	CrudResultCodeCrudResultCodeNotIdentified CrudResultCode = "CrudResultCodeNotIdentified"

	// CrudResultCodeCrudResultCodePermissionDenied captures enum value "CrudResultCodePermissionDenied"
	CrudResultCodeCrudResultCodePermissionDenied CrudResultCode = "CrudResultCodePermissionDenied"

	// CrudResultCodeCrudResultCodeQueryExpired captures enum value "CrudResultCodeQueryExpired"
	CrudResultCodeCrudResultCodeQueryExpired CrudResultCode = "CrudResultCodeQueryExpired"

	// CrudResultCodeCrudResultCodeUnknown captures enum value "CrudResultCodeUnknown"
	CrudResultCodeCrudResultCodeUnknown CrudResultCode = "CrudResultCodeUnknown"
)

func NewCrudResultCode ¶

func NewCrudResultCode(value CrudResultCode) *CrudResultCode

func (CrudResultCode) ContextValidate ¶

func (m CrudResultCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this crud result code based on context it is used

func (CrudResultCode) Pointer ¶

func (m CrudResultCode) Pointer() *CrudResultCode

Pointer returns a pointer to a freshly-allocated CrudResultCode.

func (CrudResultCode) Validate ¶

func (m CrudResultCode) Validate(formats strfmt.Registry) error

Validate validates this crud result code

type CrudResultWithContent ¶

type CrudResultWithContent struct {

	// code
	Code *CrudResultCode `json:"code,omitempty"`

	// content
	Content *CrudContent `json:"content,omitempty"`

	// identifier
	Identifier *Identifier64 `json:"identifier,omitempty"`
}

CrudResultWithContent crud result with content

swagger:model CrudResultWithContent

func (*CrudResultWithContent) ContextValidate ¶

func (m *CrudResultWithContent) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this crud result with content based on the context it is used

func (*CrudResultWithContent) MarshalBinary ¶

func (m *CrudResultWithContent) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrudResultWithContent) UnmarshalBinary ¶

func (m *CrudResultWithContent) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrudResultWithContent) Validate ¶

func (m *CrudResultWithContent) Validate(formats strfmt.Registry) error

Validate validates this crud result with content

type CrudStatisticsContainer ¶

type CrudStatisticsContainer struct {

	// clazz
	Clazz *ModelClazz `json:"clazz,omitempty"`

	// user
	User *CrudStatisticsUser `json:"user,omitempty"`
}

CrudStatisticsContainer Container for per-clazz statistics

swagger:model CrudStatisticsContainer

func (*CrudStatisticsContainer) ContextValidate ¶

func (m *CrudStatisticsContainer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this crud statistics container based on the context it is used

func (*CrudStatisticsContainer) MarshalBinary ¶

func (m *CrudStatisticsContainer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrudStatisticsContainer) UnmarshalBinary ¶

func (m *CrudStatisticsContainer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrudStatisticsContainer) Validate ¶

func (m *CrudStatisticsContainer) Validate(formats strfmt.Registry) error

Validate validates this crud statistics container

type CrudStatisticsUser ¶

type CrudStatisticsUser struct {

	// deleted
	Deleted int64 `json:"deleted,omitempty"`

	// suspended
	Suspended int64 `json:"suspended,omitempty"`

	// total
	Total int64 `json:"total,omitempty"`
}

CrudStatisticsUser User related statistics

swagger:model CrudStatisticsUser

func (*CrudStatisticsUser) ContextValidate ¶

func (m *CrudStatisticsUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this crud statistics user based on context it is used

func (*CrudStatisticsUser) MarshalBinary ¶

func (m *CrudStatisticsUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CrudStatisticsUser) UnmarshalBinary ¶

func (m *CrudStatisticsUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CrudStatisticsUser) Validate ¶

func (m *CrudStatisticsUser) Validate(formats strfmt.Registry) error

Validate validates this crud statistics user

type Cursor ¶

type Cursor struct {

	// OrderBy helps in sorting the list response
	OrderBy []string `json:"orderBy"`

	// Page Number
	PageNum int64 `json:"pageNum,omitempty"`

	// Defines the page size
	PageSize int64 `json:"pageSize,omitempty"`

	// Page Token
	PageToken string `json:"pageToken,omitempty"`

	// Total number of pages to be fetched.
	TotalPages int64 `json:"totalPages,omitempty"`
}

Cursor Cursor is used as filter in list operation.

Cursor helps in filtering the various list response like edge-app bundle list, model list, bundle list etc.

swagger:model Cursor

func (*Cursor) ContextValidate ¶

func (m *Cursor) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this cursor based on context it is used

func (*Cursor) MarshalBinary ¶

func (m *Cursor) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Cursor) UnmarshalBinary ¶

func (m *Cursor) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Cursor) Validate ¶

func (m *Cursor) Validate(formats strfmt.Registry) error

Validate validates this cursor

type CustomConfig ¶

type CustomConfig struct {

	// Add the Custom Config to App Instance (Optional. Default: False)
	Add bool `json:"add,omitempty"`

	// Allow Appinstance storage to be resized after app instance is created. (Optional. Default: False)
	AllowStorageResize bool `json:"allowStorageResize,omitempty"`

	// Field delimiter used in specifying variables in template. (Required)
	FieldDelimiter string `json:"fieldDelimiter,omitempty"`

	// Name of CustomConfig (Required)
	Name string `json:"name,omitempty"`

	// Override existing custom config from App Bundle Manifest (Optional. Default: False)
	Override bool `json:"override,omitempty"`

	// base64 encrypted template string. (Optional)
	Template string `json:"template,omitempty"`

	// List of Variable groups. (Required)
	VariableGroups []*CustomConfigVariableGroup `json:"variableGroups"`
}

CustomConfig custom config

swagger:model CustomConfig

func (*CustomConfig) ContextValidate ¶

func (m *CustomConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom config based on the context it is used

func (*CustomConfig) MarshalBinary ¶

func (m *CustomConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomConfig) UnmarshalBinary ¶

func (m *CustomConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomConfig) Validate ¶

func (m *CustomConfig) Validate(formats strfmt.Registry) error

Validate validates this custom config

type CustomConfigVariableGroup ¶

type CustomConfigVariableGroup struct {

	// Condition to apply the variable group. (Optional. Default: None)
	Condition *VariableGroupCondition `json:"condition,omitempty"`

	// Name of the Variable Group(Required)
	Name string `json:"name,omitempty"`

	// Indicates if the variable group is required to be specified for the App Instance. (Optional. Default:False)
	Required bool `json:"required,omitempty"`

	// List of variables(Required)
	Variables []*VariableGroupVariable `json:"variables"`
}

CustomConfigVariableGroup custom config variable group

swagger:model CustomConfigVariableGroup

func (*CustomConfigVariableGroup) ContextValidate ¶

func (m *CustomConfigVariableGroup) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom config variable group based on the context it is used

func (*CustomConfigVariableGroup) MarshalBinary ¶

func (m *CustomConfigVariableGroup) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomConfigVariableGroup) UnmarshalBinary ¶

func (m *CustomConfigVariableGroup) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomConfigVariableGroup) Validate ¶

func (m *CustomConfigVariableGroup) Validate(formats strfmt.Registry) error

Validate validates this custom config variable group

type CustomUpdateModelFields ¶

type CustomUpdateModelFields struct {

	// custom model attributes
	CustomModelAttributes *ModelAttributes `json:"customModelAttributes,omitempty"`
}

CustomUpdateModelFields custom update model fields

swagger:model CustomUpdateModelFields

func (*CustomUpdateModelFields) ContextValidate ¶

func (m *CustomUpdateModelFields) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this custom update model fields based on the context it is used

func (*CustomUpdateModelFields) MarshalBinary ¶

func (m *CustomUpdateModelFields) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CustomUpdateModelFields) UnmarshalBinary ¶

func (m *CustomUpdateModelFields) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CustomUpdateModelFields) Validate ¶

func (m *CustomUpdateModelFields) Validate(formats strfmt.Registry) error

Validate validates this custom update model fields

type DNSInfo ¶

type DNSInfo struct {

	// domain name
	// Required: true
	Domain *string `json:"domain"`

	// Array of search strings
	// Required: true
	Search []string `json:"search"`

	// Array of dns server
	// Required: true
	Servers []string `json:"servers"`
}

DNSInfo DNSInfo consists of DNS Configurations.

DNSInfo is used to store Domain Name Server configuration.

swagger:model DNSInfo

func (*DNSInfo) ContextValidate ¶

func (m *DNSInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this DNS info based on context it is used

func (*DNSInfo) MarshalBinary ¶

func (m *DNSInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DNSInfo) UnmarshalBinary ¶

func (m *DNSInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DNSInfo) Validate ¶

func (m *DNSInfo) Validate(formats strfmt.Registry) error

Validate validates this DNS info

type DPSServiceDetail ¶

type DPSServiceDetail struct {

	// enrollment
	Enrollment *EnrollmentDetail `json:"enrollment,omitempty"`

	// service detail
	ServiceDetail *AzureResourceAndServiceDetail `json:"serviceDetail,omitempty"`
}

DPSServiceDetail d p s service detail

swagger:model DPSServiceDetail

func (*DPSServiceDetail) ContextValidate ¶

func (m *DPSServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this d p s service detail based on the context it is used

func (*DPSServiceDetail) MarshalBinary ¶

func (m *DPSServiceDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DPSServiceDetail) UnmarshalBinary ¶

func (m *DPSServiceDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DPSServiceDetail) Validate ¶

func (m *DPSServiceDetail) Validate(formats strfmt.Registry) error

Validate validates this d p s service detail

type DataStream ¶ added in v1.0.2

type DataStream struct {

	// enabled
	Enabled bool `json:"enabled,omitempty"`

	// plugin Id
	PluginID string `json:"pluginId,omitempty"`
}

DataStream data stream

swagger:model DataStream

func (*DataStream) ContextValidate ¶ added in v1.0.2

func (m *DataStream) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this data stream based on context it is used

func (*DataStream) MarshalBinary ¶ added in v1.0.2

func (m *DataStream) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataStream) UnmarshalBinary ¶ added in v1.0.2

func (m *DataStream) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataStream) Validate ¶ added in v1.0.2

func (m *DataStream) Validate(formats strfmt.Registry) error

Validate validates this data stream

type DatastoreFilter ¶

type DatastoreFilter struct {

	// Datastore type to be matched
	DsType *DatastoreType `json:"dsType,omitempty"`

	// Datastore name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`
}

DatastoreFilter datastore filter

swagger:model DatastoreFilter

func (*DatastoreFilter) ContextValidate ¶

func (m *DatastoreFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore filter based on the context it is used

func (*DatastoreFilter) MarshalBinary ¶

func (m *DatastoreFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatastoreFilter) UnmarshalBinary ¶

func (m *DatastoreFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatastoreFilter) Validate ¶

func (m *DatastoreFilter) Validate(formats strfmt.Registry) error

Validate validates this datastore filter

type DatastoreInfo ¶

type DatastoreInfo struct {

	// api key
	APIKey string `json:"apiKey,omitempty"`

	// Certificate chain of the certificate
	CertificateChain *CertificateChain `json:"certificateChain,omitempty"`

	// Internal - Encryption Key context
	// Read Only: true
	CryptoKey string `json:"cryptoKey,omitempty"`

	// Detailed description of the datastore.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Datastore validation detailed error/status message
	// Read Only: true
	DsErr string `json:"dsErr,omitempty"`

	// Datastore Fully Qualified Domain Name
	// Required: true
	DsFQDN *string `json:"dsFQDN"`

	// Datastore relative path w.r.t. Datastore root
	// Required: true
	DsPath *string `json:"dsPath"`

	// Datastore status
	DsStatus *DatastoreStatus `json:"dsStatus,omitempty"`

	// Datastore type
	// Required: true
	DsType *DatastoreType `json:"dsType"`

	// Internal - Encrypted sensitive data
	// Read Only: true
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// enterprise Id
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// System defined universally unique Id of the datastore.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the datastore, unique across the enterprise. Once datastore is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// knob for sending creds in clear text
	NeedClearText bool `json:"needClearText,omitempty"`

	// Origin type of datastore.
	// Read Only: true
	OriginType *Origin `json:"originType,omitempty"`

	// project access list of the datastore
	ProjectAccessList []string `json:"projectAccessList"`

	// Datastore region - valid for AWS S3 and Azure BlobStorage
	Region string `json:"region,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Plain-text sensitive data
	Secret *DatastoreInfoSecrets `json:"secret,omitempty"`

	// User defined title of the datastore. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`
}

DatastoreInfo Datastore

Datastore idetail Example: {"description":"My test datastore hosted on HTTP server for Edge computing images.","dsError":"Datastore validated successfully...","dsFQDN":"http://my-datastore.my-company.com","dsPath":"download/AMD64","dsStatus":"DATASTORE_STATUS_ACTIVE","dsType":"DATASTORE_TYPE_HTTP","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-datastore","originType":"ORIGIN_LOCAL","revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"secret":{"apiKey":"my-datastore-api-key","apiPasswd":"my-datastore-api-password"},"title":"My test datatsore for Edge computing images"}

swagger:model DatastoreInfo

func (*DatastoreInfo) ContextValidate ¶

func (m *DatastoreInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore info based on the context it is used

func (*DatastoreInfo) MarshalBinary ¶

func (m *DatastoreInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatastoreInfo) UnmarshalBinary ¶

func (m *DatastoreInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatastoreInfo) Validate ¶

func (m *DatastoreInfo) Validate(formats strfmt.Registry) error

Validate validates this datastore info

type DatastoreInfoSecrets ¶

type DatastoreInfoSecrets struct {

	// Datastore access API key in plain-text
	APIKey string `json:"apiKey,omitempty"`

	// Datastore access API password in plain-text
	APIPasswd string `json:"apiPasswd,omitempty"`
}

DatastoreInfoSecrets datastore info secrets

swagger:model DatastoreInfoSecrets

func (*DatastoreInfoSecrets) ContextValidate ¶

func (m *DatastoreInfoSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datastore info secrets based on context it is used

func (*DatastoreInfoSecrets) MarshalBinary ¶

func (m *DatastoreInfoSecrets) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatastoreInfoSecrets) UnmarshalBinary ¶

func (m *DatastoreInfoSecrets) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatastoreInfoSecrets) Validate ¶

func (m *DatastoreInfoSecrets) Validate(formats strfmt.Registry) error

Validate validates this datastore info secrets

type DatastoreProjectList ¶ added in v1.0.2

type DatastoreProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are associated with the given datastore
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

DatastoreProjectList datastore project list

swagger:model DatastoreProjectList

func (*DatastoreProjectList) ContextValidate ¶ added in v1.0.2

func (m *DatastoreProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastore project list based on the context it is used

func (*DatastoreProjectList) MarshalBinary ¶ added in v1.0.2

func (m *DatastoreProjectList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DatastoreProjectList) UnmarshalBinary ¶ added in v1.0.2

func (m *DatastoreProjectList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DatastoreProjectList) Validate ¶ added in v1.0.2

func (m *DatastoreProjectList) Validate(formats strfmt.Registry) error

Validate validates this datastore project list

type DatastoreStatus ¶

type DatastoreStatus string

DatastoreStatus Datastore status

swagger:model DatastoreStatus

const (

	// DatastoreStatusDATASTORESTATUSUNSPECIFIED captures enum value "DATASTORE_STATUS_UNSPECIFIED"
	DatastoreStatusDATASTORESTATUSUNSPECIFIED DatastoreStatus = "DATASTORE_STATUS_UNSPECIFIED"

	// DatastoreStatusDATASTORESTATUSCREATED captures enum value "DATASTORE_STATUS_CREATED"
	DatastoreStatusDATASTORESTATUSCREATED DatastoreStatus = "DATASTORE_STATUS_CREATED"

	// DatastoreStatusDATASTORESTATUSVERIFYING captures enum value "DATASTORE_STATUS_VERIFYING"
	DatastoreStatusDATASTORESTATUSVERIFYING DatastoreStatus = "DATASTORE_STATUS_VERIFYING"

	// DatastoreStatusDATASTORESTATUSACTIVE captures enum value "DATASTORE_STATUS_ACTIVE"
	DatastoreStatusDATASTORESTATUSACTIVE DatastoreStatus = "DATASTORE_STATUS_ACTIVE"

	// DatastoreStatusDATASTORESTATUSINACTIVE captures enum value "DATASTORE_STATUS_INACTIVE"
	DatastoreStatusDATASTORESTATUSINACTIVE DatastoreStatus = "DATASTORE_STATUS_INACTIVE"

	// DatastoreStatusDATASTORESTATUSFAILED captures enum value "DATASTORE_STATUS_FAILED"
	DatastoreStatusDATASTORESTATUSFAILED DatastoreStatus = "DATASTORE_STATUS_FAILED"
)

func NewDatastoreStatus ¶

func NewDatastoreStatus(value DatastoreStatus) *DatastoreStatus

func (DatastoreStatus) ContextValidate ¶

func (m DatastoreStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datastore status based on context it is used

func (DatastoreStatus) Pointer ¶

func (m DatastoreStatus) Pointer() *DatastoreStatus

Pointer returns a pointer to a freshly-allocated DatastoreStatus.

func (DatastoreStatus) Validate ¶

func (m DatastoreStatus) Validate(formats strfmt.Registry) error

Validate validates this datastore status

type DatastoreType ¶

type DatastoreType string

DatastoreType Datastore type

- DATASTORE_TYPE_HTTP: Datastore hosted on HTTP server

  • DATASTORE_TYPE_HTTPS: Datastore hosted on HTTPS server
  • DATASTORE_TYPE_AWSS3: Datastore hosted on AWS S3
  • DATASTORE_TYPE_SFTP: Datastore hosted on SFTP server
  • DATASTORE_TYPE_CONTAINERREGISTRY: Datastore hosted on Container Registry (e.g. Dockerhub, Azure Container Registry etc.)
  • DATASTORE_TYPE_AZUREBLOB: Datastore hosted on Azure BlobStorage
  • DATASTORE_TYPE_ZEDEDAS3: ZEDEDA Owned and Operated datastore hosted on AWS S3
  • DATASTORE_TYPE_ZEDEDABLOB: ZEDEDA Owned and Operated datastore hosted on Azure BlobStorage
  • DATASTORE_TYPE_FILE_STORAGE: Datastore hosted on File Storage (e.g. HTTP, HTTPS, AWS S3, SFTP, Azure Blob, etc.)

swagger:model DatastoreType

const (

	// DatastoreTypeDATASTORETYPEUNSPECIFIED captures enum value "DATASTORE_TYPE_UNSPECIFIED"
	DatastoreTypeDATASTORETYPEUNSPECIFIED DatastoreType = "DATASTORE_TYPE_UNSPECIFIED"

	// DatastoreTypeDATASTORETYPEHTTP captures enum value "DATASTORE_TYPE_HTTP"
	DatastoreTypeDATASTORETYPEHTTP DatastoreType = "DATASTORE_TYPE_HTTP"

	// DatastoreTypeDATASTORETYPEHTTPS captures enum value "DATASTORE_TYPE_HTTPS"
	DatastoreTypeDATASTORETYPEHTTPS DatastoreType = "DATASTORE_TYPE_HTTPS"

	// DatastoreTypeDATASTORETYPEAWSS3 captures enum value "DATASTORE_TYPE_AWSS3"
	DatastoreTypeDATASTORETYPEAWSS3 DatastoreType = "DATASTORE_TYPE_AWSS3"

	// DatastoreTypeDATASTORETYPESFTP captures enum value "DATASTORE_TYPE_SFTP"
	DatastoreTypeDATASTORETYPESFTP DatastoreType = "DATASTORE_TYPE_SFTP"

	// DatastoreTypeDATASTORETYPECONTAINERREGISTRY captures enum value "DATASTORE_TYPE_CONTAINERREGISTRY"
	DatastoreTypeDATASTORETYPECONTAINERREGISTRY DatastoreType = "DATASTORE_TYPE_CONTAINERREGISTRY"

	// DatastoreTypeDATASTORETYPEAZUREBLOB captures enum value "DATASTORE_TYPE_AZUREBLOB"
	DatastoreTypeDATASTORETYPEAZUREBLOB DatastoreType = "DATASTORE_TYPE_AZUREBLOB"

	// DatastoreTypeDATASTORETYPEZEDEDAS3 captures enum value "DATASTORE_TYPE_ZEDEDAS3"
	DatastoreTypeDATASTORETYPEZEDEDAS3 DatastoreType = "DATASTORE_TYPE_ZEDEDAS3"

	// DatastoreTypeDATASTORETYPEZEDEDABLOB captures enum value "DATASTORE_TYPE_ZEDEDABLOB"
	DatastoreTypeDATASTORETYPEZEDEDABLOB DatastoreType = "DATASTORE_TYPE_ZEDEDABLOB"

	// DatastoreTypeDATASTORETYPEFILESTORAGE captures enum value "DATASTORE_TYPE_FILE_STORAGE"
	DatastoreTypeDATASTORETYPEFILESTORAGE DatastoreType = "DATASTORE_TYPE_FILE_STORAGE"
)

func NewDatastoreType ¶

func NewDatastoreType(value DatastoreType) *DatastoreType

func (DatastoreType) ContextValidate ¶

func (m DatastoreType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this datastore type based on context it is used

func (DatastoreType) Pointer ¶

func (m DatastoreType) Pointer() *DatastoreType

Pointer returns a pointer to a freshly-allocated DatastoreType.

func (DatastoreType) Validate ¶

func (m DatastoreType) Validate(formats strfmt.Registry) error

Validate validates this datastore type

type Datastores ¶

type Datastores struct {

	// List of filtered Datastore records
	List []*DatastoreInfo `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Category distribution summary of filtered Datastore records
	SummaryByCategory *Summary `json:"summaryByCategory,omitempty"`

	// Type distribution summary of filtered Datastore records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

Datastores datastores

swagger:model Datastores

func (*Datastores) ContextValidate ¶

func (m *Datastores) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this datastores based on the context it is used

func (*Datastores) MarshalBinary ¶

func (m *Datastores) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Datastores) UnmarshalBinary ¶

func (m *Datastores) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Datastores) Validate ¶

func (m *Datastores) Validate(formats strfmt.Registry) error

Validate validates this datastores

type DebugKnobDetail ¶ added in v1.0.2

type DebugKnobDetail struct {

	// debug knob flag
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry status flag
	Expired bool `json:"expired,omitempty"`

	// debug expiry time in minutes
	Expiry string `json:"expiry,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`
}

DebugKnobDetail Device debug knob configuration

Device debug knob configuration request payload holds the device debug mode properties ¶

swagger:model DebugKnobDetail

func (*DebugKnobDetail) ContextValidate ¶ added in v1.0.2

func (m *DebugKnobDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this debug knob detail based on the context it is used

func (*DebugKnobDetail) MarshalBinary ¶ added in v1.0.2

func (m *DebugKnobDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DebugKnobDetail) UnmarshalBinary ¶ added in v1.0.2

func (m *DebugKnobDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DebugKnobDetail) Validate ¶ added in v1.0.2

func (m *DebugKnobDetail) Validate(formats strfmt.Registry) error

Validate validates this debug knob detail

type DecsriptionCode ¶

type DecsriptionCode string

DecsriptionCode description codes for internal use (Gilas and Niles)

swagger:model DecsriptionCode

const (

	// DecsriptionCodeDESCRIPTIONCODEUNSPECIFIED captures enum value "DESCRIPTION_CODE_UNSPECIFIED"
	DecsriptionCodeDESCRIPTIONCODEUNSPECIFIED DecsriptionCode = "DESCRIPTION_CODE_UNSPECIFIED"

	// DecsriptionCodeDESCRIPTIONCODERECEIVED captures enum value "DESCRIPTION_CODE_RECEIVED"
	DecsriptionCodeDESCRIPTIONCODERECEIVED DecsriptionCode = "DESCRIPTION_CODE_RECEIVED"

	// DecsriptionCodeDESCRIPTIONCODEPACKETCORRUPT captures enum value "DESCRIPTION_CODE_PACKET_CORRUPT"
	DecsriptionCodeDESCRIPTIONCODEPACKETCORRUPT DecsriptionCode = "DESCRIPTION_CODE_PACKET_CORRUPT"

	// DecsriptionCodeDESCRIPTIONCODEFAILEDTORECEIVE captures enum value "DESCRIPTION_CODE_FAILED_TO_RECEIVE"
	DecsriptionCodeDESCRIPTIONCODEFAILEDTORECEIVE DecsriptionCode = "DESCRIPTION_CODE_FAILED_TO_RECEIVE"

	// DecsriptionCodeDESCRIPTIONCODENETWORKERROR captures enum value "DESCRIPTION_CODE_NETWORK_ERROR"
	DecsriptionCodeDESCRIPTIONCODENETWORKERROR DecsriptionCode = "DESCRIPTION_CODE_NETWORK_ERROR"

	// DecsriptionCodeDESCRIPTIONCODENOTFOUND captures enum value "DESCRIPTION_CODE_NOT_FOUND"
	DecsriptionCodeDESCRIPTIONCODENOTFOUND DecsriptionCode = "DESCRIPTION_CODE_NOT_FOUND"

	// DecsriptionCodeDESCRIPTIONCODENOTSUPPORTED captures enum value "DESCRIPTION_CODE_NOT_SUPPORTED"
	DecsriptionCodeDESCRIPTIONCODENOTSUPPORTED DecsriptionCode = "DESCRIPTION_CODE_NOT_SUPPORTED"

	// DecsriptionCodeDESCRIPTIONCODEINTERNALERROR captures enum value "DESCRIPTION_CODE_INTERNAL_ERROR"
	DecsriptionCodeDESCRIPTIONCODEINTERNALERROR DecsriptionCode = "DESCRIPTION_CODE_INTERNAL_ERROR"

	// DecsriptionCodeDESCRIPTIONCODENOTSPECIFIED captures enum value "DESCRIPTION_CODE_NOT_SPECIFIED"
	DecsriptionCodeDESCRIPTIONCODENOTSPECIFIED DecsriptionCode = "DESCRIPTION_CODE_NOT_SPECIFIED"

	// DecsriptionCodeDESCRIPTIONCODEUPLOADDONE captures enum value "DESCRIPTION_CODE_UPLOAD_DONE"
	DecsriptionCodeDESCRIPTIONCODEUPLOADDONE DecsriptionCode = "DESCRIPTION_CODE_UPLOAD_DONE"

	// DecsriptionCodeDESCRIPTIONCODEALREADYEXISTS captures enum value "DESCRIPTION_CODE_ALREADY_EXISTS"
	DecsriptionCodeDESCRIPTIONCODEALREADYEXISTS DecsriptionCode = "DESCRIPTION_CODE_ALREADY_EXISTS"

	// DecsriptionCodeDESCRIPTIONCODEINVALIDPARAMS captures enum value "DESCRIPTION_CODE_INVALID_PARAMS"
	DecsriptionCodeDESCRIPTIONCODEINVALIDPARAMS DecsriptionCode = "DESCRIPTION_CODE_INVALID_PARAMS"
)

func NewDecsriptionCode ¶

func NewDecsriptionCode(value DecsriptionCode) *DecsriptionCode

func (DecsriptionCode) ContextValidate ¶

func (m DecsriptionCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this decsription code based on context it is used

func (DecsriptionCode) Pointer ¶

func (m DecsriptionCode) Pointer() *DecsriptionCode

Pointer returns a pointer to a freshly-allocated DecsriptionCode.

func (DecsriptionCode) Validate ¶

func (m DecsriptionCode) Validate(formats strfmt.Registry) error

Validate validates this decsription code

type Deployment ¶ added in v1.0.2

type Deployment struct {

	// list of app instance policies
	AppInstPolicies []*AppInstPolicy `json:"appInstPolicies"`

	// cluster policy details
	ClusterPolicy *ClusterInstPolicy `json:"clusterPolicy,omitempty"`

	// user defined tag for the deployment, which is used while targeting set of devices
	DeploymentTag string `json:"deploymentTag,omitempty"`

	// list of device policies
	DevicePolicies []*DevicePolicy `json:"devicePolicies"`

	// system generated unique id for an deployment
	ID string `json:"id,omitempty"`

	// integration policy details
	IntegrationPolicy *IntegrationPolicy `json:"integrationPolicy,omitempty"`

	// user defined name for the deployment
	Name string `json:"name,omitempty"`

	// list of network instance policies
	NetworkInstPolicies []*NetworkInstPolicy `json:"networkInstPolicies"`

	// object revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined title for the deployment
	Title string `json:"title,omitempty"`

	// list of volume instamce policies
	VolumeInstPolicies []*VolumeInstPolicy `json:"volumeInstPolicies"`
}

Deployment deployment

swagger:model Deployment

func (*Deployment) ContextValidate ¶ added in v1.0.2

func (m *Deployment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment based on the context it is used

func (*Deployment) MarshalBinary ¶ added in v1.0.2

func (m *Deployment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Deployment) UnmarshalBinary ¶ added in v1.0.2

func (m *Deployment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Deployment) Validate ¶ added in v1.0.2

func (m *Deployment) Validate(formats strfmt.Registry) error

Validate validates this deployment

type DeploymentTagUpdate ¶ added in v1.0.2

type DeploymentTagUpdate struct {

	// deployment tag to be updated on the device
	// Required: true
	// Read Only: true
	DeploymentTag string `json:"deploymentTag"`
}

DeploymentTagUpdate deployment tag required for the devices

deployment tag will be required to target deployment version on the device

swagger:model DeploymentTagUpdate

func (*DeploymentTagUpdate) ContextValidate ¶ added in v1.0.2

func (m *DeploymentTagUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this deployment tag update based on the context it is used

func (*DeploymentTagUpdate) MarshalBinary ¶ added in v1.0.2

func (m *DeploymentTagUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeploymentTagUpdate) UnmarshalBinary ¶ added in v1.0.2

func (m *DeploymentTagUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeploymentTagUpdate) Validate ¶ added in v1.0.2

func (m *DeploymentTagUpdate) Validate(formats strfmt.Registry) error

Validate validates this deployment tag update

type DeploymentType ¶

type DeploymentType string

DeploymentType deployment type

swagger:model DeploymentType

const (

	// DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED captures enum value "DEPLOYMENT_TYPE_UNSPECIFIED"
	DeploymentTypeDEPLOYMENTTYPEUNSPECIFIED DeploymentType = "DEPLOYMENT_TYPE_UNSPECIFIED"

	// DeploymentTypeDEPLOYMENTTYPESTANDALONE captures enum value "DEPLOYMENT_TYPE_STAND_ALONE"
	DeploymentTypeDEPLOYMENTTYPESTANDALONE DeploymentType = "DEPLOYMENT_TYPE_STAND_ALONE"

	// DeploymentTypeDEPLOYMENTTYPEAZURE captures enum value "DEPLOYMENT_TYPE_AZURE"
	DeploymentTypeDEPLOYMENTTYPEAZURE DeploymentType = "DEPLOYMENT_TYPE_AZURE"

	// DeploymentTypeDEPLOYMENTTYPEK3S captures enum value "DEPLOYMENT_TYPE_K3S"
	DeploymentTypeDEPLOYMENTTYPEK3S DeploymentType = "DEPLOYMENT_TYPE_K3S"

	// DeploymentTypeDEPLOYMENTTYPEAWS captures enum value "DEPLOYMENT_TYPE_AWS"
	DeploymentTypeDEPLOYMENTTYPEAWS DeploymentType = "DEPLOYMENT_TYPE_AWS"

	// DeploymentTypeDEPLOYMENTTYPEK3SAZURE captures enum value "DEPLOYMENT_TYPE_K3S_AZURE"
	DeploymentTypeDEPLOYMENTTYPEK3SAZURE DeploymentType = "DEPLOYMENT_TYPE_K3S_AZURE"

	// DeploymentTypeDEPLOYMENTTYPEK3SAWS captures enum value "DEPLOYMENT_TYPE_K3S_AWS"
	DeploymentTypeDEPLOYMENTTYPEK3SAWS DeploymentType = "DEPLOYMENT_TYPE_K3S_AWS"

	// DeploymentTypeDEPLOYMENTTYPEVMWAREVCE captures enum value "DEPLOYMENT_TYPE_VMWARE_VCE"
	DeploymentTypeDEPLOYMENTTYPEVMWAREVCE DeploymentType = "DEPLOYMENT_TYPE_VMWARE_VCE"
)

func NewDeploymentType ¶

func NewDeploymentType(value DeploymentType) *DeploymentType

func (DeploymentType) ContextValidate ¶

func (m DeploymentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this deployment type based on context it is used

func (DeploymentType) Pointer ¶

func (m DeploymentType) Pointer() *DeploymentType

Pointer returns a pointer to a freshly-allocated DeploymentType.

func (DeploymentType) Validate ¶

func (m DeploymentType) Validate(formats strfmt.Registry) error

Validate validates this deployment type

type Description ¶

type Description struct {

	// description code for an operation
	// Read Only: true
	DescCode *DecsriptionCode `json:"descCode,omitempty"`

	// description of an operation
	// Read Only: true
	DescMessage string `json:"descMessage,omitempty"`
}

Description Description encapsulates the top level Description of the operation

Description encapsulates the top level Description of the operation ¶

swagger:model Description

func (*Description) ContextValidate ¶

func (m *Description) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this description based on the context it is used

func (*Description) MarshalBinary ¶

func (m *Description) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Description) UnmarshalBinary ¶

func (m *Description) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Description) Validate ¶

func (m *Description) Validate(formats strfmt.Registry) error

Validate validates this description

type DetailedUser ¶

type DetailedUser struct {

	// hubspot Id
	HubspotID string `json:"HubspotId,omitempty"`

	// Operational Status to be returned to CLI/UI
	//
	// Last login time of the user
	// Format: date-time
	LastLoginTime strfmt.DateTime `json:"LastLoginTime,omitempty"`

	// Last logout time of the user
	// Format: date-time
	LastLogoutTime strfmt.DateTime `json:"LastLogoutTime,omitempty"`

	// sfdc Id
	SfdcID string `json:"SfdcId,omitempty"`

	// Permitted list of enterprises with their associated roles
	AllowedEnterprises []*AllowedEnterprise `json:"allowedEnterprises"`

	// Custom user parameters
	CustomUserInput map[string]string `json:"customUserInput,omitempty"`

	// Email of the user
	// Required: true
	Email *string `json:"email"`

	// Email state
	// Read Only: true
	EmailState *IDState `json:"emailState,omitempty"`

	// Origin enterprise of the user
	// Read Only: true
	EnterpriseID string `json:"enterpriseId,omitempty"`

	// First name of the user
	FirstName string `json:"firstName,omitempty"`

	// Full name of the user
	FullName string `json:"fullName,omitempty"`

	// Unique system defined user ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// Locale of the user
	Locale string `json:"locale,omitempty"`

	// Notification preference of the user
	NotifyPref string `json:"notifyPref,omitempty"`

	// Phone number of the user
	Phone string `json:"phone,omitempty"`

	// Phone state
	// Read Only: true
	PhoneState *IDState `json:"phoneState,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Role associated with the user
	// Required: true
	// Pattern: [0-9A-Za-z_=-]{28}
	RoleID *string `json:"roleId"`

	// User state
	// Read Only: true
	State *UserState `json:"state,omitempty"`

	// Preferred time zone of the user
	TimeZone string `json:"timeZone,omitempty"`

	// Type of the user
	Type *AuthType `json:"type,omitempty"`

	// User defined name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Username *string `json:"username"`
}

DetailedUser User detail

User meta data Example: {"HubspotId":"","LastLoginTime":"2020-07-17T06:02:36Z","LastLogoutTime":"1970-01-01T00:00:01Z","SfdcId":"","customUserInput":{},"email":"us.root@zededa.com","emailState":"ID_STATE_VERIFIED","firstName":"ROOT","fullName":"ZEDEDA root user","id":"AAF1ABCtMaCnVHZN_b9cm2yUEkgp","locale":"EN","notifyPref":"email","phone":"","phoneState":"ID_STATE_UNSPECIFIED","revision":{"createdAt":"2020-07-16T18:19:56Z","createdBy":"SYSTEM_ROOT","curr":"3","prev":"","updatedAt":"1970-01-01T00:00:01Z","updatedBy":"SYSTEM_ROOT"},"roleName":"SysRoot","state":"USER_STATE_ACTIVE","timeZone":"","type":"AUTH_TYPE_UNSPECIFIED","username":"test@zededa.com"}

swagger:model DetailedUser

func (*DetailedUser) ContextValidate ¶

func (m *DetailedUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this detailed user based on the context it is used

func (*DetailedUser) MarshalBinary ¶

func (m *DetailedUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetailedUser) UnmarshalBinary ¶

func (m *DetailedUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetailedUser) Validate ¶

func (m *DetailedUser) Validate(formats strfmt.Registry) error

Validate validates this detailed user

type DetailedUsers ¶

type DetailedUsers struct {

	// List of users
	List []*DetailedUser `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// User distribution by role
	SummaryByRoleDistribution *Summary `json:"summaryByRoleDistribution,omitempty"`

	// Summary of filtered users
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Count of online/offline users
	SummaryByUserActivity *Summary `json:"summaryByUserActivity,omitempty"`
}

DetailedUsers detailed users

swagger:model DetailedUsers

func (*DetailedUsers) ContextValidate ¶

func (m *DetailedUsers) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this detailed users based on the context it is used

func (*DetailedUsers) MarshalBinary ¶

func (m *DetailedUsers) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetailedUsers) UnmarshalBinary ¶

func (m *DetailedUsers) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetailedUsers) Validate ¶

func (m *DetailedUsers) Validate(formats strfmt.Registry) error

Validate validates this detailed users

type Details ¶

type Details struct {

	// Developer Agreements
	//
	// UI map: AppEditPage:DeveloperPane:Developer_Agreement_Field, AppDetailsPage:DeveloperPane:Developer_Agreement_Field
	AgreementList map[string]string `json:"agreementList,omitempty"`

	// Edge application category
	// Required: true
	AppCategory *AppCategory `json:"appCategory"`

	// Type of the Edge application
	//
	// UI map: AppMarketplacePage:AppCard:DescriptionField, AppEditPage:IdentityPane:CategoryField, AppDetailsPage:IdentityPane:CategoryField
	Category *string `json:"category,omitempty"`

	// App Licenses
	//
	// UI map: AppMarketplacePage:AppCard:License, AppEditPage:IdentityPane:License, AppDetailsPage:IdentityPane:License
	LicenseList map[string]string `json:"licenseList,omitempty"`

	//
	// UI map: AppEditPage:IdentityPane:Logo, AppDetailsPage:IdentityPane:Logo
	Logo map[string]string `json:"logo,omitempty"`

	// Edge application's Operating System
	Os string `json:"os,omitempty"`

	// App Screenshots
	//
	// UI map: AppEditPage:IdentityPane:Screenshot_Fields, AppDetailsPage:IdentityPane:Screenshot_Fields
	ScreenshotList map[string]string `json:"screenshotList,omitempty"`

	// Support Description
	//
	// UI map: AppEditPage:DeveloperPane:Support_Description_Field, AppDetailsPage:DeveloperPane:Support_Description_Field
	Support string `json:"support,omitempty"`
}

Details Edge Application detail

Edge Application Artifact Details Example: {"appCategory":"APP_CATEGORY_CLOUD_APPLICATION","os":"Linux"}

swagger:model Details

func (*Details) ContextValidate ¶

func (m *Details) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this details based on the context it is used

func (*Details) MarshalBinary ¶

func (m *Details) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Details) UnmarshalBinary ¶

func (m *Details) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Details) Validate ¶

func (m *Details) Validate(formats strfmt.Registry) error

Validate validates this details

type DevAccessPolicy ¶ added in v1.0.2

type DevAccessPolicy struct {

	// device side of edge-view access is allowed or not
	AllowDev bool `json:"allowDev,omitempty"`
}

DevAccessPolicy dev access policy

swagger:model DevAccessPolicy

func (*DevAccessPolicy) ContextValidate ¶ added in v1.0.2

func (m *DevAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dev access policy based on context it is used

func (*DevAccessPolicy) MarshalBinary ¶ added in v1.0.2

func (m *DevAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevAccessPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *DevAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevAccessPolicy) Validate ¶ added in v1.0.2

func (m *DevAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this dev access policy

type DevDataSecAtRest ¶

type DevDataSecAtRest struct {

	// err info
	ErrInfo *DeviceError `json:"errInfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// status
	Status *DeviceDataSecurityAtRestStatus `json:"status,omitempty"`
}

DevDataSecAtRest dev data sec at rest

swagger:model DevDataSecAtRest

func (*DevDataSecAtRest) ContextValidate ¶

func (m *DevDataSecAtRest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dev data sec at rest based on the context it is used

func (*DevDataSecAtRest) MarshalBinary ¶

func (m *DevDataSecAtRest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevDataSecAtRest) UnmarshalBinary ¶

func (m *DevDataSecAtRest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevDataSecAtRest) Validate ¶

func (m *DevDataSecAtRest) Validate(formats strfmt.Registry) error

Validate validates this dev data sec at rest

type DevZedServer ¶

type DevZedServer struct {

	// EID
	// Required: true
	EID []string `json:"EID"`

	// Hostname for dev zed server
	// Required: true
	HostName *string `json:"hostName"`
}

DevZedServer DevZedServer payload detail

DevZedServer request paylod ¶

swagger:model DevZedServer

func (*DevZedServer) ContextValidate ¶

func (m *DevZedServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dev zed server based on context it is used

func (*DevZedServer) MarshalBinary ¶

func (m *DevZedServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevZedServer) UnmarshalBinary ¶

func (m *DevZedServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevZedServer) Validate ¶

func (m *DevZedServer) Validate(formats strfmt.Registry) error

Validate validates this dev zed server

type DeviceAttestPolicyType ¶ added in v1.0.2

type DeviceAttestPolicyType string

DeviceAttestPolicyType - DEVICE_ATTEST_POLICY_TYPE_ACCEPT: Do not enforce attestation. All devices are marked as successfully attested.

  • DEVICE_ATTEST_POLICY_TYPE_ENFORCE: Enforce attestation. Devices failing attestation are marked accordingly.

swagger:model DeviceAttestPolicyType

const (

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEUNSPECIFIED DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_UNSPECIFIED"

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT captures enum value "DEVICE_ATTEST_POLICY_TYPE_ACCEPT"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEACCEPT DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ACCEPT"

	// DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE captures enum value "DEVICE_ATTEST_POLICY_TYPE_ENFORCE"
	DeviceAttestPolicyTypeDEVICEATTESTPOLICYTYPEENFORCE DeviceAttestPolicyType = "DEVICE_ATTEST_POLICY_TYPE_ENFORCE"
)

func NewDeviceAttestPolicyType ¶ added in v1.0.2

func NewDeviceAttestPolicyType(value DeviceAttestPolicyType) *DeviceAttestPolicyType

func (DeviceAttestPolicyType) ContextValidate ¶ added in v1.0.2

func (m DeviceAttestPolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device attest policy type based on context it is used

func (DeviceAttestPolicyType) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated DeviceAttestPolicyType.

func (DeviceAttestPolicyType) Validate ¶ added in v1.0.2

func (m DeviceAttestPolicyType) Validate(formats strfmt.Registry) error

Validate validates this device attest policy type

type DeviceAttestationPolicy ¶ added in v1.0.2

type DeviceAttestationPolicy struct {

	// Attestation policy type
	// Required: true
	Type *DeviceAttestPolicyType `json:"type"`
}

DeviceAttestationPolicy Attestation policy body detail

Attestation policy to enforce on devices of a project ¶

swagger:model DeviceAttestationPolicy

func (*DeviceAttestationPolicy) ContextValidate ¶ added in v1.0.2

func (m *DeviceAttestationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device attestation policy based on the context it is used

func (*DeviceAttestationPolicy) MarshalBinary ¶ added in v1.0.2

func (m *DeviceAttestationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceAttestationPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceAttestationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceAttestationPolicy) Validate ¶ added in v1.0.2

func (m *DeviceAttestationPolicy) Validate(formats strfmt.Registry) error

Validate validates this device attestation policy

type DeviceBootReason ¶

type DeviceBootReason string

DeviceBootReason device boot reason

swagger:model DeviceBootReason

const (

	// DeviceBootReasonDEVICEBOOTREASONUNSPECIFIED captures enum value "DEVICE_BOOT_REASON_UNSPECIFIED"
	DeviceBootReasonDEVICEBOOTREASONUNSPECIFIED DeviceBootReason = "DEVICE_BOOT_REASON_UNSPECIFIED"

	// DeviceBootReasonDEVICEBOOTREASONFIRST captures enum value "DEVICE_BOOT_REASON_FIRST"
	DeviceBootReasonDEVICEBOOTREASONFIRST DeviceBootReason = "DEVICE_BOOT_REASON_FIRST"

	// DeviceBootReasonDEVICEBOOTREASONREBOOTCMD captures enum value "DEVICE_BOOT_REASON_REBOOT_CMD"
	DeviceBootReasonDEVICEBOOTREASONREBOOTCMD DeviceBootReason = "DEVICE_BOOT_REASON_REBOOT_CMD"

	// DeviceBootReasonDEVICEBOOTREASONUPDATE captures enum value "DEVICE_BOOT_REASON_UPDATE"
	DeviceBootReasonDEVICEBOOTREASONUPDATE DeviceBootReason = "DEVICE_BOOT_REASON_UPDATE"

	// DeviceBootReasonDEVICEBOOTREASONFALLBACK captures enum value "DEVICE_BOOT_REASON_FALLBACK"
	DeviceBootReasonDEVICEBOOTREASONFALLBACK DeviceBootReason = "DEVICE_BOOT_REASON_FALLBACK"

	// DeviceBootReasonDEVICEBOOTREASONDISCONNECT captures enum value "DEVICE_BOOT_REASON_DISCONNECT"
	DeviceBootReasonDEVICEBOOTREASONDISCONNECT DeviceBootReason = "DEVICE_BOOT_REASON_DISCONNECT"

	// DeviceBootReasonDEVICEBOOTREASONFATAL captures enum value "DEVICE_BOOT_REASON_FATAL"
	DeviceBootReasonDEVICEBOOTREASONFATAL DeviceBootReason = "DEVICE_BOOT_REASON_FATAL"

	// DeviceBootReasonDEVICEBOOTREASONOOM captures enum value "DEVICE_BOOT_REASON_OOM"
	DeviceBootReasonDEVICEBOOTREASONOOM DeviceBootReason = "DEVICE_BOOT_REASON_OOM"

	// DeviceBootReasonDEVICEBOOTREASONWATCHDOGHUNG captures enum value "DEVICE_BOOT_REASON_WATCHDOG_HUNG"
	DeviceBootReasonDEVICEBOOTREASONWATCHDOGHUNG DeviceBootReason = "DEVICE_BOOT_REASON_WATCHDOG_HUNG"

	// DeviceBootReasonDEVICEBOOTREASONWATCHDOGPID captures enum value "DEVICE_BOOT_REASON_WATCHDOG_PID"
	DeviceBootReasonDEVICEBOOTREASONWATCHDOGPID DeviceBootReason = "DEVICE_BOOT_REASON_WATCHDOG_PID"

	// DeviceBootReasonDEVICEBOOTREASONKERNEL captures enum value "DEVICE_BOOT_REASON_KERNEL"
	DeviceBootReasonDEVICEBOOTREASONKERNEL DeviceBootReason = "DEVICE_BOOT_REASON_KERNEL"

	// DeviceBootReasonDEVICEBOOTREASONPOWERFAIL captures enum value "DEVICE_BOOT_REASON_POWER_FAIL"
	DeviceBootReasonDEVICEBOOTREASONPOWERFAIL DeviceBootReason = "DEVICE_BOOT_REASON_POWER_FAIL"

	// DeviceBootReasonDEVICEBOOTREASONUNKNOWN captures enum value "DEVICE_BOOT_REASON_UNKNOWN"
	DeviceBootReasonDEVICEBOOTREASONUNKNOWN DeviceBootReason = "DEVICE_BOOT_REASON_UNKNOWN"

	// DeviceBootReasonDEVICEBOOTREASONPARSEFAIL captures enum value "DEVICE_BOOT_REASON_PARSE_FAIL"
	DeviceBootReasonDEVICEBOOTREASONPARSEFAIL DeviceBootReason = "DEVICE_BOOT_REASON_PARSE_FAIL"
)

func NewDeviceBootReason ¶

func NewDeviceBootReason(value DeviceBootReason) *DeviceBootReason

func (DeviceBootReason) ContextValidate ¶

func (m DeviceBootReason) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device boot reason based on context it is used

func (DeviceBootReason) Pointer ¶

func (m DeviceBootReason) Pointer() *DeviceBootReason

Pointer returns a pointer to a freshly-allocated DeviceBootReason.

func (DeviceBootReason) Validate ¶

func (m DeviceBootReason) Validate(formats strfmt.Registry) error

Validate validates this device boot reason

type DeviceCerts ¶

type DeviceCerts struct {

	// pem certificate
	// Format: byte
	PemCert strfmt.Base64 `json:"pemCert,omitempty"`

	// pem key
	// Format: byte
	PemKey strfmt.Base64 `json:"pemKey,omitempty"`
}

DeviceCerts DeviceCerts payload detail

Device certificates payload ¶

swagger:model DeviceCerts

func (*DeviceCerts) ContextValidate ¶

func (m *DeviceCerts) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device certs based on context it is used

func (*DeviceCerts) MarshalBinary ¶

func (m *DeviceCerts) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceCerts) UnmarshalBinary ¶

func (m *DeviceCerts) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceCerts) Validate ¶

func (m *DeviceCerts) Validate(formats strfmt.Registry) error

Validate validates this device certs

type DeviceCmdsSubType ¶

type DeviceCmdsSubType string

DeviceCmdsSubType - DeviceNoOp: Device Operation: No Operation

  • DeviceStart: Device Operation: Start
  • DeviceStop: Device Operation: Stop
  • DeviceReboot: Device Operation: Reboot: Power cycle the device
  • DeviceShutdown: Device Operation: Shutdown- Power off the device
  • DeviceUpdateOS: Device Operation: Update OS- deprecated
  • DeviceApplyOS: Device Operation: Apply OS- Change Boot order of installed images
  • DeviceReset: Device Operation: Reset- Config reset to factory default
  • DeviceAddOS: Device Operation: Add OS- Install new image but don't change boot order
  • DeviceDropOS: Device Operation: Drop OS- Remove uninstalled image but don't change boot order
  • DeviceOffboard: Device Operation Type: offboard the device
  • DeviceActivate: Device Activate
  • DeviceDeActivate: Device Deactivate
  • DeviceBaseosRetry: Device Operation: Retry OS
  • DeviceStartDebugMode: Device Operation: Run device in debug mode.
  • DeviceStopDebugMode: Device Operation: Stop device in debug mode.
  • PreparePowerOff: Device Operation: Gracefully shutdown all apps and prepare for power down.
  • DeviceStartEdgeviewMode: Device Operation: Run device in edgeview mode.
  • DeviceStopEdgeviewMode: Device Operation: Stop device in edgeview mode.
  • DeviceEdgeviewClientScript: Device Operation: get Edgeview client script if activated.

swagger:model DeviceCmdsSubType

const (

	// DeviceCmdsSubTypeDeviceNoOp captures enum value "DeviceNoOp"
	DeviceCmdsSubTypeDeviceNoOp DeviceCmdsSubType = "DeviceNoOp"

	// DeviceCmdsSubTypeDeviceStart captures enum value "DeviceStart"
	DeviceCmdsSubTypeDeviceStart DeviceCmdsSubType = "DeviceStart"

	// DeviceCmdsSubTypeDeviceStop captures enum value "DeviceStop"
	DeviceCmdsSubTypeDeviceStop DeviceCmdsSubType = "DeviceStop"

	// DeviceCmdsSubTypeDeviceReboot captures enum value "DeviceReboot"
	DeviceCmdsSubTypeDeviceReboot DeviceCmdsSubType = "DeviceReboot"

	// DeviceCmdsSubTypeDeviceShutdown captures enum value "DeviceShutdown"
	DeviceCmdsSubTypeDeviceShutdown DeviceCmdsSubType = "DeviceShutdown"

	// DeviceCmdsSubTypeDeviceUpdateOS captures enum value "DeviceUpdateOS"
	DeviceCmdsSubTypeDeviceUpdateOS DeviceCmdsSubType = "DeviceUpdateOS"

	// DeviceCmdsSubTypeDeviceApplyOS captures enum value "DeviceApplyOS"
	DeviceCmdsSubTypeDeviceApplyOS DeviceCmdsSubType = "DeviceApplyOS"

	// DeviceCmdsSubTypeDeviceReset captures enum value "DeviceReset"
	DeviceCmdsSubTypeDeviceReset DeviceCmdsSubType = "DeviceReset"

	// DeviceCmdsSubTypeDeviceAddOS captures enum value "DeviceAddOS"
	DeviceCmdsSubTypeDeviceAddOS DeviceCmdsSubType = "DeviceAddOS"

	// DeviceCmdsSubTypeDeviceDropOS captures enum value "DeviceDropOS"
	DeviceCmdsSubTypeDeviceDropOS DeviceCmdsSubType = "DeviceDropOS"

	// DeviceCmdsSubTypeDeviceOffboard captures enum value "DeviceOffboard"
	DeviceCmdsSubTypeDeviceOffboard DeviceCmdsSubType = "DeviceOffboard"

	// DeviceCmdsSubTypeDeviceActivate captures enum value "DeviceActivate"
	DeviceCmdsSubTypeDeviceActivate DeviceCmdsSubType = "DeviceActivate"

	// DeviceCmdsSubTypeDeviceDeActivate captures enum value "DeviceDeActivate"
	DeviceCmdsSubTypeDeviceDeActivate DeviceCmdsSubType = "DeviceDeActivate"

	// DeviceCmdsSubTypeDeviceBaseosRetry captures enum value "DeviceBaseosRetry"
	DeviceCmdsSubTypeDeviceBaseosRetry DeviceCmdsSubType = "DeviceBaseosRetry"

	// DeviceCmdsSubTypeDeviceStartDebugMode captures enum value "DeviceStartDebugMode"
	DeviceCmdsSubTypeDeviceStartDebugMode DeviceCmdsSubType = "DeviceStartDebugMode"

	// DeviceCmdsSubTypeDeviceStopDebugMode captures enum value "DeviceStopDebugMode"
	DeviceCmdsSubTypeDeviceStopDebugMode DeviceCmdsSubType = "DeviceStopDebugMode"

	// DeviceCmdsSubTypePreparePowerOff captures enum value "PreparePowerOff"
	DeviceCmdsSubTypePreparePowerOff DeviceCmdsSubType = "PreparePowerOff"

	// DeviceCmdsSubTypeDeviceStartEdgeviewMode captures enum value "DeviceStartEdgeviewMode"
	DeviceCmdsSubTypeDeviceStartEdgeviewMode DeviceCmdsSubType = "DeviceStartEdgeviewMode"

	// DeviceCmdsSubTypeDeviceStopEdgeviewMode captures enum value "DeviceStopEdgeviewMode"
	DeviceCmdsSubTypeDeviceStopEdgeviewMode DeviceCmdsSubType = "DeviceStopEdgeviewMode"

	// DeviceCmdsSubTypeDeviceEdgeviewClientScript captures enum value "DeviceEdgeviewClientScript"
	DeviceCmdsSubTypeDeviceEdgeviewClientScript DeviceCmdsSubType = "DeviceEdgeviewClientScript"
)

func NewDeviceCmdsSubType ¶

func NewDeviceCmdsSubType(value DeviceCmdsSubType) *DeviceCmdsSubType

func (DeviceCmdsSubType) ContextValidate ¶

func (m DeviceCmdsSubType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device cmds sub type based on context it is used

func (DeviceCmdsSubType) Pointer ¶

func (m DeviceCmdsSubType) Pointer() *DeviceCmdsSubType

Pointer returns a pointer to a freshly-allocated DeviceCmdsSubType.

func (DeviceCmdsSubType) Validate ¶

func (m DeviceCmdsSubType) Validate(formats strfmt.Registry) error

Validate validates this device cmds sub type

type DeviceConfig ¶

type DeviceConfig struct {

	// administrative state of device
	AdminState *AdminState `json:"adminState,omitempty"`

	// Device asset ID
	AssetID string `json:"assetId,omitempty"`

	// base images
	BaseImage []*BaseOSImage `json:"baseImage"`

	// device baseos retry counter
	BaseOsRetryCounter int64 `json:"baseOsRetryCounter,omitempty"`

	// device baseos retry time
	BaseOsRetryTime string `json:"baseOsRetryTime,omitempty"`

	// Client IP
	ClientIP string `json:"clientIp,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// ED configurations
	ConfigItem []*EDConfigItem `json:"configItem"`

	// CPU (configured values)
	CPU int64 `json:"cpu,omitempty"`

	// debug knob details for the device
	DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"`

	// default network instance details
	DefaultNetInst *NetInstConfig `json:"defaultNetInst,omitempty"`

	// deprecated field
	Deprecated string `json:"deprecated,omitempty"`

	// user specified description
	Description string `json:"description,omitempty"`

	// User specified geo location
	DevLocation *GeoLocation `json:"devLocation,omitempty"`

	// device Lisp
	Dlisp *DeviceLisp `json:"dlisp,omitempty"`

	// edgeview configuration for device
	Edgeviewconfig *EdgeviewCfg `json:"edgeviewconfig,omitempty"`

	// indicates whether a soft serial should be generated; it will work ONLY when device is created
	GenerateSoftSerial bool `json:"generateSoftSerial,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Device identity
	// Format: byte
	Identity strfmt.Base64 `json:"identity,omitempty"`

	// System Interface list
	Interfaces []*SysInterface `json:"interfaces"`

	// Device location: deprecated
	Location string `json:"location,omitempty"`

	// Device memory in MBs
	Memory int64 `json:"memory,omitempty"`

	// device model
	// Required: true
	ModelID *string `json:"modelId"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// Object key
	Obkey string `json:"obkey,omitempty"`

	// Device level certificates used while onboarding
	Onboarding *DeviceCerts `json:"onboarding,omitempty"`

	// prepare poweroff counter
	PreparePowerOffCounter int64 `json:"preparePowerOffCounter,omitempty"`

	// prepare poweroff time
	PreparePowerOffTime string `json:"preparePowerOffTime,omitempty"`

	// project name
	// Required: true
	ProjectID *string `json:"projectId"`

	// devicereset counter
	ResetCounter int64 `json:"resetCounter,omitempty"`

	// device reset time
	ResetTime string `json:"resetTime,omitempty"`

	// Object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Device serial number
	Serialno string `json:"serialno,omitempty"`

	// Site captured pictures
	SitePictures []string `json:"sitePictures"`

	// Device storage in GBs
	Storage int64 `json:"storage,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// Threads
	Thread int64 `json:"thread,omitempty"`

	// user specified title
	// Required: true
	Title *string `json:"title"`

	// Single use token
	Token string `json:"token,omitempty"`

	// device model arch type
	Utype *ModelArchType `json:"utype,omitempty"`
}

DeviceConfig Device Configuration payload detail

Device Configuration request paylod holds the device properties ¶

swagger:model DeviceConfig

func (*DeviceConfig) ContextValidate ¶

func (m *DeviceConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device config based on the context it is used

func (*DeviceConfig) MarshalBinary ¶

func (m *DeviceConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceConfig) UnmarshalBinary ¶

func (m *DeviceConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceConfig) Validate ¶

func (m *DeviceConfig) Validate(formats strfmt.Registry) error

Validate validates this device config

type DeviceConfigList ¶

type DeviceConfigList struct {

	// device config list
	// Required: true
	List []*DeviceConfigSummary `json:"list"`

	// filter next
	// Required: true
	Next *Cursor `json:"next"`

	// Summary by state
	// Required: true
	SummaryByState *Summary `json:"summaryByState"`

	// Summary by project distribution
	SummaryByTagDistribution *Summary `json:"summaryByTagDistribution,omitempty"`
}

DeviceConfigList Device configuration payload detail

Device configuration request paylod ¶

swagger:model DeviceConfigList

func (*DeviceConfigList) ContextValidate ¶

func (m *DeviceConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device config list based on the context it is used

func (*DeviceConfigList) MarshalBinary ¶

func (m *DeviceConfigList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceConfigList) UnmarshalBinary ¶

func (m *DeviceConfigList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceConfigList) Validate ¶

func (m *DeviceConfigList) Validate(formats strfmt.Registry) error

Validate validates this device config list

type DeviceConfigSummary ¶

type DeviceConfigSummary struct {

	// administrative state of device
	AdminState *AdminState `json:"adminState,omitempty"`

	// base images
	BaseImage []*BaseOSImage `json:"baseImage"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// debug knob details for the device
	DebugKnob *DebugKnobDetail `json:"debugKnob,omitempty"`

	// user specified description
	Description string `json:"description,omitempty"`

	// system generated unique id for a device
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// System Interface list
	Interfaces []*SysInterface `json:"interfaces"`

	// device model
	// Required: true
	ModelID *string `json:"modelId"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// project name
	// Required: true
	ProjectID *string `json:"projectId"`

	// Device serial number
	Serialno string `json:"serialno,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// user specified title
	// Required: true
	Title *string `json:"title"`

	// device model arch type
	Utype *ModelArchType `json:"utype,omitempty"`
}

DeviceConfigSummary Device Configuration payload summary

Device Configuration request paylod holds the device properties ¶

swagger:model DeviceConfigSummary

func (*DeviceConfigSummary) ContextValidate ¶

func (m *DeviceConfigSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device config summary based on the context it is used

func (*DeviceConfigSummary) MarshalBinary ¶

func (m *DeviceConfigSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceConfigSummary) UnmarshalBinary ¶

func (m *DeviceConfigSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceConfigSummary) Validate ¶

func (m *DeviceConfigSummary) Validate(formats strfmt.Registry) error

Validate validates this device config summary

type DeviceDataSecurityAtRestStatus ¶

type DeviceDataSecurityAtRestStatus string

DeviceDataSecurityAtRestStatus device data security at rest status

swagger:model DeviceDataSecurityAtRestStatus

const (

	// DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTUNKNOWN captures enum value "DEVICE_DATA_SECURITY_AT_REST_UNKNOWN"
	DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTUNKNOWN DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_UNKNOWN"

	// DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTDISABLED captures enum value "DEVICE_DATA_SECURITY_AT_REST_DISABLED"
	DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTDISABLED DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_DISABLED"

	// DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTENABLED captures enum value "DEVICE_DATA_SECURITY_AT_REST_ENABLED"
	DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTENABLED DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_ENABLED"

	// DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTERROR captures enum value "DEVICE_DATA_SECURITY_AT_REST_ERROR"
	DeviceDataSecurityAtRestStatusDEVICEDATASECURITYATRESTERROR DeviceDataSecurityAtRestStatus = "DEVICE_DATA_SECURITY_AT_REST_ERROR"
)

func (DeviceDataSecurityAtRestStatus) ContextValidate ¶

func (m DeviceDataSecurityAtRestStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device data security at rest status based on context it is used

func (DeviceDataSecurityAtRestStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated DeviceDataSecurityAtRestStatus.

func (DeviceDataSecurityAtRestStatus) Validate ¶

Validate validates this device data security at rest status

type DeviceDistribution ¶ added in v1.0.2

type DeviceDistribution struct {

	// device count
	DeviceCount int64 `json:"deviceCount,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`
}

DeviceDistribution device distribution

swagger:model DeviceDistribution

func (*DeviceDistribution) ContextValidate ¶ added in v1.0.2

func (m *DeviceDistribution) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device distribution based on context it is used

func (*DeviceDistribution) MarshalBinary ¶ added in v1.0.2

func (m *DeviceDistribution) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceDistribution) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceDistribution) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceDistribution) Validate ¶ added in v1.0.2

func (m *DeviceDistribution) Validate(formats strfmt.Registry) error

Validate validates this device distribution

type DeviceEntitlement ¶ added in v1.0.2

type DeviceEntitlement struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// size
	Size *DeviceSize `json:"size,omitempty"`

	// usage
	Usage int64 `json:"usage,omitempty"`
}

DeviceEntitlement device entitlement

swagger:model DeviceEntitlement

func (*DeviceEntitlement) ContextValidate ¶ added in v1.0.2

func (m *DeviceEntitlement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device entitlement based on the context it is used

func (*DeviceEntitlement) MarshalBinary ¶ added in v1.0.2

func (m *DeviceEntitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceEntitlement) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceEntitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceEntitlement) Validate ¶ added in v1.0.2

func (m *DeviceEntitlement) Validate(formats strfmt.Registry) error

Validate validates this device entitlement

type DeviceEntity ¶

type DeviceEntity struct {

	// entity
	Entity *Entity `json:"entity,omitempty"`

	// entity Id
	EntityID string `json:"entityId,omitempty"`

	// entity name
	EntityName string `json:"entityName,omitempty"`
}

DeviceEntity device entity

swagger:model DeviceEntity

func (*DeviceEntity) ContextValidate ¶

func (m *DeviceEntity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device entity based on the context it is used

func (*DeviceEntity) MarshalBinary ¶

func (m *DeviceEntity) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceEntity) UnmarshalBinary ¶

func (m *DeviceEntity) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceEntity) Validate ¶

func (m *DeviceEntity) Validate(formats strfmt.Registry) error

Validate validates this device entity

type DeviceError ¶

type DeviceError struct {

	// Description of the error
	// Required: true
	Description *string `json:"description"`

	// objects referenced by the description or retry_condition
	// Required: true
	Entities []*DeviceEntity `json:"entities"`

	// condition for retry
	RetryCondition string `json:"retryCondition,omitempty"`

	// Severity of the error
	// Required: true
	Severity *Severity `json:"severity"`

	// Timestamp at which error had occurred
	// Required: true
	Timestamp interface{} `json:"timestamp"`
}

DeviceError DeviceError is used to store the error details of the hardware.

DeviceError store the error occurred at the device side ¶

swagger:model DeviceError

func (*DeviceError) ContextValidate ¶

func (m *DeviceError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device error based on the context it is used

func (*DeviceError) MarshalBinary ¶

func (m *DeviceError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceError) UnmarshalBinary ¶

func (m *DeviceError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceError) Validate ¶

func (m *DeviceError) Validate(formats strfmt.Registry) error

Validate validates this device error

type DeviceFilter ¶

type DeviceFilter struct {

	// admin state of the device
	AdminState *AdminState `json:"adminState,omitempty"`

	// name pattern
	// Required: true
	NamePattern *string `json:"namePattern"`

	// project
	// Required: true
	Project *string `json:"project"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

DeviceFilter DeviceFilter payload detail

DeviceFilter request paylod ¶

swagger:model DeviceFilter

func (*DeviceFilter) ContextValidate ¶

func (m *DeviceFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device filter based on the context it is used

func (*DeviceFilter) MarshalBinary ¶

func (m *DeviceFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceFilter) UnmarshalBinary ¶

func (m *DeviceFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceFilter) Validate ¶

func (m *DeviceFilter) Validate(formats strfmt.Registry) error

Validate validates this device filter

type DeviceHWSecurityModuleStatus ¶

type DeviceHWSecurityModuleStatus string

DeviceHWSecurityModuleStatus device h w security module status

swagger:model DeviceHWSecurityModuleStatus

const (

	// DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSUNSPECIFIED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_UNSPECIFIED"
	DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSUNSPECIFIED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_UNSPECIFIED"

	// DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSNOTFOUND captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_NOT_FOUND"
	DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSNOTFOUND DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_NOT_FOUND"

	// DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSDISABLED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_DISABLED"
	DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSDISABLED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_DISABLED"

	// DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSENABLED captures enum value "DEVICE_HW_SECURITY_MODULE_STATUS_ENABLED"
	DeviceHWSecurityModuleStatusDEVICEHWSECURITYMODULESTATUSENABLED DeviceHWSecurityModuleStatus = "DEVICE_HW_SECURITY_MODULE_STATUS_ENABLED"
)

func (DeviceHWSecurityModuleStatus) ContextValidate ¶

func (m DeviceHWSecurityModuleStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device h w security module status based on context it is used

func (DeviceHWSecurityModuleStatus) Pointer ¶

Pointer returns a pointer to a freshly-allocated DeviceHWSecurityModuleStatus.

func (DeviceHWSecurityModuleStatus) Validate ¶

func (m DeviceHWSecurityModuleStatus) Validate(formats strfmt.Registry) error

Validate validates this device h w security module status

type DeviceInfo ¶

type DeviceInfo struct {

	// cpu arch
	CPUArch string `json:"cpuArch,omitempty"`

	// machine arch
	MachineArch string `json:"machineArch,omitempty"`

	// mem m b
	MemMB string `json:"memMB,omitempty"`

	// n Cpu
	NCPU int64 `json:"nCpu,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`

	// storage m b
	StorageMB string `json:"storageMB,omitempty"`
}

DeviceInfo device info

swagger:model DeviceInfo

func (*DeviceInfo) ContextValidate ¶

func (m *DeviceInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device info based on context it is used

func (*DeviceInfo) MarshalBinary ¶

func (m *DeviceInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceInfo) UnmarshalBinary ¶

func (m *DeviceInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceInfo) Validate ¶

func (m *DeviceInfo) Validate(formats strfmt.Registry) error

Validate validates this device info

type DeviceInfoMsg ¶ added in v1.0.2

type DeviceInfoMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// attest state
	AttestState *AttestState `json:"attestState,omitempty"`

	// blob list
	BlobList []*BlobStatus `json:"blobList"`

	// boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// Information about hardware capabilities
	//
	// Edge node virtualization capabilities.
	Capabilities *Capabilities `json:"capabilities,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// data sec info
	DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"`

	// debug knob expiry time
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry time
	// Format: date-time
	DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// device reboot reason
	DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// dns
	DNS *DNSInfo `json:"dns,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// io status list
	IoStatusList []*IoBundleStatus `json:"ioStatusList"`

	// last reboot reason
	LastRebootReason string `json:"lastRebootReason,omitempty"`

	// last reboot time
	// Format: date-time
	LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"`

	// last update
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// physical storage
	PhysicalStorage []*PhysicalStorage `json:"physicalStorage"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// storage list
	StorageList []*StorageStatus `json:"storageList"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 6;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// zc counters
	ZcCounters []*ZedcloudCounters `json:"zcCounters"`

	// Last received counters for zpool metrics.
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

DeviceInfoMsg device info msg

swagger:model DeviceInfoMsg

func (*DeviceInfoMsg) ContextValidate ¶ added in v1.0.2

func (m *DeviceInfoMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device info msg based on the context it is used

func (*DeviceInfoMsg) MarshalBinary ¶ added in v1.0.2

func (m *DeviceInfoMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceInfoMsg) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceInfoMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceInfoMsg) Validate ¶ added in v1.0.2

func (m *DeviceInfoMsg) Validate(formats strfmt.Registry) error

Validate validates this device info msg

type DeviceLisp ¶

type DeviceLisp struct {

	// EID
	// Required: true
	EID *string `json:"EID"`

	// EID hash length
	// Required: true
	EIDHashLen *int64 `json:"EIDHashLen"`

	// Client Address
	// Required: true
	ClientAddr *string `json:"clientAddr"`

	// EID allocation prefix
	// Required: true
	// Format: byte
	EidAllocationPrefix *strfmt.Base64 `json:"eidAllocationPrefix"`

	// EID allocation prefix length
	// Required: true
	EidAllocationPrefixLen *int64 `json:"eidAllocationPrefixLen"`

	// LISP instance
	// Required: true
	LispInstance *int64 `json:"lispInstance"`

	// List of Lisp servers
	// Required: true
	LispMapServers []*LispServer `json:"lispMapServers"`

	// TEMP : flag to indicate which version of LISP data plane should be running on the device
	// Required: true
	Mode *string `json:"mode"`

	// Zed development servers
	// Required: true
	ZedServers []*DevZedServer `json:"zedServers"`
}

DeviceLisp DeviceLisp payload detail

DeviceLisp request paylod ¶

swagger:model DeviceLisp

func (*DeviceLisp) ContextValidate ¶

func (m *DeviceLisp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device lisp based on the context it is used

func (*DeviceLisp) MarshalBinary ¶

func (m *DeviceLisp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceLisp) UnmarshalBinary ¶

func (m *DeviceLisp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceLisp) Validate ¶

func (m *DeviceLisp) Validate(formats strfmt.Registry) error

Validate validates this device lisp

type DeviceLoad ¶

type DeviceLoad string

DeviceLoad device load

swagger:model DeviceLoad

const (

	// DeviceLoadDEVICELOADUNSPECIFIED captures enum value "DEVICE_LOAD_UNSPECIFIED"
	DeviceLoadDEVICELOADUNSPECIFIED DeviceLoad = "DEVICE_LOAD_UNSPECIFIED"

	// DeviceLoadDEVICELOADFREE captures enum value "DEVICE_LOAD_FREE"
	DeviceLoadDEVICELOADFREE DeviceLoad = "DEVICE_LOAD_FREE"

	// DeviceLoadDEVICELOADMODERATE captures enum value "DEVICE_LOAD_MODERATE"
	DeviceLoadDEVICELOADMODERATE DeviceLoad = "DEVICE_LOAD_MODERATE"

	// DeviceLoadDEVICELOADHEAVY captures enum value "DEVICE_LOAD_HEAVY"
	DeviceLoadDEVICELOADHEAVY DeviceLoad = "DEVICE_LOAD_HEAVY"
)

func NewDeviceLoad ¶

func NewDeviceLoad(value DeviceLoad) *DeviceLoad

func (DeviceLoad) ContextValidate ¶

func (m DeviceLoad) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device load based on context it is used

func (DeviceLoad) Pointer ¶

func (m DeviceLoad) Pointer() *DeviceLoad

Pointer returns a pointer to a freshly-allocated DeviceLoad.

func (DeviceLoad) Validate ¶

func (m DeviceLoad) Validate(formats strfmt.Registry) error

Validate validates this device load

type DeviceLocation ¶ added in v1.0.2

type DeviceLocation struct {

	// count
	Count int64 `json:"count,omitempty"`

	// location
	Location string `json:"location,omitempty"`
}

DeviceLocation device location

swagger:model DeviceLocation

func (*DeviceLocation) ContextValidate ¶ added in v1.0.2

func (m *DeviceLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device location based on context it is used

func (*DeviceLocation) MarshalBinary ¶ added in v1.0.2

func (m *DeviceLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceLocation) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceLocation) Validate ¶ added in v1.0.2

func (m *DeviceLocation) Validate(formats strfmt.Registry) error

Validate validates this device location

type DeviceLocations ¶ added in v1.0.2

type DeviceLocations struct {

	// device locations
	DeviceLocations []*DeviceLocation `json:"deviceLocations"`

	// next
	Next *Cursor `json:"next,omitempty"`
}

DeviceLocations device locations

swagger:model DeviceLocations

func (*DeviceLocations) ContextValidate ¶ added in v1.0.2

func (m *DeviceLocations) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device locations based on the context it is used

func (*DeviceLocations) MarshalBinary ¶ added in v1.0.2

func (m *DeviceLocations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceLocations) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceLocations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceLocations) Validate ¶ added in v1.0.2

func (m *DeviceLocations) Validate(formats strfmt.Registry) error

Validate validates this device locations

type DeviceMemorySummary ¶

type DeviceMemorySummary struct {

	// Total memory allocated to app instances.
	AllocatedAppsMB float64 `json:"allocatedAppsMB,omitempty"`

	// Total memory allocated to EVE on the device.
	AllocatedEveMB float64 `json:"allocatedEveMB,omitempty"`

	// availableForNewApps = deviceMemoryMB - ( allocatedForAppsMB + allocatedForEveMB )
	//
	// Memory Available for new app-instances on the device.
	AvailableForNewApps float64 `json:"availableForNewApps,omitempty"`

	// deviceMemoryMB >= allocatedForAppsMB + allocatedForEveMB
	//
	// Total memory on the device.
	DeviceMemoryMB float64 `json:"deviceMemoryMB,omitempty"`

	// usedByEveMB <= allocatedForEveMB
	//
	// Memory currently used by EVE on the device.
	UsedEveMB float64 `json:"usedEveMB,omitempty"`
}

DeviceMemorySummary Device Memory Information message

DeviceMemorySummary encapsulates the memory status of the device.

swagger:model DeviceMemorySummary

func (*DeviceMemorySummary) ContextValidate ¶

func (m *DeviceMemorySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device memory summary based on context it is used

func (*DeviceMemorySummary) MarshalBinary ¶

func (m *DeviceMemorySummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceMemorySummary) UnmarshalBinary ¶

func (m *DeviceMemorySummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceMemorySummary) Validate ¶

func (m *DeviceMemorySummary) Validate(formats strfmt.Registry) error

Validate validates this device memory summary

type DeviceObjectUsageInfo ¶

type DeviceObjectUsageInfo struct {

	// Timestamp at which object was created
	// Required: true
	CreateTime interface{} `json:"createTime"`

	// Timestamp at which object refcount was last changed
	// Required: true
	LastRefCountChangeTime interface{} `json:"lastRefCountChangeTime"`

	// Object refcount
	// Required: true
	RefCount *int64 `json:"refCount"`
}

DeviceObjectUsageInfo DeviceObjectUsageInfo carries metadata of object usage on the device.

DeviceObjectUsageInfo provides the metadata of object usage on the device ¶

swagger:model DeviceObjectUsageInfo

func (*DeviceObjectUsageInfo) ContextValidate ¶

func (m *DeviceObjectUsageInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device object usage info based on context it is used

func (*DeviceObjectUsageInfo) MarshalBinary ¶

func (m *DeviceObjectUsageInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceObjectUsageInfo) UnmarshalBinary ¶

func (m *DeviceObjectUsageInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceObjectUsageInfo) Validate ¶

func (m *DeviceObjectUsageInfo) Validate(formats strfmt.Registry) error

Validate validates this device object usage info

type DevicePolicy ¶ added in v1.0.2

type DevicePolicy struct {

	// device attestation policy
	AttestationPolicy *DeviceAttestationPolicy `json:"attestationPolicy,omitempty"`

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// device policy type
	PolicySubType *DevicePolicyType `json:"policySubType,omitempty"`
}

DevicePolicy device policy

swagger:model DevicePolicy

func (*DevicePolicy) ContextValidate ¶ added in v1.0.2

func (m *DevicePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device policy based on the context it is used

func (*DevicePolicy) MarshalBinary ¶ added in v1.0.2

func (m *DevicePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DevicePolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *DevicePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DevicePolicy) Validate ¶ added in v1.0.2

func (m *DevicePolicy) Validate(formats strfmt.Registry) error

Validate validates this device policy

type DevicePolicyType ¶ added in v1.0.2

type DevicePolicyType string

DevicePolicyType device policy type

swagger:model DevicePolicyType

const (

	// DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED captures enum value "DEVICE_POLICY_TYPE_UNSPECIFIED"
	DevicePolicyTypeDEVICEPOLICYTYPEUNSPECIFIED DevicePolicyType = "DEVICE_POLICY_TYPE_UNSPECIFIED"

	// DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION captures enum value "DEVICE_POLICY_TYPE_ATTESTATION"
	DevicePolicyTypeDEVICEPOLICYTYPEATTESTATION DevicePolicyType = "DEVICE_POLICY_TYPE_ATTESTATION"
)

func NewDevicePolicyType ¶ added in v1.0.2

func NewDevicePolicyType(value DevicePolicyType) *DevicePolicyType

func (DevicePolicyType) ContextValidate ¶ added in v1.0.2

func (m DevicePolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device policy type based on context it is used

func (DevicePolicyType) Pointer ¶ added in v1.0.2

func (m DevicePolicyType) Pointer() *DevicePolicyType

Pointer returns a pointer to a freshly-allocated DevicePolicyType.

func (DevicePolicyType) Validate ¶ added in v1.0.2

func (m DevicePolicyType) Validate(formats strfmt.Registry) error

Validate validates this device policy type

type DeviceProjectAndTargetUpdate ¶ added in v1.0.2

type DeviceProjectAndTargetUpdate struct {

	// deployment tag to be updated on the device
	// Read Only: true
	DeploymentTag string `json:"deploymentTag,omitempty"`

	// Set this flag to override given tags over existing tags. Otherwise the tags will be merged/appended
	Override bool `json:"override,omitempty"`

	// project id.
	// Required: true
	ProjectID *string `json:"projectId"`

	// tag to be updated on the device
	// Read Only: true
	Tags map[string]string `json:"tags,omitempty"`
}

DeviceProjectAndTargetUpdate project id required for the devices

project id will be required to move the device to a new project

swagger:model DeviceProjectAndTargetUpdate

func (*DeviceProjectAndTargetUpdate) ContextValidate ¶ added in v1.0.2

func (m *DeviceProjectAndTargetUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device project and target update based on the context it is used

func (*DeviceProjectAndTargetUpdate) MarshalBinary ¶ added in v1.0.2

func (m *DeviceProjectAndTargetUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceProjectAndTargetUpdate) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceProjectAndTargetUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceProjectAndTargetUpdate) Validate ¶ added in v1.0.2

func (m *DeviceProjectAndTargetUpdate) Validate(formats strfmt.Registry) error

Validate validates this device project and target update

type DeviceRawMetrics ¶ added in v1.0.2

type DeviceRawMetrics struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// raw metrics
	RawMetrics string `json:"rawMetrics,omitempty"`
}

DeviceRawMetrics device raw metrics

swagger:model DeviceRawMetrics

func (*DeviceRawMetrics) ContextValidate ¶ added in v1.0.2

func (m *DeviceRawMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device raw metrics based on context it is used

func (*DeviceRawMetrics) MarshalBinary ¶ added in v1.0.2

func (m *DeviceRawMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceRawMetrics) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceRawMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceRawMetrics) Validate ¶ added in v1.0.2

func (m *DeviceRawMetrics) Validate(formats strfmt.Registry) error

Validate validates this device raw metrics

type DeviceReport ¶ added in v1.0.2

type DeviceReport struct {

	// Enterprise device report
	DeviceSummaryReport *DeviceSummaryReport `json:"deviceSummaryReport,omitempty"`

	// Enterprise id for which we want to get summary report for all objects
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Error while fetching report for enterprise, if any
	Error string `json:"error,omitempty"`
}

DeviceReport Get device reports

Get summary reports of device objects for self/child enterprise

swagger:model DeviceReport

func (*DeviceReport) ContextValidate ¶ added in v1.0.2

func (m *DeviceReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device report based on the context it is used

func (*DeviceReport) MarshalBinary ¶ added in v1.0.2

func (m *DeviceReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceReport) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceReport) Validate ¶ added in v1.0.2

func (m *DeviceReport) Validate(formats strfmt.Registry) error

Validate validates this device report

type DeviceSWInfo ¶

type DeviceSWInfo struct {

	// activated
	Activated bool `json:"activated,omitempty"`

	// download progress
	DownloadProgress int64 `json:"downloadProgress,omitempty"`

	// long version
	LongVersion string `json:"longVersion,omitempty"`

	// partition device
	PartitionDevice string `json:"partitionDevice,omitempty"`

	// partition label
	PartitionLabel string `json:"partitionLabel,omitempty"`

	// partition state
	PartitionState string `json:"partitionState,omitempty"`

	// short version
	ShortVersion string `json:"shortVersion,omitempty"`

	// status
	Status *SWState `json:"status,omitempty"`

	// sub status progress
	SubStatusProgress int64 `json:"subStatusProgress,omitempty"`

	// sw error
	SwError *DeviceError `json:"swError,omitempty"`

	// sw status
	SwStatus *DeviceSWStatus `json:"swStatus,omitempty"`

	// sw sub status
	SwSubStatus *DeviceSWSubStatus `json:"swSubStatus,omitempty"`

	// sw sub status str
	SwSubStatusStr string `json:"swSubStatusStr,omitempty"`
}

DeviceSWInfo device s w info

swagger:model DeviceSWInfo

func (*DeviceSWInfo) ContextValidate ¶

func (m *DeviceSWInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device s w info based on the context it is used

func (*DeviceSWInfo) MarshalBinary ¶

func (m *DeviceSWInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceSWInfo) UnmarshalBinary ¶

func (m *DeviceSWInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceSWInfo) Validate ¶

func (m *DeviceSWInfo) Validate(formats strfmt.Registry) error

Validate validates this device s w info

type DeviceSWStatus ¶

type DeviceSWStatus string

DeviceSWStatus device s w status

swagger:model DeviceSWStatus

const (

	// DeviceSWStatusDEVICESWSTATUSUNSPECIFIED captures enum value "DEVICE_SW_STATUS_UNSPECIFIED"
	DeviceSWStatusDEVICESWSTATUSUNSPECIFIED DeviceSWStatus = "DEVICE_SW_STATUS_UNSPECIFIED"

	// DeviceSWStatusDEVICESWSTATUSDOWNLOADING captures enum value "DEVICE_SW_STATUS_DOWNLOADING"
	DeviceSWStatusDEVICESWSTATUSDOWNLOADING DeviceSWStatus = "DEVICE_SW_STATUS_DOWNLOADING"

	// DeviceSWStatusDEVICESWSTATUSDOWNLOADDONE captures enum value "DEVICE_SW_STATUS_DOWNLOADDONE"
	DeviceSWStatusDEVICESWSTATUSDOWNLOADDONE DeviceSWStatus = "DEVICE_SW_STATUS_DOWNLOADDONE"

	// DeviceSWStatusDEVICESWSTATUSUPDATING captures enum value "DEVICE_SW_STATUS_UPDATING"
	DeviceSWStatusDEVICESWSTATUSUPDATING DeviceSWStatus = "DEVICE_SW_STATUS_UPDATING"

	// DeviceSWStatusDEVICESWSTATUSUPDATED captures enum value "DEVICE_SW_STATUS_UPDATED"
	DeviceSWStatusDEVICESWSTATUSUPDATED DeviceSWStatus = "DEVICE_SW_STATUS_UPDATED"

	// DeviceSWStatusDEVICESWSTATUSFALLBACK captures enum value "DEVICE_SW_STATUS_FALLBACK"
	DeviceSWStatusDEVICESWSTATUSFALLBACK DeviceSWStatus = "DEVICE_SW_STATUS_FALLBACK"

	// DeviceSWStatusDEVICESWSTATUSFAILED captures enum value "DEVICE_SW_STATUS_FAILED"
	DeviceSWStatusDEVICESWSTATUSFAILED DeviceSWStatus = "DEVICE_SW_STATUS_FAILED"
)

func NewDeviceSWStatus ¶

func NewDeviceSWStatus(value DeviceSWStatus) *DeviceSWStatus

func (DeviceSWStatus) ContextValidate ¶

func (m DeviceSWStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device s w status based on context it is used

func (DeviceSWStatus) Pointer ¶

func (m DeviceSWStatus) Pointer() *DeviceSWStatus

Pointer returns a pointer to a freshly-allocated DeviceSWStatus.

func (DeviceSWStatus) Validate ¶

func (m DeviceSWStatus) Validate(formats strfmt.Registry) error

Validate validates this device s w status

type DeviceSWSubStatus ¶

type DeviceSWSubStatus string

DeviceSWSubStatus device s w sub status

swagger:model DeviceSWSubStatus

const (

	// DeviceSWSubStatusDEVICESWSUBSTATUSUNSPECIFIED captures enum value "DEVICE_SW_SUB_STATUS_UNSPECIFIED"
	DeviceSWSubStatusDEVICESWSUBSTATUSUNSPECIFIED DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UNSPECIFIED"

	// DeviceSWSubStatusDEVICESWSUBSTATUSDOWNLOADINPROGRESS captures enum value "DEVICE_SW_SUB_STATUS_DOWNLOAD_IN_PROGRESS"
	DeviceSWSubStatusDEVICESWSUBSTATUSDOWNLOADINPROGRESS DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_DOWNLOAD_IN_PROGRESS"

	// DeviceSWSubStatusDEVICESWSUBSTATUSVERIFYINPROGRESS captures enum value "DEVICE_SW_SUB_STATUS_VERIFY_IN_PROGRESS"
	DeviceSWSubStatusDEVICESWSUBSTATUSVERIFYINPROGRESS DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_VERIFY_IN_PROGRESS"

	// DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEINITIALIZING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_INITIALIZING"
	DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEINITIALIZING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_INITIALIZING"

	// DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEREBOOTING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_REBOOTING"
	DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEREBOOTING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_REBOOTING"

	// DeviceSWSubStatusDEVICESWSUBSTATUSUPDATETESTING captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_TESTING"
	DeviceSWSubStatusDEVICESWSUBSTATUSUPDATETESTING DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_TESTING"

	// DeviceSWSubStatusDEVICESWSUBSTATUSUPDATENEEDTESTCONFIRM captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_NEED_TEST_CONFIRM"
	DeviceSWSubStatusDEVICESWSUBSTATUSUPDATENEEDTESTCONFIRM DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_NEED_TEST_CONFIRM"

	// DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEDEFERRED captures enum value "DEVICE_SW_SUB_STATUS_UPDATE_DEFERRED"
	DeviceSWSubStatusDEVICESWSUBSTATUSUPDATEDEFERRED DeviceSWSubStatus = "DEVICE_SW_SUB_STATUS_UPDATE_DEFERRED"
)

func NewDeviceSWSubStatus ¶

func NewDeviceSWSubStatus(value DeviceSWSubStatus) *DeviceSWSubStatus

func (DeviceSWSubStatus) ContextValidate ¶

func (m DeviceSWSubStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device s w sub status based on context it is used

func (DeviceSWSubStatus) Pointer ¶

func (m DeviceSWSubStatus) Pointer() *DeviceSWSubStatus

Pointer returns a pointer to a freshly-allocated DeviceSWSubStatus.

func (DeviceSWSubStatus) Validate ¶

func (m DeviceSWSubStatus) Validate(formats strfmt.Registry) error

Validate validates this device s w sub status

type DeviceSize ¶ added in v1.0.2

type DeviceSize string

DeviceSize device size

swagger:model DeviceSize

const (

	// DeviceSizeDEFAULTSIZE captures enum value "DEFAULT_SIZE"
	DeviceSizeDEFAULTSIZE DeviceSize = "DEFAULT_SIZE"

	// DeviceSizeSMALLSIZE captures enum value "SMALL_SIZE"
	DeviceSizeSMALLSIZE DeviceSize = "SMALL_SIZE"

	// DeviceSizeMEDIUMSIZE captures enum value "MEDIUM_SIZE"
	DeviceSizeMEDIUMSIZE DeviceSize = "MEDIUM_SIZE"

	// DeviceSizeLARGESIZE captures enum value "LARGE_SIZE"
	DeviceSizeLARGESIZE DeviceSize = "LARGE_SIZE"

	// DeviceSizeXLARGESIZE captures enum value "XLARGE_SIZE"
	DeviceSizeXLARGESIZE DeviceSize = "XLARGE_SIZE"
)

func NewDeviceSize ¶ added in v1.0.2

func NewDeviceSize(value DeviceSize) *DeviceSize

func (DeviceSize) ContextValidate ¶ added in v1.0.2

func (m DeviceSize) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this device size based on context it is used

func (DeviceSize) Pointer ¶ added in v1.0.2

func (m DeviceSize) Pointer() *DeviceSize

Pointer returns a pointer to a freshly-allocated DeviceSize.

func (DeviceSize) Validate ¶ added in v1.0.2

func (m DeviceSize) Validate(formats strfmt.Registry) error

Validate validates this device size

type DeviceStatusConfig ¶ added in v1.0.2

type DeviceStatusConfig struct {

	// Admin state of the device
	AdminState *AdminState `json:"adminState,omitempty"`

	// Number of app instance that is running on the device
	AppInstCount string `json:"appInstCount,omitempty"`

	// Device info like storage, arch, memory etc
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// Eve image name that was running on the device
	EveImageName string `json:"eveImageName,omitempty"`

	// system generated unique id for a device
	// Required: true
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id"`

	// Boolean that tells whether the active eve image is latest or not
	IsEveLatest string `json:"isEveLatest,omitempty"`

	// Device location
	Location string `json:"location,omitempty"`

	// user specified device name
	// Required: true
	Name *string `json:"name"`

	// project Id of the device
	ProjectID string `json:"projectId,omitempty"`

	// project name of the device
	ProjectName string `json:"projectName,omitempty"`

	// Run state of the device
	RunState *RunState `json:"runState,omitempty"`

	// Device serial number
	// Required: true
	SerialNo *string `json:"serialNo"`

	// software info reported by the device
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// user specified title
	Title string `json:"title,omitempty"`
}

DeviceStatusConfig Device status config response detail

Device status and config response details ¶

swagger:model deviceStatusConfig

func (*DeviceStatusConfig) ContextValidate ¶ added in v1.0.2

func (m *DeviceStatusConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status config based on the context it is used

func (*DeviceStatusConfig) MarshalBinary ¶ added in v1.0.2

func (m *DeviceStatusConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusConfig) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceStatusConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusConfig) Validate ¶ added in v1.0.2

func (m *DeviceStatusConfig) Validate(formats strfmt.Registry) error

Validate validates this device status config

type DeviceStatusConfigList ¶ added in v1.0.2

type DeviceStatusConfigList struct {

	// List of device status config
	// Required: true
	List []*DeviceStatusConfig `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Device status config summary by app instance count
	// Required: true
	SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount"`

	// Device status config summary by eve distribution
	// Required: true
	SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution"`

	// Device status config summary by state
	// Required: true
	SummaryByState *Summary `json:"summaryByState"`

	// total count of devices
	// Required: true
	TotalCount *int64 `json:"totalCount"`

	// total count of edgeview active of devices
	TotalEvActiveCount int64 `json:"totalEvActiveCount,omitempty"`
}

DeviceStatusConfigList Device status config composite api response detail

Device statu sna config composite api response details ¶

swagger:model DeviceStatusConfigList

func (*DeviceStatusConfigList) ContextValidate ¶ added in v1.0.2

func (m *DeviceStatusConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status config list based on the context it is used

func (*DeviceStatusConfigList) MarshalBinary ¶ added in v1.0.2

func (m *DeviceStatusConfigList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusConfigList) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceStatusConfigList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusConfigList) Validate ¶ added in v1.0.2

func (m *DeviceStatusConfigList) Validate(formats strfmt.Registry) error

Validate validates this device status config list

type DeviceStatusFilter ¶

type DeviceStatusFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// load
	Load *DeviceLoad `json:"load,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

DeviceStatusFilter device status filter

swagger:model DeviceStatusFilter

func (*DeviceStatusFilter) ContextValidate ¶

func (m *DeviceStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status filter based on the context it is used

func (*DeviceStatusFilter) MarshalBinary ¶

func (m *DeviceStatusFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusFilter) UnmarshalBinary ¶

func (m *DeviceStatusFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusFilter) Validate ¶

func (m *DeviceStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this device status filter

type DeviceStatusListMsg ¶

type DeviceStatusListMsg struct {

	// list
	List []*DeviceStatusSummaryMsg `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by app instance count
	SummaryByAppInstanceCount *Summary `json:"summaryByAppInstanceCount,omitempty"`

	// summary by e v e distribution
	SummaryByEVEDistribution *Summary `json:"summaryByEVEDistribution,omitempty"`

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// total count
	TotalCount int64 `json:"totalCount,omitempty"`

	// total edgeview active
	TotalEdgeviewActive int64 `json:"totalEdgeviewActive,omitempty"`
}

DeviceStatusListMsg device status list msg

swagger:model DeviceStatusListMsg

func (*DeviceStatusListMsg) ContextValidate ¶

func (m *DeviceStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status list msg based on the context it is used

func (*DeviceStatusListMsg) MarshalBinary ¶

func (m *DeviceStatusListMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusListMsg) UnmarshalBinary ¶

func (m *DeviceStatusListMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusListMsg) Validate ¶

func (m *DeviceStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this device status list msg

type DeviceStatusMsg ¶

type DeviceStatusMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// attest state
	AttestState *AttestState `json:"attestState,omitempty"`

	// blob list
	BlobList []*BlobStatus `json:"blobList"`

	// boot time
	// Format: date-time
	BootTime strfmt.DateTime `json:"bootTime,omitempty"`

	// Information about hardware capabilities
	//
	// Edge node virtualization capabilities.
	Capabilities *Capabilities `json:"capabilities,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// data sec info
	DataSecInfo []*DevDataSecAtRest `json:"dataSecInfo"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// device reboot reason
	DeviceRebootReason *DeviceBootReason `json:"deviceRebootReason,omitempty"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// dns
	DNS *DNSInfo `json:"dns,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// io status list
	IoStatusList []*IoBundleStatus `json:"ioStatusList"`

	// last reboot reason
	LastRebootReason string `json:"lastRebootReason,omitempty"`

	// last reboot time
	// Format: date-time
	LastRebootTime strfmt.DateTime `json:"lastRebootTime,omitempty"`

	// last update
	// Format: date-time
	LastUpdate strfmt.DateTime `json:"lastUpdate,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net counter list
	NetCounterList []*NetworkCounters `json:"netCounterList"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw metrics
	RawMetrics string `json:"rawMetrics,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// storage list
	StorageList []*StorageStatus `json:"storageList"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 6;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// up time
	// Format: date-time
	UpTime strfmt.DateTime `json:"upTime,omitempty"`

	// zc counters
	ZcCounters []*ZedcloudCounters `json:"zcCounters"`

	// Last received counters for zpool metrics.
	ZpoolMetrics *StorageDeviceMetrics `json:"zpoolMetrics,omitempty"`
}

DeviceStatusMsg to be deprecated

swagger:model DeviceStatusMsg

func (*DeviceStatusMsg) ContextValidate ¶

func (m *DeviceStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status msg based on the context it is used

func (*DeviceStatusMsg) MarshalBinary ¶

func (m *DeviceStatusMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusMsg) UnmarshalBinary ¶

func (m *DeviceStatusMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusMsg) Validate ¶

func (m *DeviceStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this device status msg

type DeviceStatusSummaryMsg ¶

type DeviceStatusSummaryMsg struct {

	// Cpu
	CPU *CPUSummary `json:"Cpu,omitempty"`

	// Memory - OBSOLETE. Use memorySummary instead.
	Memory *MemorySummary `json:"Memory,omitempty"`

	// storage
	Storage *StorageSummary `json:"Storage,omitempty"`

	// admin state
	AdminState *AdminState `json:"adminState,omitempty"`

	// App instance count that is actively running on the device
	AppInstCount int64 `json:"appInstCount,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// debug knob expiry time
	DebugKnob bool `json:"debugKnob,omitempty"`

	// debug knob expiry time
	// Format: date-time
	DebugKnobExpiryTime strfmt.DateTime `json:"debugKnobExpiryTime,omitempty"`

	// dev error
	DevError []*DeviceError `json:"devError"`

	// dinfo
	Dinfo *DeviceInfo `json:"dinfo,omitempty"`

	// Device edgeview session active
	EdgeviewActive bool `json:"edgeviewActive,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// Device location
	Location string `json:"location,omitempty"`

	// Device memory Info
	MemorySummary *DeviceMemorySummary `json:"memorySummary,omitempty"`

	// minfo
	Minfo *ZManufacturerInfo `json:"minfo,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// net status list
	NetStatusList []*NetworkStatus `json:"netStatusList"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Project name to which device is associated with
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// sw info
	SwInfo []*DeviceSWInfo `json:"swInfo"`

	// deprecated = 5;
	//
	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

DeviceStatusSummaryMsg device status summary msg

swagger:model DeviceStatusSummaryMsg

func (*DeviceStatusSummaryMsg) ContextValidate ¶

func (m *DeviceStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device status summary msg based on the context it is used

func (*DeviceStatusSummaryMsg) MarshalBinary ¶

func (m *DeviceStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceStatusSummaryMsg) UnmarshalBinary ¶

func (m *DeviceStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceStatusSummaryMsg) Validate ¶

func (m *DeviceStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this device status summary msg

type DeviceSummaryReport ¶ added in v1.0.2

type DeviceSummaryReport struct {

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// total devices
	TotalDevices int64 `json:"totalDevices,omitempty"`
}

DeviceSummaryReport device summary report

swagger:model DeviceSummaryReport

func (*DeviceSummaryReport) ContextValidate ¶ added in v1.0.2

func (m *DeviceSummaryReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this device summary report based on the context it is used

func (*DeviceSummaryReport) MarshalBinary ¶ added in v1.0.2

func (m *DeviceSummaryReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DeviceSummaryReport) UnmarshalBinary ¶ added in v1.0.2

func (m *DeviceSummaryReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DeviceSummaryReport) Validate ¶ added in v1.0.2

func (m *DeviceSummaryReport) Validate(formats strfmt.Registry) error

Validate validates this device summary report

type DhcpIPRange ¶

type DhcpIPRange struct {

	// ending IP
	End string `json:"end,omitempty"`

	// starting IP
	Start string `json:"start,omitempty"`
}

DhcpIPRange DHCP IP range

DHCP IP range ¶

swagger:model dhcpIpRange

func (*DhcpIPRange) ContextValidate ¶

func (m *DhcpIPRange) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this dhcp Ip range based on context it is used

func (*DhcpIPRange) MarshalBinary ¶

func (m *DhcpIPRange) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DhcpIPRange) UnmarshalBinary ¶

func (m *DhcpIPRange) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DhcpIPRange) Validate ¶

func (m *DhcpIPRange) Validate(formats strfmt.Registry) error

Validate validates this dhcp Ip range

type DhcpServerConfig ¶

type DhcpServerConfig struct {

	// Range of IP addresses to be used for DHCP
	DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"`

	// possible DNS ip address
	//
	// IP Addresses of DNS servers
	DNS []string `json:"dns"`

	// Network domain
	Domain string `json:"domain,omitempty"`

	// IP Address of Network Gateway
	Gateway string `json:"gateway,omitempty"`

	// Subnet Mask
	Mask string `json:"mask,omitempty"`

	// IP Address of NTP Server
	Ntp string `json:"ntp,omitempty"`

	// Subnet address
	Subnet string `json:"subnet,omitempty"`
}

DhcpServerConfig dhcp server config

swagger:model DhcpServerConfig

func (*DhcpServerConfig) ContextValidate ¶

func (m *DhcpServerConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this dhcp server config based on the context it is used

func (*DhcpServerConfig) MarshalBinary ¶

func (m *DhcpServerConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DhcpServerConfig) UnmarshalBinary ¶

func (m *DhcpServerConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DhcpServerConfig) Validate ¶

func (m *DhcpServerConfig) Validate(formats strfmt.Registry) error

Validate validates this dhcp server config

type DiskDescription ¶ added in v1.0.2

type DiskDescription struct {

	// logical name
	LogicalName string `json:"logicalName,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`
}

DiskDescription disk description

swagger:model DiskDescription

func (*DiskDescription) ContextValidate ¶ added in v1.0.2

func (m *DiskDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this disk description based on context it is used

func (*DiskDescription) MarshalBinary ¶ added in v1.0.2

func (m *DiskDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DiskDescription) UnmarshalBinary ¶ added in v1.0.2

func (m *DiskDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DiskDescription) Validate ¶ added in v1.0.2

func (m *DiskDescription) Validate(formats strfmt.Registry) error

Validate validates this disk description

type DocPolicies ¶

type DocPolicies struct {

	// List of docpolicy
	List []*DocPolicySummary `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered docpolicy
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

DocPolicies doc policies

swagger:model DocPolicies

func (*DocPolicies) ContextValidate ¶

func (m *DocPolicies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this doc policies based on the context it is used

func (*DocPolicies) MarshalBinary ¶

func (m *DocPolicies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DocPolicies) UnmarshalBinary ¶

func (m *DocPolicies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DocPolicies) Validate ¶

func (m *DocPolicies) Validate(formats strfmt.Registry) error

Validate validates this doc policies

type DocPolicy ¶

type DocPolicy struct {

	// Policy doc fileURL
	FileURL string `json:"fileURL,omitempty"`

	// Unique system defined docpolicy ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// Mark latest docpolicy check
	Latest bool `json:"latest,omitempty"`

	// User defined name of the docpolicy. Name cannot be changed once created
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	PolicyName *string `json:"policyName"`

	// System defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Server Host
	ServerHost string `json:"serverHost,omitempty"`

	// Policy doc version
	Version string `json:"version,omitempty"`
}

DocPolicy DocPolicy detail

DocPolicy meta data Example: {"fileURL":"xxxxxxxx","id":"EAJ1ABAi-KOom7dJlrBoE8eq1pj9","latest":false,"policyName":"xxxxxxxxx","revision":{"createdAt":"2020-07-17T06:03:14Z","createdBy":"us.root@zededa.com","curr":"1","prev":"","updatedAt":"2020-07-17T06:03:14Z","updatedBy":"us.root@zededa.com"},"serverHost":"zedcontrol.local.zededa.net","version":"xxxxxxx"}

swagger:model DocPolicy

func (*DocPolicy) ContextValidate ¶

func (m *DocPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this doc policy based on the context it is used

func (*DocPolicy) MarshalBinary ¶

func (m *DocPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DocPolicy) UnmarshalBinary ¶

func (m *DocPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DocPolicy) Validate ¶

func (m *DocPolicy) Validate(formats strfmt.Registry) error

Validate validates this doc policy

type DocPolicySummary ¶

type DocPolicySummary struct {

	// Policy doc fileURL
	FileURL string `json:"fileURL,omitempty"`

	// User defined name of the docpolicy. Name cannot be changed once created
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Policy string `json:"policy,omitempty"`

	// System defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Policy doc version
	Version string `json:"version,omitempty"`
}

DocPolicySummary DocPolicy detail

DocPolicy meta data Example: {"fileURL":"xxxxxxxx","policyName":"xxxxxxxxx","revision":{"createdAt":"2020-07-17T06:03:14Z","createdBy":"us.root@zededa.com","curr":"1","prev":"","updatedAt":"2020-07-17T06:03:14Z","updatedBy":"us.root@zededa.com"},"version":"xxxxxxx"}

swagger:model DocPolicySummary

func (*DocPolicySummary) ContextValidate ¶

func (m *DocPolicySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this doc policy summary based on the context it is used

func (*DocPolicySummary) MarshalBinary ¶

func (m *DocPolicySummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DocPolicySummary) UnmarshalBinary ¶

func (m *DocPolicySummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DocPolicySummary) Validate ¶

func (m *DocPolicySummary) Validate(formats strfmt.Registry) error

Validate validates this doc policy summary

type Drive ¶

type Drive struct {

	// If set, don't encrypt the drive. Store in cleartext
	Cleartext bool `json:"cleartext,omitempty"`

	// Type of Drive. Valid Values: UNSPECIFIED, CDROM, HDD, NET, HDD_EMPTY. HDD_EMPTY - is to allocate the empty disk of maxsizebytes specified
	// Required: true
	Drvtype *string `json:"drvtype"`

	// don't purge this drive as part of purge command for mutable volumes
	Ignorepurge bool `json:"ignorepurge,omitempty"`

	// Name of Image Object used for the drive.
	// Required: true
	Imagename *string `json:"imagename"`

	// immutable Volume for this drive. Only one of imvolname and mvolname must be specified.
	Imvolname string `json:"imvolname,omitempty"`

	// Drive maximum size
	// Required: true
	Maxsize *uint64 `json:"maxsize"`

	// Mount Path for the drive in the App Instance
	Mountpath string `json:"mountpath,omitempty"`

	// mutable Volume for this drive. Only one of imvolname and mvolname must be specified.
	Mvolname string `json:"mvolname,omitempty"`

	// Preserve the drive even when all app instances using it are deleted
	// Required: true
	Preserve *bool `json:"preserve"`

	// Read only flag. If set, drive is mounted as readonly by app instance.
	// Required: true
	Readonly *bool `json:"readonly"`

	// type of target. Valid values: Disk, Kernel, Initrd, RamDisk
	// Required: true
	Target *string `json:"target"`

	// User defined volume to use for this drive
	Volumelabel string `json:"volumelabel,omitempty"`
}

Drive Drive details

Drive configuration ¶

swagger:model drive

func (*Drive) ContextValidate ¶

func (m *Drive) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this drive based on context it is used

func (*Drive) MarshalBinary ¶

func (m *Drive) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Drive) UnmarshalBinary ¶

func (m *Drive) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Drive) Validate ¶

func (m *Drive) Validate(formats strfmt.Registry) error

Validate validates this drive

type ECDSA ¶

type ECDSA struct {

	// ECDSA curve to be used while signing the certificate.
	Curve string `json:"curve,omitempty"`
}

ECDSA e c d s a

swagger:model ECDSA

func (*ECDSA) ContextValidate ¶

func (m *ECDSA) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e c d s a based on context it is used

func (*ECDSA) MarshalBinary ¶

func (m *ECDSA) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ECDSA) UnmarshalBinary ¶

func (m *ECDSA) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ECDSA) Validate ¶

func (m *ECDSA) Validate(formats strfmt.Registry) error

Validate validates this e c d s a

type EDConfigItem ¶

type EDConfigItem struct {

	// boolean value
	BoolValue bool `json:"boolValue,omitempty"`

	// float value
	FloatValue float32 `json:"floatValue,omitempty"`

	// key
	Key string `json:"key,omitempty"`

	// string value
	StringValue string `json:"stringValue,omitempty"`

	// uint32 value
	Uint32Value uint32 `json:"uint32Value,omitempty"`

	// uint64 value in string format
	Uint64Value string `json:"uint64Value,omitempty"`

	// value type
	ValueType string `json:"valueType,omitempty"`
}

EDConfigItem EDConfigItem payload detail

ED Configuration Item request paylod ¶

swagger:model EDConfigItem

func (*EDConfigItem) ContextValidate ¶

func (m *EDConfigItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this e d config item based on context it is used

func (*EDConfigItem) MarshalBinary ¶

func (m *EDConfigItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EDConfigItem) UnmarshalBinary ¶

func (m *EDConfigItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EDConfigItem) Validate ¶

func (m *EDConfigItem) Validate(formats strfmt.Registry) error

Validate validates this e d config item

type EIDRegister ¶

type EIDRegister struct {

	// app certificate
	// Required: true
	// Format: byte
	AppCert *strfmt.Base64 `json:"AppCert"`

	// App private key
	// Required: true
	// Format: byte
	AppPrivateKey *strfmt.Base64 `json:"AppPrivateKey"`

	// App public key
	// Required: true
	// Format: byte
	AppPublicKey *strfmt.Base64 `json:"AppPublicKey"`

	// Display name
	// Required: true
	DisplayName *string `json:"DisplayName"`

	// EID
	// Required: true
	EID *string `json:"EID"`

	// EID hash length
	// Required: true
	EIDHashLen *int64 `json:"EIDHashLen"`

	// Lisp Instance
	// Required: true
	LispInstance *int64 `json:"LispInstance"`

	// time CreateTime     time.Time
	//
	// Lisp Map Server
	// Required: true
	LispMapServers []*LispServer `json:"LispMapServers"`

	// Lisp Signature
	// Required: true
	LispSignature *string `json:"LispSignature"`

	// UUID
	// Required: true
	UUID *string `json:"UUID"`
}

EIDRegister EID Register detail

EID Register ¶

swagger:model EIDRegister

func (*EIDRegister) ContextValidate ¶

func (m *EIDRegister) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this e ID register based on the context it is used

func (*EIDRegister) MarshalBinary ¶

func (m *EIDRegister) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EIDRegister) UnmarshalBinary ¶

func (m *EIDRegister) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EIDRegister) Validate ¶

func (m *EIDRegister) Validate(formats strfmt.Registry) error

Validate validates this e ID register

type EdgeviewCfg ¶ added in v1.0.2

type EdgeviewCfg struct {

	// app policy
	AppPolicy *AppAccessPolicy `json:"appPolicy,omitempty"`

	// dev policy
	DevPolicy *DevAccessPolicy `json:"devPolicy,omitempty"`

	// ext policy
	ExtPolicy *ExtAccessPolicy `json:"extPolicy,omitempty"`

	// generation Id
	GenerationID int64 `json:"generationId,omitempty"`

	// jwt info
	JwtInfo *JWTInfo `json:"jwtInfo,omitempty"`

	// token
	Token string `json:"token,omitempty"`
}

EdgeviewCfg edgeview cfg

swagger:model EdgeviewCfg

func (*EdgeviewCfg) ContextValidate ¶ added in v1.0.2

func (m *EdgeviewCfg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgeview cfg based on the context it is used

func (*EdgeviewCfg) MarshalBinary ¶ added in v1.0.2

func (m *EdgeviewCfg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeviewCfg) UnmarshalBinary ¶ added in v1.0.2

func (m *EdgeviewCfg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeviewCfg) Validate ¶ added in v1.0.2

func (m *EdgeviewCfg) Validate(formats strfmt.Registry) error

Validate validates this edgeview cfg

type EdgeviewPolicy ¶ added in v1.0.2

type EdgeviewPolicy struct {

	// Allow inherit instance to change access policy
	AccessAllowChange bool `json:"accessAllowChange,omitempty"`

	// Allow device to enable Edgeview in this project
	// Required: true
	EdgeviewAllow *bool `json:"edgeviewAllow"`

	// Edgeview configuration and policies
	Edgeviewcfg *EdgeviewCfg `json:"edgeviewcfg,omitempty"`

	// Maximum seconds allowed for Edgeview session
	MaxExpireSec int64 `json:"maxExpireSec,omitempty"`

	// Maximum instances allowed for Edgeview
	MaxInst int64 `json:"maxInst,omitempty"`
}

EdgeviewPolicy Edgeview policy body detail

Policy for device edgeview operation ¶

swagger:model EdgeviewPolicy

func (*EdgeviewPolicy) ContextValidate ¶ added in v1.0.2

func (m *EdgeviewPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this edgeview policy based on the context it is used

func (*EdgeviewPolicy) MarshalBinary ¶ added in v1.0.2

func (m *EdgeviewPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EdgeviewPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *EdgeviewPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EdgeviewPolicy) Validate ¶ added in v1.0.2

func (m *EdgeviewPolicy) Validate(formats strfmt.Registry) error

Validate validates this edgeview policy

type EnrollmentDetail ¶

type EnrollmentDetail struct {

	// allocation policy
	AllocationPolicy *AllocationPolicy `json:"allocationPolicy,omitempty"`

	// attached iot hubs name
	AttachedIotHubsName []string `json:"attachedIotHubsName"`

	// certificate enrollment
	CertificateEnrollment CertificateEnrollmentDetail `json:"certificateEnrollment,omitempty"`

	// enable iot edge device
	EnableIotEdgeDevice bool `json:"enableIotEdgeDevice,omitempty"`

	// mechanism
	Mechanism *EnrollmentMechanism `json:"mechanism,omitempty"`

	// symmetric key enrollment
	SymmetricKeyEnrollment *SymmetricKeyEnrollmentDetail `json:"symmetricKeyEnrollment,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// tpm enrollment
	TpmEnrollment *TPMEnrollmentDetail `json:"tpmEnrollment,omitempty"`
}

EnrollmentDetail enrollment detail

swagger:model EnrollmentDetail

func (*EnrollmentDetail) ContextValidate ¶

func (m *EnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enrollment detail based on the context it is used

func (*EnrollmentDetail) MarshalBinary ¶

func (m *EnrollmentDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnrollmentDetail) UnmarshalBinary ¶

func (m *EnrollmentDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnrollmentDetail) Validate ¶

func (m *EnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this enrollment detail

type EnrollmentMechanism ¶

type EnrollmentMechanism string

EnrollmentMechanism attestation/mechanism supported by azure.

swagger:model EnrollmentMechanism

const (

	// EnrollmentMechanismENROLLMENTMECHANISMUNSPECIFIED captures enum value "ENROLLMENT_MECHANISM_UNSPECIFIED"
	EnrollmentMechanismENROLLMENTMECHANISMUNSPECIFIED EnrollmentMechanism = "ENROLLMENT_MECHANISM_UNSPECIFIED"

	// EnrollmentMechanismENROLLMENTMECHANISMSYMMETRICKEY captures enum value "ENROLLMENT_MECHANISM_SYMMETRICKEY"
	EnrollmentMechanismENROLLMENTMECHANISMSYMMETRICKEY EnrollmentMechanism = "ENROLLMENT_MECHANISM_SYMMETRICKEY"

	// EnrollmentMechanismENROLLMENTMECHANISMCERTIFICATE captures enum value "ENROLLMENT_MECHANISM_CERTIFICATE"
	EnrollmentMechanismENROLLMENTMECHANISMCERTIFICATE EnrollmentMechanism = "ENROLLMENT_MECHANISM_CERTIFICATE"

	// EnrollmentMechanismENROLLMENTMECHANISMTPM captures enum value "ENROLLMENT_MECHANISM_TPM"
	EnrollmentMechanismENROLLMENTMECHANISMTPM EnrollmentMechanism = "ENROLLMENT_MECHANISM_TPM"
)

func NewEnrollmentMechanism ¶

func NewEnrollmentMechanism(value EnrollmentMechanism) *EnrollmentMechanism

func (EnrollmentMechanism) ContextValidate ¶

func (m EnrollmentMechanism) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enrollment mechanism based on context it is used

func (EnrollmentMechanism) Pointer ¶

Pointer returns a pointer to a freshly-allocated EnrollmentMechanism.

func (EnrollmentMechanism) Validate ¶

func (m EnrollmentMechanism) Validate(formats strfmt.Registry) error

Validate validates this enrollment mechanism

type EnrollmentType ¶

type EnrollmentType string

EnrollmentType enrollment types.

swagger:model EnrollmentType

const (

	// EnrollmentTypeENROLLMENTTYPEUNSPECIFIED captures enum value "ENROLLMENT_TYPE_UNSPECIFIED"
	EnrollmentTypeENROLLMENTTYPEUNSPECIFIED EnrollmentType = "ENROLLMENT_TYPE_UNSPECIFIED"

	// EnrollmentTypeENROLLMENTTYPEINDIVIDUAL captures enum value "ENROLLMENT_TYPE_INDIVIDUAL"
	EnrollmentTypeENROLLMENTTYPEINDIVIDUAL EnrollmentType = "ENROLLMENT_TYPE_INDIVIDUAL"

	// EnrollmentTypeENROLLMENTTYPEGROUP captures enum value "ENROLLMENT_TYPE_GROUP"
	EnrollmentTypeENROLLMENTTYPEGROUP EnrollmentType = "ENROLLMENT_TYPE_GROUP"
)

func NewEnrollmentType ¶

func NewEnrollmentType(value EnrollmentType) *EnrollmentType

func (EnrollmentType) ContextValidate ¶

func (m EnrollmentType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enrollment type based on context it is used

func (EnrollmentType) Pointer ¶

func (m EnrollmentType) Pointer() *EnrollmentType

Pointer returns a pointer to a freshly-allocated EnrollmentType.

func (EnrollmentType) Validate ¶

func (m EnrollmentType) Validate(formats strfmt.Registry) error

Validate validates this enrollment type

type Enterprise ¶

type Enterprise struct {

	// hubspot Id
	HubspotID string `json:"HubspotId,omitempty"`

	// sfdc Id
	SfdcID string `json:"SfdcId,omitempty"`

	// enterprise level key-value pairs
	Attributes map[string]string `json:"attributes,omitempty"`

	// Azure subscription ID tied to this enterprise
	AzureSubID string `json:"azureSubId,omitempty"`

	// List of all child enterprises
	ChildEnterprises []*EnterpriseSummary `json:"childEnterprises"`

	// zedcontrol host
	ControllerHostURL string `json:"controllerHostURL,omitempty"`

	// Detailed description of the enterprise
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Unique system defined enterprise ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// Perform authorization using parent enterprise
	InheritAuthFromParent bool `json:"inheritAuthFromParent,omitempty"`

	// User defined name of the enterprise. Once enterprise is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// string id = 100;
	// string name = 101;
	//
	// Parent enterprise ID
	// Pattern: [0-9A-Za-z_=-]{28}
	ParentEntpID string `json:"parentEntpId,omitempty"`

	// Policy version list
	PolicyList *PolicyVersionList `json:"policyList,omitempty"`

	// List of realms associated with the enterprise
	Realms []string `json:"realms"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Enterprise state
	State *EnterpriseState `json:"state,omitempty"`

	// Enable / Disable streaming of events to 3rd party end point
	StreamEvents *DataStream `json:"streamEvents,omitempty"`

	// User defined title for the enterprise. Title can be changed any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Enterprise type
	Type *EnterpriseType `json:"type,omitempty"`
}

Enterprise Enterprise detail

Enterprise meta data Example: {"HubspotId":"","SfdcId":"","azureSubId":"","description":"This is a test enterprise","id":"AAFlABDe6Nm63ixF5LJBbk9Keqp6","name":"zededa","parentEntpId":"","policyList":{"list":[]},"revision":{"createdAt":"2020-07-16T18:19:56Z","createdBy":"SYSTEM_ROOT","curr":"1","prev":"","updatedAt":"2020-07-16T18:19:56Z","updatedBy":"SYSTEM_ROOT"},"state":"ENTERPRISE_STATE_ACTIVE","title":"ZEDEDA Inc. USA","type":"ENTERPRISE_TYPE_UNSPECIFIED"}

swagger:model Enterprise

func (*Enterprise) ContextValidate ¶

func (m *Enterprise) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprise based on the context it is used

func (*Enterprise) MarshalBinary ¶

func (m *Enterprise) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Enterprise) UnmarshalBinary ¶

func (m *Enterprise) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Enterprise) Validate ¶

func (m *Enterprise) Validate(formats strfmt.Registry) error

Validate validates this enterprise

type EnterpriseState ¶

type EnterpriseState string

EnterpriseState enterprise state

swagger:model EnterpriseState

const (

	// EnterpriseStateENTERPRISESTATEUNSPECIFIED captures enum value "ENTERPRISE_STATE_UNSPECIFIED"
	EnterpriseStateENTERPRISESTATEUNSPECIFIED EnterpriseState = "ENTERPRISE_STATE_UNSPECIFIED"

	// EnterpriseStateENTERPRISESTATECREATED captures enum value "ENTERPRISE_STATE_CREATED"
	EnterpriseStateENTERPRISESTATECREATED EnterpriseState = "ENTERPRISE_STATE_CREATED"

	// EnterpriseStateENTERPRISESTATEDELETED captures enum value "ENTERPRISE_STATE_DELETED"
	EnterpriseStateENTERPRISESTATEDELETED EnterpriseState = "ENTERPRISE_STATE_DELETED"

	// EnterpriseStateENTERPRISESTATEACTIVE captures enum value "ENTERPRISE_STATE_ACTIVE"
	EnterpriseStateENTERPRISESTATEACTIVE EnterpriseState = "ENTERPRISE_STATE_ACTIVE"

	// EnterpriseStateENTERPRISESTATEINACTIVE captures enum value "ENTERPRISE_STATE_INACTIVE"
	EnterpriseStateENTERPRISESTATEINACTIVE EnterpriseState = "ENTERPRISE_STATE_INACTIVE"

	// EnterpriseStateENTERPRISESTATESIGNEDUP captures enum value "ENTERPRISE_STATE_SIGNEDUP"
	EnterpriseStateENTERPRISESTATESIGNEDUP EnterpriseState = "ENTERPRISE_STATE_SIGNEDUP"
)

func NewEnterpriseState ¶

func NewEnterpriseState(value EnterpriseState) *EnterpriseState

func (EnterpriseState) ContextValidate ¶

func (m EnterpriseState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise state based on context it is used

func (EnterpriseState) Pointer ¶

func (m EnterpriseState) Pointer() *EnterpriseState

Pointer returns a pointer to a freshly-allocated EnterpriseState.

func (EnterpriseState) Validate ¶

func (m EnterpriseState) Validate(formats strfmt.Registry) error

Validate validates this enterprise state

type EnterpriseSummary ¶

type EnterpriseSummary struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

EnterpriseSummary enterprise summary

swagger:model EnterpriseSummary

func (*EnterpriseSummary) ContextValidate ¶

func (m *EnterpriseSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise summary based on context it is used

func (*EnterpriseSummary) MarshalBinary ¶

func (m *EnterpriseSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EnterpriseSummary) UnmarshalBinary ¶

func (m *EnterpriseSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EnterpriseSummary) Validate ¶

func (m *EnterpriseSummary) Validate(formats strfmt.Registry) error

Validate validates this enterprise summary

type EnterpriseType ¶

type EnterpriseType string

EnterpriseType enterprise type

swagger:model EnterpriseType

const (

	// EnterpriseTypeENTERPRISETYPEUNSPECIFIED captures enum value "ENTERPRISE_TYPE_UNSPECIFIED"
	EnterpriseTypeENTERPRISETYPEUNSPECIFIED EnterpriseType = "ENTERPRISE_TYPE_UNSPECIFIED"

	// EnterpriseTypeENTERPRISETYPESELFSIGNUP captures enum value "ENTERPRISE_TYPE_SELFSIGNUP"
	EnterpriseTypeENTERPRISETYPESELFSIGNUP EnterpriseType = "ENTERPRISE_TYPE_SELFSIGNUP"
)

func NewEnterpriseType ¶

func NewEnterpriseType(value EnterpriseType) *EnterpriseType

func (EnterpriseType) ContextValidate ¶

func (m EnterpriseType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this enterprise type based on context it is used

func (EnterpriseType) Pointer ¶

func (m EnterpriseType) Pointer() *EnterpriseType

Pointer returns a pointer to a freshly-allocated EnterpriseType.

func (EnterpriseType) Validate ¶

func (m EnterpriseType) Validate(formats strfmt.Registry) error

Validate validates this enterprise type

type Enterprises ¶

type Enterprises struct {

	// List of enterprises
	List []*Enterprise `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered enterprises
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

Enterprises enterprises

swagger:model Enterprises

func (*Enterprises) ContextValidate ¶

func (m *Enterprises) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this enterprises based on the context it is used

func (*Enterprises) MarshalBinary ¶

func (m *Enterprises) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Enterprises) UnmarshalBinary ¶

func (m *Enterprises) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Enterprises) Validate ¶

func (m *Enterprises) Validate(formats strfmt.Registry) error

Validate validates this enterprises

type Entitlement ¶ added in v1.0.2

type Entitlement struct {

	// Device entitlement data
	Devices []*DeviceEntitlement `json:"devices"`

	// Enterprise id for which we want to post/get enforce entitlement
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Enterprise name for which we want to post/get enforce entitlement
	// Pattern: [0-9A-Za-z-]+
	EntpName string `json:"entpName,omitempty"`

	// Plugin entitlement data
	Plugins *PluginEntitlement `json:"plugins,omitempty"`

	// User entitlement data
	UserCount *UserEntitlement `json:"userCount,omitempty"`
}

Entitlement Entitlement data

Get Entitlement data ¶

swagger:model Entitlement

func (*Entitlement) ContextValidate ¶ added in v1.0.2

func (m *Entitlement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this entitlement based on the context it is used

func (*Entitlement) MarshalBinary ¶ added in v1.0.2

func (m *Entitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Entitlement) UnmarshalBinary ¶ added in v1.0.2

func (m *Entitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Entitlement) Validate ¶ added in v1.0.2

func (m *Entitlement) Validate(formats strfmt.Registry) error

Validate validates this entitlement

type Entity ¶

type Entity string

Entity Edge node components

- ENTITY_UNSPECIFIED: Invalid Device Entity

  • ENTITY_BASE_OS: Base OS entity
  • ENTITY_SYSTEM_ADAPTER: System Adapter Entity
  • ENTITY_VAULT: Vault Entity
  • ENTITY_ATTESTATION: Attestation Entity
  • ENTITY_APP_INSTANCE: App Instance Entity
  • ENTITY_PORT: Port Entity
  • ENTITY_NETWORK: Network Entity
  • ENTITY_NETWORK_INSTANCE: Network Instance Entity
  • ENTITY_CONTENT_TREE: ContentTree Entity
  • ENTITY_CONTENT_BLOB: Blob Entity
  • ENTITY_VOLUME: VOLUME Entity

swagger:model Entity

const (

	// EntityENTITYUNSPECIFIED captures enum value "ENTITY_UNSPECIFIED"
	EntityENTITYUNSPECIFIED Entity = "ENTITY_UNSPECIFIED"

	// EntityENTITYBASEOS captures enum value "ENTITY_BASE_OS"
	EntityENTITYBASEOS Entity = "ENTITY_BASE_OS"

	// EntityENTITYSYSTEMADAPTER captures enum value "ENTITY_SYSTEM_ADAPTER"
	EntityENTITYSYSTEMADAPTER Entity = "ENTITY_SYSTEM_ADAPTER"

	// EntityENTITYVAULT captures enum value "ENTITY_VAULT"
	EntityENTITYVAULT Entity = "ENTITY_VAULT"

	// EntityENTITYATTESTATION captures enum value "ENTITY_ATTESTATION"
	EntityENTITYATTESTATION Entity = "ENTITY_ATTESTATION"

	// EntityENTITYAPPINSTANCE captures enum value "ENTITY_APP_INSTANCE"
	EntityENTITYAPPINSTANCE Entity = "ENTITY_APP_INSTANCE"

	// EntityENTITYPORT captures enum value "ENTITY_PORT"
	EntityENTITYPORT Entity = "ENTITY_PORT"

	// EntityENTITYNETWORK captures enum value "ENTITY_NETWORK"
	EntityENTITYNETWORK Entity = "ENTITY_NETWORK"

	// EntityENTITYNETWORKINSTANCE captures enum value "ENTITY_NETWORK_INSTANCE"
	EntityENTITYNETWORKINSTANCE Entity = "ENTITY_NETWORK_INSTANCE"

	// EntityENTITYCONTENTTREE captures enum value "ENTITY_CONTENT_TREE"
	EntityENTITYCONTENTTREE Entity = "ENTITY_CONTENT_TREE"

	// EntityENTITYCONTENTBLOB captures enum value "ENTITY_CONTENT_BLOB"
	EntityENTITYCONTENTBLOB Entity = "ENTITY_CONTENT_BLOB"

	// EntityENTITYVOLUME captures enum value "ENTITY_VOLUME"
	EntityENTITYVOLUME Entity = "ENTITY_VOLUME"
)

func NewEntity ¶

func NewEntity(value Entity) *Entity

func (Entity) ContextValidate ¶

func (m Entity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this entity based on context it is used

func (Entity) Pointer ¶

func (m Entity) Pointer() *Entity

Pointer returns a pointer to a freshly-allocated Entity.

func (Entity) Validate ¶

func (m Entity) Validate(formats strfmt.Registry) error

Validate validates this entity

type EvecommonDiskDescription ¶ added in v1.0.2

type EvecommonDiskDescription struct {

	// logical name
	LogicalName string `json:"logicalName,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// serial
	Serial string `json:"serial,omitempty"`
}

EvecommonDiskDescription DiskDescription describes disk we can use different data to locate disk in the system

swagger:model evecommonDiskDescription

func (*EvecommonDiskDescription) ContextValidate ¶ added in v1.0.2

func (m *EvecommonDiskDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this evecommon disk description based on context it is used

func (*EvecommonDiskDescription) MarshalBinary ¶ added in v1.0.2

func (m *EvecommonDiskDescription) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EvecommonDiskDescription) UnmarshalBinary ¶ added in v1.0.2

func (m *EvecommonDiskDescription) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EvecommonDiskDescription) Validate ¶ added in v1.0.2

func (m *EvecommonDiskDescription) Validate(formats strfmt.Registry) error

Validate validates this evecommon disk description

type EveconfigImage ¶

type EveconfigImage struct {

	// ds Id
	DsID string `json:"dsId,omitempty"`

	// iformat
	Iformat *ConfigFormat `json:"iformat,omitempty"`

	// it could be relative path/name as well; appended to the datastore dpath
	Name string `json:"name,omitempty"`

	// sha256
	Sha256 string `json:"sha256,omitempty"`

	// if its signed image
	Siginfo *ConfigSignatureInfo `json:"siginfo,omitempty"`

	// sizeBytes indicates the maximum download size of an image.
	// A value of 0 will indicate the unlimited download.
	SizeBytes string `json:"sizeBytes,omitempty"`

	// uuidandversion
	Uuidandversion *ConfigUUIDandVersion `json:"uuidandversion,omitempty"`
}

EveconfigImage XXX the Image will be deprecated and we will use ContentTree instead

swagger:model eveconfigImage

func (*EveconfigImage) ContextValidate ¶

func (m *EveconfigImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this eveconfig image based on the context it is used

func (*EveconfigImage) MarshalBinary ¶

func (m *EveconfigImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EveconfigImage) UnmarshalBinary ¶

func (m *EveconfigImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EveconfigImage) Validate ¶

func (m *EveconfigImage) Validate(formats strfmt.Registry) error

Validate validates this eveconfig image

type EventQueryResponse ¶

type EventQueryResponse struct {

	// Event Query response list
	// Required: true
	List []*EventQueryResponseItem `json:"list"`

	// Cursor filter
	// Required: true
	Next *Cursor `json:"next"`

	// Summary of filtered events.
	Summary *Summary `json:"summary,omitempty"`
}

EventQueryResponse Event query Response payload detail

Event query response request payload ¶

swagger:model EventQueryResponse

func (*EventQueryResponse) ContextValidate ¶

func (m *EventQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event query response based on the context it is used

func (*EventQueryResponse) MarshalBinary ¶

func (m *EventQueryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventQueryResponse) UnmarshalBinary ¶

func (m *EventQueryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventQueryResponse) Validate ¶

func (m *EventQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this event query response

type EventQueryResponseItem ¶

type EventQueryResponseItem struct {

	// clusterInstance name
	ClusterInstance string `json:"clusterInstance,omitempty"`

	// Event description
	Description string `json:"description,omitempty"`

	// device name
	Device string `json:"device,omitempty"`

	// Event type
	EventType string `json:"eventType,omitempty"`

	// instance name
	Instance string `json:"instance,omitempty"`

	// Event resources
	JSONData interface{} `json:"jsonData,omitempty"`

	// project name
	Project string `json:"project,omitempty"`

	// Event resources
	Resource string `json:"resource,omitempty"`

	// Event resources
	ResourceName string `json:"resourceName,omitempty"`

	// severity: FIXME: should be ENUM
	Severity string `json:"severity,omitempty"`

	// source
	Source *EventSource `json:"source,omitempty"`

	// Event tags
	Tags []string `json:"tags"`

	// event timestamp
	Timestamp interface{} `json:"timestamp,omitempty"`

	// User name
	User string `json:"user,omitempty"`
}

EventQueryResponseItem Event query response item payload detail

Event query response item payload ¶

swagger:model EventQueryResponseItem

func (*EventQueryResponseItem) ContextValidate ¶

func (m *EventQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event query response item based on the context it is used

func (*EventQueryResponseItem) MarshalBinary ¶

func (m *EventQueryResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventQueryResponseItem) UnmarshalBinary ¶

func (m *EventQueryResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventQueryResponseItem) Validate ¶

func (m *EventQueryResponseItem) Validate(formats strfmt.Registry) error

Validate validates this event query response item

type EventSource ¶

type EventSource string

EventSource Source of events

- EVENT_SOURCE_UNSPECIFIED: Default

  • EVENT_SOURCE_SYSTEM: Event is generated as a result of status change reported by edge node / application
  • EVENT_SOURCE_USER: Event is generated as a result of an user's configuration action

swagger:model EventSource

const (

	// EventSourceEVENTSOURCEUNSPECIFIED captures enum value "EVENT_SOURCE_UNSPECIFIED"
	EventSourceEVENTSOURCEUNSPECIFIED EventSource = "EVENT_SOURCE_UNSPECIFIED"

	// EventSourceEVENTSOURCESYSTEM captures enum value "EVENT_SOURCE_SYSTEM"
	EventSourceEVENTSOURCESYSTEM EventSource = "EVENT_SOURCE_SYSTEM"

	// EventSourceEVENTSOURCEUSER captures enum value "EVENT_SOURCE_USER"
	EventSourceEVENTSOURCEUSER EventSource = "EVENT_SOURCE_USER"
)

func NewEventSource ¶

func NewEventSource(value EventSource) *EventSource

func (EventSource) ContextValidate ¶

func (m EventSource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event source based on context it is used

func (EventSource) Pointer ¶

func (m EventSource) Pointer() *EventSource

Pointer returns a pointer to a freshly-allocated EventSource.

func (EventSource) Validate ¶

func (m EventSource) Validate(formats strfmt.Registry) error

Validate validates this event source

type EventTopUsersData ¶ added in v1.0.2

type EventTopUsersData struct {

	// event count
	EventCount int64 `json:"eventCount,omitempty"`

	// user name
	UserName string `json:"userName,omitempty"`
}

EventTopUsersData event top users data

swagger:model EventTopUsersData

func (*EventTopUsersData) ContextValidate ¶ added in v1.0.2

func (m *EventTopUsersData) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this event top users data based on context it is used

func (*EventTopUsersData) MarshalBinary ¶ added in v1.0.2

func (m *EventTopUsersData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventTopUsersData) UnmarshalBinary ¶ added in v1.0.2

func (m *EventTopUsersData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventTopUsersData) Validate ¶ added in v1.0.2

func (m *EventTopUsersData) Validate(formats strfmt.Registry) error

Validate validates this event top users data

type EventTopUsersResp ¶ added in v1.0.2

type EventTopUsersResp struct {

	// top users
	TopUsers []*EventTopUsersData `json:"topUsers"`
}

EventTopUsersResp event top users resp

swagger:model EventTopUsersResp

func (*EventTopUsersResp) ContextValidate ¶ added in v1.0.2

func (m *EventTopUsersResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this event top users resp based on the context it is used

func (*EventTopUsersResp) MarshalBinary ¶ added in v1.0.2

func (m *EventTopUsersResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventTopUsersResp) UnmarshalBinary ¶ added in v1.0.2

func (m *EventTopUsersResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventTopUsersResp) Validate ¶ added in v1.0.2

func (m *EventTopUsersResp) Validate(formats strfmt.Registry) error

Validate validates this event top users resp

type ExtAccessPolicy ¶ added in v1.0.2

type ExtAccessPolicy struct {

	// external of device edge-view access is allowed or not
	AllowExt bool `json:"allowExt,omitempty"`
}

ExtAccessPolicy ext access policy

swagger:model ExtAccessPolicy

func (*ExtAccessPolicy) ContextValidate ¶ added in v1.0.2

func (m *ExtAccessPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ext access policy based on context it is used

func (*ExtAccessPolicy) MarshalBinary ¶ added in v1.0.2

func (m *ExtAccessPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExtAccessPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *ExtAccessPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExtAccessPolicy) Validate ¶ added in v1.0.2

func (m *ExtAccessPolicy) Validate(formats strfmt.Registry) error

Validate validates this ext access policy

type FlowlogAction ¶

type FlowlogAction string

FlowlogAction flowlog action

swagger:model FlowlogAction

const (

	// FlowlogActionFLOWLOGACTIONUNSPECIFIED captures enum value "FLOW_LOG_ACTION_UNSPECIFIED"
	FlowlogActionFLOWLOGACTIONUNSPECIFIED FlowlogAction = "FLOW_LOG_ACTION_UNSPECIFIED"

	// FlowlogActionFLOWLOGACTIONDROP captures enum value "FLOW_LOG_ACTION_DROP"
	FlowlogActionFLOWLOGACTIONDROP FlowlogAction = "FLOW_LOG_ACTION_DROP"

	// FlowlogActionFLOWLOGACTIONACCEPT captures enum value "FLOW_LOG_ACTION_ACCEPT"
	FlowlogActionFLOWLOGACTIONACCEPT FlowlogAction = "FLOW_LOG_ACTION_ACCEPT"
)

func NewFlowlogAction ¶

func NewFlowlogAction(value FlowlogAction) *FlowlogAction

func (FlowlogAction) ContextValidate ¶

func (m FlowlogAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog action based on context it is used

func (FlowlogAction) Pointer ¶

func (m FlowlogAction) Pointer() *FlowlogAction

Pointer returns a pointer to a freshly-allocated FlowlogAction.

func (FlowlogAction) Validate ¶

func (m FlowlogAction) Validate(formats strfmt.Registry) error

Validate validates this flowlog action

type FlowlogCategoryType ¶

type FlowlogCategoryType string

FlowlogCategoryType flowlog category type

swagger:model FlowlogCategoryType

const (

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEUNSPECIFIED captures enum value "FLOW_LOG_CATEGORY_TYPE_UNSPECIFIED"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEUNSPECIFIED FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_UNSPECIFIED"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEDIRECTION captures enum value "FLOW_LOG_CATEGORY_TYPE_DIRECTION"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEDIRECTION FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_DIRECTION"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACLID captures enum value "FLOW_LOG_CATEGORY_TYPE_ACL_ID"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACLID FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_ACL_ID"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACTION captures enum value "FLOW_LOG_CATEGORY_TYPE_ACTION"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEACTION FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_ACTION"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEPROTO captures enum value "FLOW_LOG_CATEGORY_TYPE_PROTO"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEPROTO FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_PROTO"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEIP captures enum value "FLOW_LOG_CATEGORY_TYPE_REMOTE_IP"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEIP FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_REMOTE_IP"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEPORT captures enum value "FLOW_LOG_CATEGORY_TYPE_REMOTE_PORT"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEREMOTEPORT FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_REMOTE_PORT"

	// FlowlogCategoryTypeFLOWLOGCATEGORYTYPEFQDN captures enum value "FLOW_LOG_CATEGORY_TYPE_FQDN"
	FlowlogCategoryTypeFLOWLOGCATEGORYTYPEFQDN FlowlogCategoryType = "FLOW_LOG_CATEGORY_TYPE_FQDN"
)

func NewFlowlogCategoryType ¶

func NewFlowlogCategoryType(value FlowlogCategoryType) *FlowlogCategoryType

func (FlowlogCategoryType) ContextValidate ¶

func (m FlowlogCategoryType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog category type based on context it is used

func (FlowlogCategoryType) Pointer ¶

Pointer returns a pointer to a freshly-allocated FlowlogCategoryType.

func (FlowlogCategoryType) Validate ¶

func (m FlowlogCategoryType) Validate(formats strfmt.Registry) error

Validate validates this flowlog category type

type FlowlogDirection ¶

type FlowlogDirection string

FlowlogDirection flowlog direction

swagger:model FlowlogDirection

const (

	// FlowlogDirectionFLOWLOGDIRECTIONUNSPECIFIED captures enum value "FLOW_LOG_DIRECTION_UNSPECIFIED"
	FlowlogDirectionFLOWLOGDIRECTIONUNSPECIFIED FlowlogDirection = "FLOW_LOG_DIRECTION_UNSPECIFIED"

	// FlowlogDirectionFLOWLOGDIRECTIONEGRESS captures enum value "FLOW_LOG_DIRECTION_EGRESS"
	FlowlogDirectionFLOWLOGDIRECTIONEGRESS FlowlogDirection = "FLOW_LOG_DIRECTION_EGRESS"

	// FlowlogDirectionFLOWLOGDIRECTIONINGRESS captures enum value "FLOW_LOG_DIRECTION_INGRESS"
	FlowlogDirectionFLOWLOGDIRECTIONINGRESS FlowlogDirection = "FLOW_LOG_DIRECTION_INGRESS"
)

func NewFlowlogDirection ¶

func NewFlowlogDirection(value FlowlogDirection) *FlowlogDirection

func (FlowlogDirection) ContextValidate ¶

func (m FlowlogDirection) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog direction based on context it is used

func (FlowlogDirection) Pointer ¶

func (m FlowlogDirection) Pointer() *FlowlogDirection

Pointer returns a pointer to a freshly-allocated FlowlogDirection.

func (FlowlogDirection) Validate ¶

func (m FlowlogDirection) Validate(formats strfmt.Registry) error

Validate validates this flowlog direction

type FlowlogMetric ¶

type FlowlogMetric string

FlowlogMetric flowlog metric

swagger:model FlowlogMetric

const (

	// FlowlogMetricFLOWLOGMETRICUNSPECIFIED captures enum value "FLOW_LOG_METRIC_UNSPECIFIED"
	FlowlogMetricFLOWLOGMETRICUNSPECIFIED FlowlogMetric = "FLOW_LOG_METRIC_UNSPECIFIED"

	// FlowlogMetricFLOWLOGMETRICBYTES captures enum value "FLOW_LOG_METRIC_BYTES"
	FlowlogMetricFLOWLOGMETRICBYTES FlowlogMetric = "FLOW_LOG_METRIC_BYTES"

	// FlowlogMetricFLOWLOGMETRICPACKETS captures enum value "FLOW_LOG_METRIC_PACKETS"
	FlowlogMetricFLOWLOGMETRICPACKETS FlowlogMetric = "FLOW_LOG_METRIC_PACKETS"
)

func NewFlowlogMetric ¶

func NewFlowlogMetric(value FlowlogMetric) *FlowlogMetric

func (FlowlogMetric) ContextValidate ¶

func (m FlowlogMetric) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this flowlog metric based on context it is used

func (FlowlogMetric) Pointer ¶

func (m FlowlogMetric) Pointer() *FlowlogMetric

Pointer returns a pointer to a freshly-allocated FlowlogMetric.

func (FlowlogMetric) Validate ¶

func (m FlowlogMetric) Validate(formats strfmt.Registry) error

Validate validates this flowlog metric

type GPSLocation ¶ added in v1.0.2

type GPSLocation struct {

	// Altitude from mean sea level
	Altitude float64 `json:"altitude,omitempty"`

	// Horizontal reliability
	HorizontalReliability int64 `json:"horizontalReliability,omitempty"`

	// Horizontal uncertainty
	HorizontalUncertainty float64 `json:"horizontalUncertainty,omitempty"`

	// Latitude
	Latitude float64 `json:"latitude,omitempty"`

	// Logical label of the adapter used to get GPS coordinates
	LogicalLabel string `json:"logicalLabel,omitempty"`

	// Longitude
	Longitude float64 `json:"longitude,omitempty"`

	// UTC timestamp
	Timestamp interface{} `json:"timestamp,omitempty"`

	// Vertical reliability
	VerticalReliability int64 `json:"verticalReliability,omitempty"`

	// Vertical uncertainty
	VerticalUncertainty float64 `json:"verticalUncertainty,omitempty"`
}

GPSLocation g p s location

swagger:model GPSLocation

func (*GPSLocation) ContextValidate ¶ added in v1.0.2

func (m *GPSLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this g p s location based on context it is used

func (*GPSLocation) MarshalBinary ¶ added in v1.0.2

func (m *GPSLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GPSLocation) UnmarshalBinary ¶ added in v1.0.2

func (m *GPSLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GPSLocation) Validate ¶ added in v1.0.2

func (m *GPSLocation) Validate(formats strfmt.Registry) error

Validate validates this g p s location

type GeoLocation ¶

type GeoLocation struct {

	// City
	City string `json:"city,omitempty"`

	// Country code consisting of 2 capital letters as per ISO 3166-1 alpha2 standard
	Country string `json:"country,omitempty"`

	// Free formatted location string
	Freeloc string `json:"freeloc,omitempty"`

	// Host name
	Hostname string `json:"hostname,omitempty"`

	// Deprecated field: comma, separated lat, long
	Latlong string `json:"latlong,omitempty"`

	// Ordered pair of (latitude, longitude) separated by comma (,). Latitude is the horizontal component used for geographic positioning; it is the angle between 0° (the equator) and ±90° (north or south) at the poles measured in decimal degrees. It is the first value in an ordered pair. A negative number denotes a location south of the equator; a positive number is north. Longitude is the vertical component used for geographic positioning; it is the angle between 0° (the Prime Meridian) and ±180° (westward or eastward) measured in decimal degrees. It is the second number in an ordered pair. A negative number indicates a location west of Greenwich, England; a positive number east.
	Loc string `json:"loc,omitempty"`

	// The name of the recipient, firm, or company at this geographical location.
	Org string `json:"org,omitempty"`

	// Postal code (ZIP code for USA) of the geographical location
	Postal string `json:"postal,omitempty"`

	// Region
	Region string `json:"region,omitempty"`

	// Single IP address, either in IPv4 or in IPv6 format
	UnderlayIP string `json:"underlayIP,omitempty"`
}

GeoLocation Geographic location of an edge node

Geographic location of an edge node determined by a variety of data collection mechanisms (e.g. network routing addresses or internal GPS devices).

swagger:model GeoLocation

func (*GeoLocation) ContextValidate ¶

func (m *GeoLocation) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this geo location based on context it is used

func (*GeoLocation) MarshalBinary ¶

func (m *GeoLocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GeoLocation) UnmarshalBinary ¶

func (m *GeoLocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GeoLocation) Validate ¶

func (m *GeoLocation) Validate(formats strfmt.Registry) error

Validate validates this geo location

type GooglerpcStatus ¶ added in v1.0.2

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 ¶ added in v1.0.2

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 ¶ added in v1.0.2

func (m *GooglerpcStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GooglerpcStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *GooglerpcStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GooglerpcStatus) Validate ¶ added in v1.0.2

func (m *GooglerpcStatus) Validate(formats strfmt.Registry) error

Validate validates this googlerpc status

type GroupSymmetricKeyEnrollment ¶

type GroupSymmetricKeyEnrollment struct {

	// group name
	GroupName string `json:"groupName,omitempty"`
}

GroupSymmetricKeyEnrollment group symmetric key enrollment

swagger:model GroupSymmetricKeyEnrollment

func (*GroupSymmetricKeyEnrollment) ContextValidate ¶

func (m *GroupSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this group symmetric key enrollment based on context it is used

func (*GroupSymmetricKeyEnrollment) MarshalBinary ¶

func (m *GroupSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GroupSymmetricKeyEnrollment) UnmarshalBinary ¶

func (m *GroupSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GroupSymmetricKeyEnrollment) Validate ¶

func (m *GroupSymmetricKeyEnrollment) Validate(formats strfmt.Registry) error

Validate validates this group symmetric key enrollment

type HealthDesc ¶

type HealthDesc struct {

	// brief health
	BriefHealth *BriefHealth `json:"briefHealth,omitempty"`

	// env name
	EnvName string `json:"envName,omitempty"`

	// host name
	HostName string `json:"hostName,omitempty"`

	// service instance
	ServiceInstance string `json:"serviceInstance,omitempty"`

	// service name
	ServiceName string `json:"serviceName,omitempty"`
}

HealthDesc health desc

swagger:model HealthDesc

func (*HealthDesc) ContextValidate ¶

func (m *HealthDesc) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this health desc based on the context it is used

func (*HealthDesc) MarshalBinary ¶

func (m *HealthDesc) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HealthDesc) UnmarshalBinary ¶

func (m *HealthDesc) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HealthDesc) Validate ¶

func (m *HealthDesc) Validate(formats strfmt.Registry) error

Validate validates this health desc

type HealthServiceResp ¶

type HealthServiceResp struct {

	// health desc
	HealthDesc []*HealthDesc `json:"healthDesc"`

	// health service
	HealthService *HealthServiceSubType `json:"healthService,omitempty"`

	// hresult
	Hresult *ZsrvResponse `json:"hresult,omitempty"`
}

HealthServiceResp health service resp

swagger:model HealthServiceResp

func (*HealthServiceResp) ContextValidate ¶

func (m *HealthServiceResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this health service resp based on the context it is used

func (*HealthServiceResp) MarshalBinary ¶

func (m *HealthServiceResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HealthServiceResp) UnmarshalBinary ¶

func (m *HealthServiceResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HealthServiceResp) Validate ¶

func (m *HealthServiceResp) Validate(formats strfmt.Registry) error

Validate validates this health service resp

type HealthServiceSubType ¶

type HealthServiceSubType string

HealthServiceSubType health service sub type

swagger:model HealthServiceSubType

const (

	// HealthServiceSubTypePublisher captures enum value "Publisher"
	HealthServiceSubTypePublisher HealthServiceSubType = "Publisher"

	// HealthServiceSubTypeSubscriber captures enum value "Subscriber"
	HealthServiceSubTypeSubscriber HealthServiceSubType = "Subscriber"
)

func NewHealthServiceSubType ¶

func NewHealthServiceSubType(value HealthServiceSubType) *HealthServiceSubType

func (HealthServiceSubType) ContextValidate ¶

func (m HealthServiceSubType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this health service sub type based on context it is used

func (HealthServiceSubType) Pointer ¶

Pointer returns a pointer to a freshly-allocated HealthServiceSubType.

func (HealthServiceSubType) Validate ¶

func (m HealthServiceSubType) Validate(formats strfmt.Registry) error

Validate validates this health service sub type

type HelloName ¶

type HelloName struct {

	// crypto key
	CryptoKey string `json:"cryptoKey,omitempty"`

	// encrypted secrets
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// first name
	FirstName string `json:"firstName,omitempty"`

	// last name
	LastName string `json:"lastName,omitempty"`
}

HelloName hello name

swagger:model HelloName

func (*HelloName) ContextValidate ¶

func (m *HelloName) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hello name based on context it is used

func (*HelloName) MarshalBinary ¶

func (m *HelloName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelloName) UnmarshalBinary ¶

func (m *HelloName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelloName) Validate ¶

func (m *HelloName) Validate(formats strfmt.Registry) error

Validate validates this hello name

type HelloResp ¶

type HelloResp struct {

	// response
	Response string `json:"response,omitempty"`
}

HelloResp hello resp

swagger:model HelloResp

func (*HelloResp) ContextValidate ¶

func (m *HelloResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hello resp based on context it is used

func (*HelloResp) MarshalBinary ¶

func (m *HelloResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HelloResp) UnmarshalBinary ¶

func (m *HelloResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HelloResp) Validate ¶

func (m *HelloResp) Validate(formats strfmt.Registry) error

Validate validates this hello resp

type HvMode ¶

type HvMode string

HvMode For now we need to tell the device which virtualization mode to use. Later we might use a single one for all VMs (on any particular ISA). If we end up keeping this we should make the names be less tied to a particular hypervisor.

swagger:model hvMode

const (

	// HvModeHVPV captures enum value "HV_PV"
	HvModeHVPV HvMode = "HV_PV"

	// HvModeHVHVM captures enum value "HV_HVM"
	HvModeHVHVM HvMode = "HV_HVM"

	// HvModeHVFML captures enum value "HV_FML"
	HvModeHVFML HvMode = "HV_FML"

	// HvModeHVNOHYPER captures enum value "HV_NOHYPER"
	HvModeHVNOHYPER HvMode = "HV_NOHYPER"

	// HvModeHVLEGACY captures enum value "HV_LEGACY"
	HvModeHVLEGACY HvMode = "HV_LEGACY"
)

func NewHvMode ¶

func NewHvMode(value HvMode) *HvMode

func (HvMode) ContextValidate ¶

func (m HvMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this hv mode based on context it is used

func (HvMode) Pointer ¶

func (m HvMode) Pointer() *HvMode

Pointer returns a pointer to a freshly-allocated HvMode.

func (HvMode) Validate ¶

func (m HvMode) Validate(formats strfmt.Registry) error

Validate validates this hv mode

type IAMFilter ¶

type IAMFilter struct {

	// all
	All bool `json:"all,omitempty"`

	// entpstate
	Entpstate string `json:"entpstate,omitempty"`

	// hubspotid
	Hubspotid string `json:"hubspotid,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// projectid
	Projectid []string `json:"projectid"`

	// role name
	RoleName string `json:"roleName,omitempty"`

	// sfdcid
	Sfdcid string `json:"sfdcid,omitempty"`

	// userstate
	Userstate string `json:"userstate,omitempty"`
}

IAMFilter i a m filter

swagger:model IAMFilter

func (*IAMFilter) ContextValidate ¶

func (m *IAMFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this i a m filter based on context it is used

func (*IAMFilter) MarshalBinary ¶

func (m *IAMFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IAMFilter) UnmarshalBinary ¶

func (m *IAMFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IAMFilter) Validate ¶

func (m *IAMFilter) Validate(formats strfmt.Registry) error

Validate validates this i a m filter

type IDState ¶

type IDState string

IDState Id state

swagger:model IdState

const (

	// IDStateIDSTATEUNSPECIFIED captures enum value "ID_STATE_UNSPECIFIED"
	IDStateIDSTATEUNSPECIFIED IDState = "ID_STATE_UNSPECIFIED"

	// IDStateIDSTATENOTVERIFIED captures enum value "ID_STATE_NOT_VERIFIED"
	IDStateIDSTATENOTVERIFIED IDState = "ID_STATE_NOT_VERIFIED"

	// IDStateIDSTATEVERIFIED captures enum value "ID_STATE_VERIFIED"
	IDStateIDSTATEVERIFIED IDState = "ID_STATE_VERIFIED"
)

func NewIDState ¶

func NewIDState(value IDState) *IDState

func (IDState) ContextValidate ¶

func (m IDState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this Id state based on context it is used

func (IDState) Pointer ¶

func (m IDState) Pointer() *IDState

Pointer returns a pointer to a freshly-allocated IDState.

func (IDState) Validate ¶

func (m IDState) Validate(formats strfmt.Registry) error

Validate validates this Id state

type IPAssignment ¶

type IPAssignment struct {

	// ip address
	IPAddress []string `json:"ipAddress"`

	// mac address
	MacAddress string `json:"macAddress,omitempty"`
}

IPAssignment IP assignment

swagger:model IPAssignment

func (*IPAssignment) ContextValidate ¶

func (m *IPAssignment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this IP assignment based on context it is used

func (*IPAssignment) MarshalBinary ¶

func (m *IPAssignment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPAssignment) UnmarshalBinary ¶

func (m *IPAssignment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPAssignment) Validate ¶

func (m *IPAssignment) Validate(formats strfmt.Registry) error

Validate validates this IP assignment

type IPSpec ¶

type IPSpec struct {

	// deprecated
	DeprecatedDhcp bool `json:"deprecatedDhcp,omitempty"`

	// dhcp
	Dhcp *NetworkDHCPType `json:"dhcp,omitempty"`

	// for IPAM management when dhcp is turned on.
	// If none provided, system will default pool.
	DhcpRange *DhcpIPRange `json:"dhcpRange,omitempty"`

	// dns
	DNS []string `json:"dns"`

	// domain
	Domain string `json:"domain,omitempty"`

	// gateway
	Gateway string `json:"gateway,omitempty"`

	// mask
	Mask string `json:"mask,omitempty"`

	// ntp
	Ntp string `json:"ntp,omitempty"`

	// subnet
	Subnet string `json:"subnet,omitempty"`
}

IPSpec Ip spec

swagger:model IpSpec

func (*IPSpec) ContextValidate ¶

func (m *IPSpec) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this Ip spec based on the context it is used

func (*IPSpec) MarshalBinary ¶

func (m *IPSpec) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IPSpec) UnmarshalBinary ¶

func (m *IPSpec) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IPSpec) Validate ¶

func (m *IPSpec) Validate(formats strfmt.Registry) error

Validate validates this Ip spec

type Identifier64 ¶

type Identifier64 struct {

	// base64
	Base64 string `json:"base64,omitempty"`
}

Identifier64 Generic identifier, base64 encoding

swagger:model Identifier64

func (*Identifier64) ContextValidate ¶

func (m *Identifier64) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this identifier64 based on context it is used

func (*Identifier64) MarshalBinary ¶

func (m *Identifier64) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Identifier64) UnmarshalBinary ¶

func (m *Identifier64) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Identifier64) Validate ¶

func (m *Identifier64) Validate(formats strfmt.Registry) error

Validate validates this identifier64

type ImageConfig ¶

type ImageConfig struct {

	// Datastore Id where image binary is located.
	// Required: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	DatastoreID *string `json:"datastoreId"`

	// Detailed description of the image.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the image.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Image Architecture.
	// Required: true
	ImageArch *ModelArchType `json:"imageArch"`

	// Image upload/uplink detailed error/status message
	// Read Only: true
	ImageError string `json:"imageError,omitempty"`

	// Image binary format.
	// Required: true
	ImageFormat *ConfigFormat `json:"imageFormat"`

	// Internal image location.
	// Read Only: true
	ImageLocal string `json:"imageLocal,omitempty"`

	// Image relative path w.r.t. Datastore
	ImageRelURL string `json:"imageRelUrl,omitempty"`

	// Image checksum in SHA256 format
	ImageSha256 string `json:"imageSha256,omitempty"`

	// Image size in KBytes.
	ImageSizeBytes string `json:"imageSizeBytes,omitempty"`

	// Image status
	// Read Only: true
	ImageStatus *ImageStatus `json:"imageStatus,omitempty"`

	// Image type
	// Required: true
	ImageType *ImageType `json:"imageType"`

	// system defined info
	ImageVersion string `json:"imageVersion,omitempty"`

	// User defined name of the image, unique across the enterprise. Once image is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Origin type of image.
	// Read Only: true
	OriginType *Origin `json:"originType,omitempty"`

	// project access list of the image
	ProjectAccessList []string `json:"projectAccessList"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the image. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`
}

ImageConfig Image metadata detail

Image metadata for edge gateway Base OS or for eedge applications. Example: {"description":"My test image in QCOW2 format for Edge computing","dsId":"7927f6e3-484d-4105-a98e-868b21c1cb61","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","imageArch":"AMD64","imageError":"Image uplinked successfully...","imageFormat":3,"imageLocal":"","imageRelUrl":"edge/computing/AMD64","imageSha256":"ADC5BB9DD39F83DD74C276B0BA119FB27925A5CDEA343FE1F2C8433F28AB345B","imageSizeBytes":142016512,"imageStatus":4,"imageType":2,"imageVersion":"","name":"my-test-image","originType":2,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test Image for Edge Computing"}

swagger:model ImageConfig

func (*ImageConfig) ContextValidate ¶

func (m *ImageConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image config based on the context it is used

func (*ImageConfig) MarshalBinary ¶

func (m *ImageConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageConfig) UnmarshalBinary ¶

func (m *ImageConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageConfig) Validate ¶

func (m *ImageConfig) Validate(formats strfmt.Registry) error

Validate validates this image config

type ImageFilter ¶

type ImageFilter struct {

	// Datastore id to be matched.
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	DatastoreID string `json:"datastoreId,omitempty"`

	// Image architecture to be matched.
	ImageArch *ModelArchType `json:"imageArch,omitempty"`

	// Image status to be matched.
	ImageStatus *ImageStatus `json:"imageStatus,omitempty"`

	// Image type to ne matched.
	ImageType *ImageType `json:"imageType,omitempty"`

	// Image name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`
}

ImageFilter image filter

swagger:model ImageFilter

func (*ImageFilter) ContextValidate ¶

func (m *ImageFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image filter based on the context it is used

func (*ImageFilter) MarshalBinary ¶

func (m *ImageFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageFilter) UnmarshalBinary ¶

func (m *ImageFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageFilter) Validate ¶

func (m *ImageFilter) Validate(formats strfmt.Registry) error

Validate validates this image filter

type ImageProjectList ¶ added in v1.0.2

type ImageProjectList struct {

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// List of projects which are are common among given list of images
	ProjectDetails []*ObjectDetail `json:"projectDetails"`

	// total number of records
	TotalCount int64 `json:"totalCount,omitempty"`
}

ImageProjectList image project list

swagger:model ImageProjectList

func (*ImageProjectList) ContextValidate ¶ added in v1.0.2

func (m *ImageProjectList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this image project list based on the context it is used

func (*ImageProjectList) MarshalBinary ¶ added in v1.0.2

func (m *ImageProjectList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageProjectList) UnmarshalBinary ¶ added in v1.0.2

func (m *ImageProjectList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageProjectList) Validate ¶ added in v1.0.2

func (m *ImageProjectList) Validate(formats strfmt.Registry) error

Validate validates this image project list

type ImageStatus ¶

type ImageStatus string

ImageStatus Image status

- IMAGE_STATUS_CREATED: Image metadata is created

  • IMAGE_STATUS_UPLOADING: Image binary is being uploaded to Datstore
  • IMAGE_STATUS_READY: Image is ready for download
  • IMAGE_STATUS_INUSE: Image is being used by edge applications
  • IMAGE_STATUS_FAILED: Image binary upload has failed
  • IMAGE_STATUS_UPLINKING: Image metadata is being uplinked with Datstore binary

swagger:model ImageStatus

const (

	// ImageStatusIMAGESTATUSUNSPECIFIED captures enum value "IMAGE_STATUS_UNSPECIFIED"
	ImageStatusIMAGESTATUSUNSPECIFIED ImageStatus = "IMAGE_STATUS_UNSPECIFIED"

	// ImageStatusIMAGESTATUSCREATED captures enum value "IMAGE_STATUS_CREATED"
	ImageStatusIMAGESTATUSCREATED ImageStatus = "IMAGE_STATUS_CREATED"

	// ImageStatusIMAGESTATUSPENDING captures enum value "IMAGE_STATUS_PENDING"
	ImageStatusIMAGESTATUSPENDING ImageStatus = "IMAGE_STATUS_PENDING"

	// ImageStatusIMAGESTATUSUPLOADING captures enum value "IMAGE_STATUS_UPLOADING"
	ImageStatusIMAGESTATUSUPLOADING ImageStatus = "IMAGE_STATUS_UPLOADING"

	// ImageStatusIMAGESTATUSREADY captures enum value "IMAGE_STATUS_READY"
	ImageStatusIMAGESTATUSREADY ImageStatus = "IMAGE_STATUS_READY"

	// ImageStatusIMAGESTATUSINUSE captures enum value "IMAGE_STATUS_INUSE"
	ImageStatusIMAGESTATUSINUSE ImageStatus = "IMAGE_STATUS_INUSE"

	// ImageStatusIMAGESTATUSARCHIVED captures enum value "IMAGE_STATUS_ARCHIVED"
	ImageStatusIMAGESTATUSARCHIVED ImageStatus = "IMAGE_STATUS_ARCHIVED"

	// ImageStatusIMAGESTATUSMAX captures enum value "IMAGE_STATUS_MAX"
	ImageStatusIMAGESTATUSMAX ImageStatus = "IMAGE_STATUS_MAX"

	// ImageStatusIMAGESTATUSFAILED captures enum value "IMAGE_STATUS_FAILED"
	ImageStatusIMAGESTATUSFAILED ImageStatus = "IMAGE_STATUS_FAILED"

	// ImageStatusIMAGESTATUSUPLINKING captures enum value "IMAGE_STATUS_UPLINKING"
	ImageStatusIMAGESTATUSUPLINKING ImageStatus = "IMAGE_STATUS_UPLINKING"
)

func NewImageStatus ¶

func NewImageStatus(value ImageStatus) *ImageStatus

func (ImageStatus) ContextValidate ¶

func (m ImageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image status based on context it is used

func (ImageStatus) Pointer ¶

func (m ImageStatus) Pointer() *ImageStatus

Pointer returns a pointer to a freshly-allocated ImageStatus.

func (ImageStatus) Validate ¶

func (m ImageStatus) Validate(formats strfmt.Registry) error

Validate validates this image status

type ImageType ¶

type ImageType string

ImageType Image types

- IMAGE_TYPE_EVE: Base OS images for edge gateway

  • IMAGE_TYPE_APPLICATION: Edge application images
  • IMAGE_TYPE_EVEPRIVATE: Private Base OS images for edge gateway

swagger:model ImageType

const (

	// ImageTypeIMAGETYPEUNSPECIFIED captures enum value "IMAGE_TYPE_UNSPECIFIED"
	ImageTypeIMAGETYPEUNSPECIFIED ImageType = "IMAGE_TYPE_UNSPECIFIED"

	// ImageTypeIMAGETYPEEVE captures enum value "IMAGE_TYPE_EVE"
	ImageTypeIMAGETYPEEVE ImageType = "IMAGE_TYPE_EVE"

	// ImageTypeIMAGETYPEAPPLICATION captures enum value "IMAGE_TYPE_APPLICATION"
	ImageTypeIMAGETYPEAPPLICATION ImageType = "IMAGE_TYPE_APPLICATION"

	// ImageTypeIMAGETYPEEVEPRIVATE captures enum value "IMAGE_TYPE_EVEPRIVATE"
	ImageTypeIMAGETYPEEVEPRIVATE ImageType = "IMAGE_TYPE_EVEPRIVATE"
)

func NewImageType ¶

func NewImageType(value ImageType) *ImageType

func (ImageType) ContextValidate ¶

func (m ImageType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image type based on context it is used

func (ImageType) Pointer ¶

func (m ImageType) Pointer() *ImageType

Pointer returns a pointer to a freshly-allocated ImageType.

func (ImageType) Validate ¶

func (m ImageType) Validate(formats strfmt.Registry) error

Validate validates this image type

type ImageVersionFilter ¶

type ImageVersionFilter struct {

	// Image Architecture pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`
}

ImageVersionFilter image version filter

swagger:model ImageVersionFilter

func (*ImageVersionFilter) ContextValidate ¶

func (m *ImageVersionFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this image version filter based on context it is used

func (*ImageVersionFilter) MarshalBinary ¶

func (m *ImageVersionFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImageVersionFilter) UnmarshalBinary ¶

func (m *ImageVersionFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImageVersionFilter) Validate ¶

func (m *ImageVersionFilter) Validate(formats strfmt.Registry) error

Validate validates this image version filter

type Images ¶

type Images struct {

	// List of filtered Image records
	List []*ImageConfig `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Image architecture distribution summary
	SummaryByImageArch *Summary `json:"summaryByImageArch,omitempty"`

	// Image format distribution summary
	SummaryByImageFormat *Summary `json:"summaryByImageFormat,omitempty"`

	// Imagestatus distribution summary
	SummaryByImageStatus *Summary `json:"summaryByImageStatus,omitempty"`

	// Image type distribution summary
	SummaryByImageType *Summary `json:"summaryByImageType,omitempty"`

	// Summary of filtered Image records
	Terse *Summary `json:"terse,omitempty"`
}

Images images

swagger:model Images

func (*Images) ContextValidate ¶

func (m *Images) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this images based on the context it is used

func (*Images) MarshalBinary ¶

func (m *Images) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Images) UnmarshalBinary ¶

func (m *Images) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Images) Validate ¶

func (m *Images) Validate(formats strfmt.Registry) error

Validate validates this images

type IndividualSymmetricKeyEnrollment ¶

type IndividualSymmetricKeyEnrollment struct {

	// registration Id
	RegistrationID string `json:"registrationId,omitempty"`
}

IndividualSymmetricKeyEnrollment individual symmetric key enrollment

swagger:model IndividualSymmetricKeyEnrollment

func (*IndividualSymmetricKeyEnrollment) ContextValidate ¶

func (m *IndividualSymmetricKeyEnrollment) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this individual symmetric key enrollment based on context it is used

func (*IndividualSymmetricKeyEnrollment) MarshalBinary ¶

func (m *IndividualSymmetricKeyEnrollment) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IndividualSymmetricKeyEnrollment) UnmarshalBinary ¶

func (m *IndividualSymmetricKeyEnrollment) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IndividualSymmetricKeyEnrollment) Validate ¶

Validate validates this individual symmetric key enrollment

type InstanceTransitionAction ¶

type InstanceTransitionAction string

InstanceTransitionAction Instance Transition action

- INSTANCE_TA_UNSPECIFIED: Default. Invalid option

  • INSTANCE_TA_NONE: Either Edge app bundle has not changed or Edge app bundle has

changed but the changes do not impact Edge app instances

  • INSTANCE_TA_UPDATEREQUIRED: Edge app bundle has changed. Changes impact Edge app Instances

Edge App instances need to be restarted with temporary loss of access

  • INSTANCE_TA_UPDATEWITHRESTART: Transition Action: Update with Restart
  • INSTANCE_TA_UPDATEWITHPURGE: Edge app bundle has changed. Changes impact Edge app Instances

Edge App instances need to be deleted and created again with temporary loss of access and permanent loss of data

swagger:model InstanceTransitionAction

const (

	// InstanceTransitionActionINSTANCETAUNSPECIFIED captures enum value "INSTANCE_TA_UNSPECIFIED"
	InstanceTransitionActionINSTANCETAUNSPECIFIED InstanceTransitionAction = "INSTANCE_TA_UNSPECIFIED"

	// InstanceTransitionActionINSTANCETANONE captures enum value "INSTANCE_TA_NONE"
	InstanceTransitionActionINSTANCETANONE InstanceTransitionAction = "INSTANCE_TA_NONE"

	// InstanceTransitionActionINSTANCETAUPDATEREQUIRED captures enum value "INSTANCE_TA_UPDATEREQUIRED"
	InstanceTransitionActionINSTANCETAUPDATEREQUIRED InstanceTransitionAction = "INSTANCE_TA_UPDATEREQUIRED"

	// InstanceTransitionActionINSTANCETAUPDATEWITHRESTART captures enum value "INSTANCE_TA_UPDATEWITHRESTART"
	InstanceTransitionActionINSTANCETAUPDATEWITHRESTART InstanceTransitionAction = "INSTANCE_TA_UPDATEWITHRESTART"

	// InstanceTransitionActionINSTANCETAUPDATEWITHPURGE captures enum value "INSTANCE_TA_UPDATEWITHPURGE"
	InstanceTransitionActionINSTANCETAUPDATEWITHPURGE InstanceTransitionAction = "INSTANCE_TA_UPDATEWITHPURGE"
)

func (InstanceTransitionAction) ContextValidate ¶

func (m InstanceTransitionAction) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this instance transition action based on context it is used

func (InstanceTransitionAction) Pointer ¶

Pointer returns a pointer to a freshly-allocated InstanceTransitionAction.

func (InstanceTransitionAction) Validate ¶

func (m InstanceTransitionAction) Validate(formats strfmt.Registry) error

Validate validates this instance transition action

type IntegrationPolicy ¶ added in v1.0.2

type IntegrationPolicy struct {

	// Id
	ID string `json:"Id,omitempty"`

	// name
	Name string `json:"Name,omitempty"`

	// revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// title
	Title string `json:"title,omitempty"`
}

IntegrationPolicy integration policy

swagger:model IntegrationPolicy

func (*IntegrationPolicy) ContextValidate ¶ added in v1.0.2

func (m *IntegrationPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this integration policy based on the context it is used

func (*IntegrationPolicy) MarshalBinary ¶ added in v1.0.2

func (m *IntegrationPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IntegrationPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *IntegrationPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IntegrationPolicy) Validate ¶ added in v1.0.2

func (m *IntegrationPolicy) Validate(formats strfmt.Registry) error

Validate validates this integration policy

type Interface ¶

type Interface struct {

	// Traffic access control rules for this interface. Applicable only when "direct attach" flag is false.
	Acls []*ACL `json:"acls"`

	// If true, a physical adapter is assigned to the edge application directly. If false, a network instance is assigned to the edge application.
	Directattach bool `json:"directattach,omitempty"`

	// Interface name used by the edge application
	Name string `json:"name,omitempty"`

	// Indicates if the interface is optional for edge application.
	Optional bool `json:"optional,omitempty"`

	// If true, DHCP network can't be assigned and user needs to provide a static IP address.
	Privateip bool `json:"privateip,omitempty"`

	// Physical Adapter type for this interface. Applicable only when "direct attach" flag is true.
	Type string `json:"type,omitempty"`
}

Interface interface

swagger:model Interface

func (*Interface) ContextValidate ¶

func (m *Interface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this interface based on the context it is used

func (*Interface) MarshalBinary ¶

func (m *Interface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Interface) UnmarshalBinary ¶

func (m *Interface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Interface) Validate ¶

func (m *Interface) Validate(formats strfmt.Registry) error

Validate validates this interface

type IoAddresses ¶ added in v1.0.2

type IoAddresses struct {

	// mac address
	MacAddress string `json:"macAddress,omitempty"`
}

IoAddresses io addresses

swagger:model IoAddresses

func (*IoAddresses) ContextValidate ¶ added in v1.0.2

func (m *IoAddresses) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this io addresses based on context it is used

func (*IoAddresses) MarshalBinary ¶ added in v1.0.2

func (m *IoAddresses) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoAddresses) UnmarshalBinary ¶ added in v1.0.2

func (m *IoAddresses) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoAddresses) Validate ¶ added in v1.0.2

func (m *IoAddresses) Validate(formats strfmt.Registry) error

Validate validates this io addresses

type IoBundleStatus ¶

type IoBundleStatus struct {

	// Application name
	// Required: true
	AppName *string `json:"appName"`

	// 6 - DEPRECATED
	//
	// Device error details
	Err *DeviceError `json:"err,omitempty"`

	// LTE information
	LteInfo *LTEAdapter `json:"lteInfo,omitempty"`

	// List of IO members
	MemberList []*IoMemberStatus `json:"memberList"`

	// members - Deprecated by memberList
	//
	// Member Array
	// Required: true
	Members []string `json:"members"`

	// Io Bundle status name
	// Required: true
	Name *string `json:"name"`

	// IoType specifies the type of the Input output of the device
	// Required: true
	Type *IoType `json:"type"`
}

IoBundleStatus IoBundleStatus is used to store the status of the Input Output bundle

IoBundleStatus is used to store the status of the Input Output bundle ¶

swagger:model IoBundleStatus

func (*IoBundleStatus) ContextValidate ¶

func (m *IoBundleStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this io bundle status based on the context it is used

func (*IoBundleStatus) MarshalBinary ¶

func (m *IoBundleStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoBundleStatus) UnmarshalBinary ¶

func (m *IoBundleStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoBundleStatus) Validate ¶

func (m *IoBundleStatus) Validate(formats strfmt.Registry) error

Validate validates this io bundle status

type IoMember ¶

type IoMember struct {

	// Assign Group
	// Required: true
	Assigngrp *string `json:"assigngrp"`

	// physical and logical attributes
	//
	// attributes
	Cbattr map[string]string `json:"cbattr,omitempty"`

	// cost of using this ioMember. Default is 0.
	// Required: true
	// Maximum: 255
	Cost *int64 `json:"cost"`

	// Logical Label
	// Required: true
	Logicallabel *string `json:"logicallabel"`

	// Map of Physical Addresses
	// Required: true
	Phyaddrs map[string]string `json:"phyaddrs"`

	// Physical Label
	// Required: true
	Phylabel *string `json:"phylabel"`

	// Adopter Usage
	Usage *AdapterUsage `json:"usage,omitempty"`

	// usagePolicy
	UsagePolicy map[string]bool `json:"usagePolicy,omitempty"`

	// Z Type
	// Required: true
	Ztype *IoType `json:"ztype"`
}

IoMember ioMember payload details

ioMember consists of list of various networking attributes like physical label, physical address etc  associated with SysModel

Example: {"logicallabel":"eth0","phylabel":"eth0","ztype":1}

swagger:model ioMember

func (*IoMember) ContextValidate ¶

func (m *IoMember) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this io member based on the context it is used

func (*IoMember) MarshalBinary ¶

func (m *IoMember) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoMember) UnmarshalBinary ¶

func (m *IoMember) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoMember) Validate ¶

func (m *IoMember) Validate(formats strfmt.Registry) error

Validate validates this io member

type IoMemberStatus ¶ added in v1.0.2

type IoMemberStatus struct {

	// IO addresses of the member. Each address corresponds to the member in the members array
	IoAddress *IoAddresses `json:"ioAddress,omitempty"`

	// IoBundle Member name
	Name string `json:"name,omitempty"`
}

IoMemberStatus io member status

swagger:model IoMemberStatus

func (*IoMemberStatus) ContextValidate ¶ added in v1.0.2

func (m *IoMemberStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this io member status based on the context it is used

func (*IoMemberStatus) MarshalBinary ¶ added in v1.0.2

func (m *IoMemberStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IoMemberStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *IoMemberStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IoMemberStatus) Validate ¶ added in v1.0.2

func (m *IoMemberStatus) Validate(formats strfmt.Registry) error

Validate validates this io member status

type IoType ¶

type IoType string

IoType Input/Output Type

- IO_TYPE_UNSPECIFIED: No operation/ Invalid peration

  • IO_TYPE_ETH: Ethernet
  • IO_TYPE_USB: USB Type
  • IO_TYPE_COM: Communication Port
  • IO_TYPE_AUDIO: Audio Port
  • IO_TYPE_WLAN: wireless LAN
  • IO_TYPE_WWAN: Wireless wide area network
  • IO_TYPE_HDMI: High-Definition Multimedia Interface
  • IO_TYPE_LTE: LTE Interfaces
  • IO_TYPE_STORAGE_NVME_DEVICE: Storage NVME device
  • IO_TYPE_STORAGE_SATA_DEVICE: Storage SATA device
  • IO_TYPE_OTHER: Other Io Types

swagger:model IoType

const (

	// IoTypeIOTYPEUNSPECIFIED captures enum value "IO_TYPE_UNSPECIFIED"
	IoTypeIOTYPEUNSPECIFIED IoType = "IO_TYPE_UNSPECIFIED"

	// IoTypeIOTYPEETH captures enum value "IO_TYPE_ETH"
	IoTypeIOTYPEETH IoType = "IO_TYPE_ETH"

	// IoTypeIOTYPEUSB captures enum value "IO_TYPE_USB"
	IoTypeIOTYPEUSB IoType = "IO_TYPE_USB"

	// IoTypeIOTYPECOM captures enum value "IO_TYPE_COM"
	IoTypeIOTYPECOM IoType = "IO_TYPE_COM"

	// IoTypeIOTYPEAUDIO captures enum value "IO_TYPE_AUDIO"
	IoTypeIOTYPEAUDIO IoType = "IO_TYPE_AUDIO"

	// IoTypeIOTYPEWLAN captures enum value "IO_TYPE_WLAN"
	IoTypeIOTYPEWLAN IoType = "IO_TYPE_WLAN"

	// IoTypeIOTYPEWWAN captures enum value "IO_TYPE_WWAN"
	IoTypeIOTYPEWWAN IoType = "IO_TYPE_WWAN"

	// IoTypeIOTYPEHDMI captures enum value "IO_TYPE_HDMI"
	IoTypeIOTYPEHDMI IoType = "IO_TYPE_HDMI"

	// IoTypeIOTYPELTE captures enum value "IO_TYPE_LTE"
	IoTypeIOTYPELTE IoType = "IO_TYPE_LTE"

	// IoTypeIOTYPESTORAGENVMEDEVICE captures enum value "IO_TYPE_STORAGE_NVME_DEVICE"
	IoTypeIOTYPESTORAGENVMEDEVICE IoType = "IO_TYPE_STORAGE_NVME_DEVICE"

	// IoTypeIOTYPESTORAGESATADEVICE captures enum value "IO_TYPE_STORAGE_SATA_DEVICE"
	IoTypeIOTYPESTORAGESATADEVICE IoType = "IO_TYPE_STORAGE_SATA_DEVICE"

	// IoTypeIOTYPEOTHER captures enum value "IO_TYPE_OTHER"
	IoTypeIOTYPEOTHER IoType = "IO_TYPE_OTHER"
)

func NewIoType ¶

func NewIoType(value IoType) *IoType

func (IoType) ContextValidate ¶

func (m IoType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this io type based on context it is used

func (IoType) Pointer ¶

func (m IoType) Pointer() *IoType

Pointer returns a pointer to a freshly-allocated IoType.

func (IoType) Validate ¶

func (m IoType) Validate(formats strfmt.Registry) error

Validate validates this io type

type IotHubServiceDetail ¶

type IotHubServiceDetail struct {

	// service detail
	ServiceDetail *AzureResourceAndServiceDetail `json:"serviceDetail,omitempty"`
}

IotHubServiceDetail iot hub service detail

swagger:model IotHubServiceDetail

func (*IotHubServiceDetail) ContextValidate ¶

func (m *IotHubServiceDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this iot hub service detail based on the context it is used

func (*IotHubServiceDetail) MarshalBinary ¶

func (m *IotHubServiceDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IotHubServiceDetail) UnmarshalBinary ¶

func (m *IotHubServiceDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IotHubServiceDetail) Validate ¶

func (m *IotHubServiceDetail) Validate(formats strfmt.Registry) error

Validate validates this iot hub service detail

type JWTAuthProfileAlgorithm ¶ added in v1.0.2

type JWTAuthProfileAlgorithm string

JWTAuthProfileAlgorithm j w t auth profile algorithm

swagger:model JWTAuthProfileAlgorithm

const (

	// JWTAuthProfileAlgorithmNone captures enum value "None"
	JWTAuthProfileAlgorithmNone JWTAuthProfileAlgorithm = "None"

	// JWTAuthProfileAlgorithmRS256 captures enum value "RS256"
	JWTAuthProfileAlgorithmRS256 JWTAuthProfileAlgorithm = "RS256"

	// JWTAuthProfileAlgorithmRS384 captures enum value "RS384"
	JWTAuthProfileAlgorithmRS384 JWTAuthProfileAlgorithm = "RS384"

	// JWTAuthProfileAlgorithmRS512 captures enum value "RS512"
	JWTAuthProfileAlgorithmRS512 JWTAuthProfileAlgorithm = "RS512"
)

func NewJWTAuthProfileAlgorithm ¶ added in v1.0.2

func NewJWTAuthProfileAlgorithm(value JWTAuthProfileAlgorithm) *JWTAuthProfileAlgorithm

func (JWTAuthProfileAlgorithm) ContextValidate ¶ added in v1.0.2

func (m JWTAuthProfileAlgorithm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this j w t auth profile algorithm based on context it is used

func (JWTAuthProfileAlgorithm) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated JWTAuthProfileAlgorithm.

func (JWTAuthProfileAlgorithm) Validate ¶ added in v1.0.2

func (m JWTAuthProfileAlgorithm) Validate(formats strfmt.Registry) error

Validate validates this j w t auth profile algorithm

type JWTInfo ¶ added in v1.0.2

type JWTInfo struct {

	// allow sec
	AllowSec int64 `json:"allowSec,omitempty"`

	// disp Url
	DispURL string `json:"dispUrl,omitempty"`

	// encrypt
	Encrypt bool `json:"encrypt,omitempty"`

	// expire sec
	ExpireSec string `json:"expireSec,omitempty"`

	// num inst
	NumInst int64 `json:"numInst,omitempty"`
}

JWTInfo j w t info

swagger:model JWTInfo

func (*JWTInfo) ContextValidate ¶ added in v1.0.2

func (m *JWTInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this j w t info based on context it is used

func (*JWTInfo) MarshalBinary ¶ added in v1.0.2

func (m *JWTInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JWTInfo) UnmarshalBinary ¶ added in v1.0.2

func (m *JWTInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JWTInfo) Validate ¶ added in v1.0.2

func (m *JWTInfo) Validate(formats strfmt.Registry) error

Validate validates this j w t info

type JobConfig ¶

type JobConfig struct {

	// user or system specified description
	Description string `json:"description,omitempty"`

	// detailed error with which job/task has failed
	// Read Only: true
	ErrorDetailOfJob string `json:"errorDetailOfJob,omitempty"`

	// finish time of the job
	// Read Only: true
	// Format: date-time
	FinishTime strfmt.DateTime `json:"finishTime,omitempty"`

	// System defined universally unique Id of the job request
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// status of individual field of the given object
	// Read Only: true
	IndividualOpStatus map[string]string `json:"individualOpStatus,omitempty"`

	// User defined name of the job request, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// object list
	ObjectList []string `json:"objectList"`

	// object type for which job has been created
	// Required: true
	ObjectType *ObjectType `json:"objectType"`

	// operation type
	OperationType *BulkService `json:"operationType,omitempty"`

	// project Id in which job is getting created
	ProjectID string `json:"projectId,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// selection criteria for the job
	// Read Only: true
	SelectionCriteria *SelectionCriteria `json:"selectionCriteria,omitempty"`

	// start time of the job
	// Read Only: true
	// Format: date-time
	StartTime strfmt.DateTime `json:"startTime,omitempty"`

	// status of the job
	// Read Only: true
	Status *JobStatus `json:"status,omitempty"`

	// user or system specified title
	Title string `json:"title,omitempty"`
}

JobConfig config required for job ops

config required for job ops Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-job","objectType":"OBJECT_TYPE_EDGE_NODE"}

swagger:model JobConfig

func (*JobConfig) ContextValidate ¶

func (m *JobConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job config based on the context it is used

func (*JobConfig) MarshalBinary ¶

func (m *JobConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobConfig) UnmarshalBinary ¶

func (m *JobConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobConfig) Validate ¶

func (m *JobConfig) Validate(formats strfmt.Registry) error

Validate validates this job config

type JobConfigList ¶

type JobConfigList struct {

	// Details of job list records.
	List []*JobConfig `json:"list"`

	// Returned record page.
	Next *Cursor `json:"next,omitempty"`

	// Summary information about job list records.
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

JobConfigList Job list records

Returned list of jobs matched by filter criteria ¶

swagger:model JobConfigList

func (*JobConfigList) ContextValidate ¶

func (m *JobConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job config list based on the context it is used

func (*JobConfigList) MarshalBinary ¶

func (m *JobConfigList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobConfigList) UnmarshalBinary ¶

func (m *JobConfigList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobConfigList) Validate ¶

func (m *JobConfigList) Validate(formats strfmt.Registry) error

Validate validates this job config list

type JobFilter ¶

type JobFilter struct {

	// status of the job.
	JobStatus *JobStatus `json:"jobStatus,omitempty"`

	// name pattern of the job.
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	NamePattern string `json:"namePattern,omitempty"`

	// project name.
	ProjectName string `json:"projectName,omitempty"`
}

JobFilter Job list filter criteria

Filter criteria for the job list.

swagger:model JobFilter

func (*JobFilter) ContextValidate ¶

func (m *JobFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this job filter based on the context it is used

func (*JobFilter) MarshalBinary ¶

func (m *JobFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobFilter) UnmarshalBinary ¶

func (m *JobFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobFilter) Validate ¶

func (m *JobFilter) Validate(formats strfmt.Registry) error

Validate validates this job filter

type JobStatus ¶

type JobStatus string

JobStatus job status.

swagger:model JobStatus

const (

	// JobStatusJOBSTATUSUNSPECIFIED captures enum value "JOB_STATUS_UNSPECIFIED"
	JobStatusJOBSTATUSUNSPECIFIED JobStatus = "JOB_STATUS_UNSPECIFIED"

	// JobStatusJOBSTATUSINITIALIZED captures enum value "JOB_STATUS_INITIALIZED"
	JobStatusJOBSTATUSINITIALIZED JobStatus = "JOB_STATUS_INITIALIZED"

	// JobStatusJOBSTATUSREADY captures enum value "JOB_STATUS_READY"
	JobStatusJOBSTATUSREADY JobStatus = "JOB_STATUS_READY"

	// JobStatusJOBSTATUSINPROGRESS captures enum value "JOB_STATUS_INPROGRESS"
	JobStatusJOBSTATUSINPROGRESS JobStatus = "JOB_STATUS_INPROGRESS"

	// JobStatusJOBSTATUSCOMPLETED captures enum value "JOB_STATUS_COMPLETED"
	JobStatusJOBSTATUSCOMPLETED JobStatus = "JOB_STATUS_COMPLETED"

	// JobStatusJOBSTATUSFAILED captures enum value "JOB_STATUS_FAILED"
	JobStatusJOBSTATUSFAILED JobStatus = "JOB_STATUS_FAILED"

	// JobStatusJOBSTATUSABORTED captures enum value "JOB_STATUS_ABORTED"
	JobStatusJOBSTATUSABORTED JobStatus = "JOB_STATUS_ABORTED"
)

func NewJobStatus ¶

func NewJobStatus(value JobStatus) *JobStatus

func (JobStatus) ContextValidate ¶

func (m JobStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this job status based on context it is used

func (JobStatus) Pointer ¶

func (m JobStatus) Pointer() *JobStatus

Pointer returns a pointer to a freshly-allocated JobStatus.

func (JobStatus) Validate ¶

func (m JobStatus) Validate(formats strfmt.Registry) error

Validate validates this job status

type LTEAdapter ¶

type LTEAdapter struct {

	// Name of Cell Module
	CellModuleName string `json:"cellModuleName,omitempty"`

	// Firmware Version of Cell Radio.
	FirmwareVersion string `json:"firmwareVersion,omitempty"`

	// iccid of the SIM
	Iccid string `json:"iccid,omitempty"`

	// IMEI of Cell Radio.
	Imei string `json:"imei,omitempty"`

	// imsi of the SIM
	Imsi string `json:"imsi,omitempty"`

	// Name of SIM card.
	SimName string `json:"simName,omitempty"`

	// State of SimCard
	SimcardState *SimcardState `json:"simcardState,omitempty"`
}

LTEAdapter LTE Adapter

Details of LTE Adapter ¶

swagger:model LTEAdapter

func (*LTEAdapter) ContextValidate ¶

func (m *LTEAdapter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this l t e adapter based on the context it is used

func (*LTEAdapter) MarshalBinary ¶

func (m *LTEAdapter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LTEAdapter) UnmarshalBinary ¶

func (m *LTEAdapter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LTEAdapter) Validate ¶

func (m *LTEAdapter) Validate(formats strfmt.Registry) error

Validate validates this l t e adapter

type LastKnownStatus ¶

type LastKnownStatus struct {

	// last attempt state
	LastAttemptState int32 `json:"lastAttemptState,omitempty"`

	// last attempted at
	// Format: date-time
	LastAttemptedAt strfmt.DateTime `json:"lastAttemptedAt,omitempty"`

	// last known status line
	LastKnownStatusLine string `json:"lastKnownStatusLine,omitempty"`
}

LastKnownStatus last known status

swagger:model LastKnownStatus

func (*LastKnownStatus) ContextValidate ¶

func (m *LastKnownStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this last known status based on context it is used

func (*LastKnownStatus) MarshalBinary ¶

func (m *LastKnownStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LastKnownStatus) UnmarshalBinary ¶

func (m *LastKnownStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LastKnownStatus) Validate ¶

func (m *LastKnownStatus) Validate(formats strfmt.Registry) error

Validate validates this last known status

type LastLoggedinUserInfo ¶ added in v1.0.2

type LastLoggedinUserInfo struct {

	// last login time
	// Format: date-time
	LastLoginTime strfmt.DateTime `json:"lastLoginTime,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

LastLoggedinUserInfo last loggedin user info

swagger:model LastLoggedinUserInfo

func (*LastLoggedinUserInfo) ContextValidate ¶ added in v1.0.2

func (m *LastLoggedinUserInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this last loggedin user info based on context it is used

func (*LastLoggedinUserInfo) MarshalBinary ¶ added in v1.0.2

func (m *LastLoggedinUserInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LastLoggedinUserInfo) UnmarshalBinary ¶ added in v1.0.2

func (m *LastLoggedinUserInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LastLoggedinUserInfo) Validate ¶ added in v1.0.2

func (m *LastLoggedinUserInfo) Validate(formats strfmt.Registry) error

Validate validates this last loggedin user info

type LimitParams ¶

type LimitParams struct {

	// Rate limit burst in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitburst int64 `json:"limitburst,omitempty"`

	// Rate limit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitrate int64 `json:"limitrate,omitempty"`

	// Rate limit unit in ACL rule
	//
	// UI map: AppDetailsPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Limitunit string `json:"limitunit,omitempty"`
}

LimitParams limit params

swagger:model LimitParams

func (*LimitParams) ContextValidate ¶

func (m *LimitParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this limit params based on context it is used

func (*LimitParams) MarshalBinary ¶

func (m *LimitParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LimitParams) UnmarshalBinary ¶

func (m *LimitParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LimitParams) Validate ¶

func (m *LimitParams) Validate(formats strfmt.Registry) error

Validate validates this limit params

type LispConfig ¶

type LispConfig struct {

	// Allocate flag
	Allocate bool `json:"allocate,omitempty"`

	// Allocation Prefix
	// Format: byte
	Allocationprefix strfmt.Base64 `json:"allocationprefix,omitempty"`

	// Allocation Prefix Length
	Allocationprefixlen int64 `json:"allocationprefixlen,omitempty"`

	// Export Private flag
	Exportprivate bool `json:"exportprivate,omitempty"`

	// lisp id
	Lispiid int64 `json:"lispiid,omitempty"`

	// Service Point List
	Sp []*ServicePoint `json:"sp"`
}

LispConfig Lisp Configurations

List Configurations.

swagger:model LispConfig

func (*LispConfig) ContextValidate ¶

func (m *LispConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this lisp config based on the context it is used

func (*LispConfig) MarshalBinary ¶

func (m *LispConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LispConfig) UnmarshalBinary ¶

func (m *LispConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LispConfig) Validate ¶

func (m *LispConfig) Validate(formats strfmt.Registry) error

Validate validates this lisp config

type LispServer ¶

type LispServer struct {

	// lisp credential
	// Required: true
	Credential *string `json:"credential"`

	// name/IP
	// Required: true
	NameOrIP *string `json:"nameOrIp"`
}

LispServer LispServer payload detail

LispServer request paylod ¶

swagger:model LispServer

func (*LispServer) ContextValidate ¶

func (m *LispServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this lisp server based on context it is used

func (*LispServer) MarshalBinary ¶

func (m *LispServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LispServer) UnmarshalBinary ¶

func (m *LispServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LispServer) Validate ¶

func (m *LispServer) Validate(formats strfmt.Registry) error

Validate validates this lisp server

type ManifestInfo ¶

type ManifestInfo struct {

	// Current version of edge application being used
	BundleVersion string `json:"bundleVersion,omitempty"`

	// Details for recommended transition action
	Details *TransDetails `json:"details,omitempty"`

	// Next version of edge application available
	NextBundleVersion string `json:"nextBundleVersion,omitempty"`

	// Common and Custom parameters for deciding on transition actions
	Params map[string]string `json:"params,omitempty"`

	// Recommended transition action
	TransitionAction *InstanceTransitionAction `json:"transitionAction,omitempty"`
}

ManifestInfo Transition action information

Details about transition parameters and indication for cause of the transition and recommendation for the transition action ¶

swagger:model ManifestInfo

func (*ManifestInfo) ContextValidate ¶

func (m *ManifestInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this manifest info based on the context it is used

func (*ManifestInfo) MarshalBinary ¶

func (m *ManifestInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ManifestInfo) UnmarshalBinary ¶

func (m *ManifestInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ManifestInfo) Validate ¶

func (m *ManifestInfo) Validate(formats strfmt.Registry) error

Validate validates this manifest info

type MapParams ¶

type MapParams struct {

	// Application Port value
	AppPort int64 `json:"appPort,omitempty"`
}

MapParams map params

swagger:model MapParams

func (*MapParams) ContextValidate ¶

func (m *MapParams) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this map params based on context it is used

func (*MapParams) MarshalBinary ¶

func (m *MapParams) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MapParams) UnmarshalBinary ¶

func (m *MapParams) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MapParams) Validate ¶

func (m *MapParams) Validate(formats strfmt.Registry) error

Validate validates this map params

type Match ¶

type Match struct {

	// enum: host, protocol, fport
	// At the device level it will pick right interface to apply this match
	//
	// Type of Match (Required)
	Type string `json:"type,omitempty"`

	// Value of match (Required)
	Value string `json:"value,omitempty"`
}

Match match

swagger:model Match

func (*Match) ContextValidate ¶

func (m *Match) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this match based on context it is used

func (*Match) MarshalBinary ¶

func (m *Match) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Match) UnmarshalBinary ¶

func (m *Match) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Match) Validate ¶

func (m *Match) Validate(formats strfmt.Registry) error

Validate validates this match

type MemorySummary ¶

type MemorySummary struct {

	// Total allocated memory in MBs
	AllocatedMB float64 `json:"AllocatedMB,omitempty"`

	// Total memory for the device in MBs
	TotalMB float64 `json:"TotalMB,omitempty"`

	// Total memory used by the device in MBs within allocated memory
	UsedMB float64 `json:"UsedMB,omitempty"`
}

MemorySummary Memory Summary

Memory Summary ¶

swagger:model MemorySummary

func (*MemorySummary) ContextValidate ¶

func (m *MemorySummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this memory summary based on context it is used

func (*MemorySummary) MarshalBinary ¶

func (m *MemorySummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MemorySummary) UnmarshalBinary ¶

func (m *MemorySummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MemorySummary) Validate ¶

func (m *MemorySummary) Validate(formats strfmt.Registry) error

Validate validates this memory summary

type MetricQueryResponse ¶

type MetricQueryResponse struct {

	// list
	List []*MetricQueryResponseItem `json:"list"`

	// metric type
	MetricType string `json:"metricType,omitempty"`

	// threshold
	Threshold *MetricThreshold `json:"threshold,omitempty"`

	// x label
	XLabel string `json:"xLabel,omitempty"`

	// y labels
	YLabels []string `json:"yLabels"`
}

MetricQueryResponse metric query response

swagger:model MetricQueryResponse

func (*MetricQueryResponse) ContextValidate ¶

func (m *MetricQueryResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this metric query response based on the context it is used

func (*MetricQueryResponse) MarshalBinary ¶

func (m *MetricQueryResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricQueryResponse) UnmarshalBinary ¶

func (m *MetricQueryResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricQueryResponse) Validate ¶

func (m *MetricQueryResponse) Validate(formats strfmt.Registry) error

Validate validates this metric query response

type MetricQueryResponseItem ¶

type MetricQueryResponseItem struct {

	// timestamp
	// Format: date-time
	Timestamp strfmt.DateTime `json:"timestamp,omitempty"`

	// values
	Values []float64 `json:"values"`
}

MetricQueryResponseItem metric query response item

swagger:model MetricQueryResponseItem

func (*MetricQueryResponseItem) ContextValidate ¶

func (m *MetricQueryResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metric query response item based on context it is used

func (*MetricQueryResponseItem) MarshalBinary ¶

func (m *MetricQueryResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricQueryResponseItem) UnmarshalBinary ¶

func (m *MetricQueryResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricQueryResponseItem) Validate ¶

func (m *MetricQueryResponseItem) Validate(formats strfmt.Registry) error

Validate validates this metric query response item

type MetricThreshold ¶

type MetricThreshold struct {

	// red
	Red float64 `json:"red,omitempty"`

	// yellow
	Yellow float64 `json:"yellow,omitempty"`
}

MetricThreshold metric threshold

swagger:model MetricThreshold

func (*MetricThreshold) ContextValidate ¶

func (m *MetricThreshold) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metric threshold based on context it is used

func (*MetricThreshold) MarshalBinary ¶

func (m *MetricThreshold) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricThreshold) UnmarshalBinary ¶

func (m *MetricThreshold) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricThreshold) Validate ¶

func (m *MetricThreshold) Validate(formats strfmt.Registry) error

Validate validates this metric threshold

type MetricType ¶

type MetricType string

MetricType metric type

swagger:model MetricType

const (

	// MetricTypeMETRICTYPEUNSPECIFIED captures enum value "METRIC_TYPE_UNSPECIFIED"
	MetricTypeMETRICTYPEUNSPECIFIED MetricType = "METRIC_TYPE_UNSPECIFIED"

	// MetricTypeMETRICTYPECPUTOTAL captures enum value "METRIC_TYPE_CPU_TOTAL"
	MetricTypeMETRICTYPECPUTOTAL MetricType = "METRIC_TYPE_CPU_TOTAL"

	// MetricTypeMETRICTYPECPUUSAGE captures enum value "METRIC_TYPE_CPU_USAGE"
	MetricTypeMETRICTYPECPUUSAGE MetricType = "METRIC_TYPE_CPU_USAGE"

	// MetricTypeMETRICTYPEMEMORYTOTAL captures enum value "METRIC_TYPE_MEMORY_TOTAL"
	MetricTypeMETRICTYPEMEMORYTOTAL MetricType = "METRIC_TYPE_MEMORY_TOTAL"

	// MetricTypeMETRICTYPEMEMORYUTILIZATION captures enum value "METRIC_TYPE_MEMORY_UTILIZATION"
	MetricTypeMETRICTYPEMEMORYUTILIZATION MetricType = "METRIC_TYPE_MEMORY_UTILIZATION"

	// MetricTypeMETRICTYPENETWORKTOTAL captures enum value "METRIC_TYPE_NETWORK_TOTAL"
	MetricTypeMETRICTYPENETWORKTOTAL MetricType = "METRIC_TYPE_NETWORK_TOTAL"

	// MetricTypeMETRICTYPENETWORKRATES captures enum value "METRIC_TYPE_NETWORK_RATES"
	MetricTypeMETRICTYPENETWORKRATES MetricType = "METRIC_TYPE_NETWORK_RATES"

	// MetricTypeMETRICTYPEEVENTSCOUNT captures enum value "METRIC_TYPE_EVENTS_COUNT"
	MetricTypeMETRICTYPEEVENTSCOUNT MetricType = "METRIC_TYPE_EVENTS_COUNT"

	// MetricTypeMETRICTYPESTORAGEUTILIZATION captures enum value "METRIC_TYPE_STORAGE_UTILIZATION"
	MetricTypeMETRICTYPESTORAGEUTILIZATION MetricType = "METRIC_TYPE_STORAGE_UTILIZATION"

	// MetricTypeMETRICTYPESTORAGEIOZPOOL captures enum value "METRIC_TYPE_STORAGE_IO_ZPOOL"
	MetricTypeMETRICTYPESTORAGEIOZPOOL MetricType = "METRIC_TYPE_STORAGE_IO_ZPOOL"

	// MetricTypeMETRICTYPESTORAGEIOZVOL captures enum value "METRIC_TYPE_STORAGE_IO_ZVOL"
	MetricTypeMETRICTYPESTORAGEIOZVOL MetricType = "METRIC_TYPE_STORAGE_IO_ZVOL"
)

func NewMetricType ¶

func NewMetricType(value MetricType) *MetricType

func (MetricType) ContextValidate ¶

func (m MetricType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metric type based on context it is used

func (MetricType) Pointer ¶

func (m MetricType) Pointer() *MetricType

Pointer returns a pointer to a freshly-allocated MetricType.

func (MetricType) Validate ¶

func (m MetricType) Validate(formats strfmt.Registry) error

Validate validates this metric type

type MetricsDetail ¶

type MetricsDetail struct {

	// Mapping of queries variable keys and value
	Queries map[string]string `json:"queries,omitempty"`

	// Mapping of results variable keys and value
	Results map[string]string `json:"results,omitempty"`
}

MetricsDetail metrics detail

swagger:model MetricsDetail

func (*MetricsDetail) ContextValidate ¶

func (m *MetricsDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this metrics detail based on context it is used

func (*MetricsDetail) MarshalBinary ¶

func (m *MetricsDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*MetricsDetail) UnmarshalBinary ¶

func (m *MetricsDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*MetricsDetail) Validate ¶

func (m *MetricsDetail) Validate(formats strfmt.Registry) error

Validate validates this metrics detail

type ModelArchType ¶

type ModelArchType string

ModelArchType model arch type

swagger:model ModelArchType

const (

	// ModelArchTypeUNSPECIFIED captures enum value "UNSPECIFIED"
	ModelArchTypeUNSPECIFIED ModelArchType = "UNSPECIFIED"

	// ModelArchTypeUNDEFINED captures enum value "UNDEFINED"
	ModelArchTypeUNDEFINED ModelArchType = "UNDEFINED"

	// ModelArchTypeAMD64 captures enum value "AMD64"
	ModelArchTypeAMD64 ModelArchType = "AMD64"

	// ModelArchTypeARM64 captures enum value "ARM64"
	ModelArchTypeARM64 ModelArchType = "ARM64"
)

func NewModelArchType ¶

func NewModelArchType(value ModelArchType) *ModelArchType

func (ModelArchType) ContextValidate ¶

func (m ModelArchType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this model arch type based on context it is used

func (ModelArchType) Pointer ¶

func (m ModelArchType) Pointer() *ModelArchType

Pointer returns a pointer to a freshly-allocated ModelArchType.

func (ModelArchType) Validate ¶

func (m ModelArchType) Validate(formats strfmt.Registry) error

Validate validates this model arch type

type ModelAttributes ¶

type ModelAttributes struct {

	// cpus
	Cpus string `json:"cpus,omitempty"`

	// memory
	Memory string `json:"memory,omitempty"`

	// storage
	Storage string `json:"storage,omitempty"`
}

ModelAttributes model attributes

swagger:model ModelAttributes

func (*ModelAttributes) ContextValidate ¶

func (m *ModelAttributes) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this model attributes based on context it is used

func (*ModelAttributes) MarshalBinary ¶

func (m *ModelAttributes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelAttributes) UnmarshalBinary ¶

func (m *ModelAttributes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelAttributes) Validate ¶

func (m *ModelAttributes) Validate(formats strfmt.Registry) error

Validate validates this model attributes

type ModelClazz ¶

type ModelClazz string

ModelClazz Global identifier of clazz types

swagger:model ModelClazz

const (

	// ModelClazzModelClazzUnspecified captures enum value "ModelClazzUnspecified"
	ModelClazzModelClazzUnspecified ModelClazz = "ModelClazzUnspecified"

	// ModelClazzModelClazzDetailedUser captures enum value "ModelClazzDetailedUser"
	ModelClazzModelClazzDetailedUser ModelClazz = "ModelClazzDetailedUser"

	// ModelClazzModelClazzSimpleUser captures enum value "ModelClazzSimpleUser"
	ModelClazzModelClazzSimpleUser ModelClazz = "ModelClazzSimpleUser"

	// ModelClazzModelClazzEnterprise captures enum value "ModelClazzEnterprise"
	ModelClazzModelClazzEnterprise ModelClazz = "ModelClazzEnterprise"

	// ModelClazzModelClazzRealm captures enum value "ModelClazzRealm"
	ModelClazzModelClazzRealm ModelClazz = "ModelClazzRealm"

	// ModelClazzModelClazzCredential captures enum value "ModelClazzCredential"
	ModelClazzModelClazzCredential ModelClazz = "ModelClazzCredential"

	// ModelClazzModelClazzPolicy captures enum value "ModelClazzPolicy"
	ModelClazzModelClazzPolicy ModelClazz = "ModelClazzPolicy"

	// ModelClazzModelClazzRole captures enum value "ModelClazzRole"
	ModelClazzModelClazzRole ModelClazz = "ModelClazzRole"

	// ModelClazzModelClazzProfile captures enum value "ModelClazzProfile"
	ModelClazzModelClazzProfile ModelClazz = "ModelClazzProfile"

	// ModelClazzModelClazzDocPolicy captures enum value "ModelClazzDocPolicy"
	ModelClazzModelClazzDocPolicy ModelClazz = "ModelClazzDocPolicy"

	// ModelClazzModelClazzAllowedEnterpriseList captures enum value "ModelClazzAllowedEnterpriseList"
	ModelClazzModelClazzAllowedEnterpriseList ModelClazz = "ModelClazzAllowedEnterpriseList"

	// ModelClazzModelClazzTotalUserCount captures enum value "ModelClazzTotalUserCount"
	ModelClazzModelClazzTotalUserCount ModelClazz = "ModelClazzTotalUserCount"

	// ModelClazzModelClazzLastLoggedInUserInfo captures enum value "ModelClazzLastLoggedInUserInfo"
	ModelClazzModelClazzLastLoggedInUserInfo ModelClazz = "ModelClazzLastLoggedInUserInfo"

	// ModelClazzModelClazzUserActivitySummary captures enum value "ModelClazzUserActivitySummary"
	ModelClazzModelClazzUserActivitySummary ModelClazz = "ModelClazzUserActivitySummary"

	// ModelClazzModelClazzUserUsagePerEnterprise captures enum value "ModelClazzUserUsagePerEnterprise"
	ModelClazzModelClazzUserUsagePerEnterprise ModelClazz = "ModelClazzUserUsagePerEnterprise"
)

func NewModelClazz ¶

func NewModelClazz(value ModelClazz) *ModelClazz

func (ModelClazz) ContextValidate ¶

func (m ModelClazz) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this model clazz based on context it is used

func (ModelClazz) Pointer ¶

func (m ModelClazz) Pointer() *ModelClazz

Pointer returns a pointer to a freshly-allocated ModelClazz.

func (ModelClazz) Validate ¶

func (m ModelClazz) Validate(formats strfmt.Registry) error

Validate validates this model clazz

type ModelImport ¶

type ModelImport struct {

	// model config
	ModelConfig []*SysModelDetail `json:"modelConfig"`
}

ModelImport model import

swagger:model ModelImport

func (*ModelImport) ContextValidate ¶

func (m *ModelImport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this model import based on the context it is used

func (*ModelImport) MarshalBinary ¶

func (m *ModelImport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModelImport) UnmarshalBinary ¶

func (m *ModelImport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModelImport) Validate ¶

func (m *ModelImport) Validate(formats strfmt.Registry) error

Validate validates this model import

type ModuleDetail ¶

type ModuleDetail struct {

	// Extra information to module to make configuration easier
	Environment map[string]string `json:"environment,omitempty"`

	// Type of modules
	ModuleType *ModuleType `json:"moduleType,omitempty"`

	// Send messages between modules or send messages from modules to iot hub
	Routes map[string]string `json:"routes,omitempty"`

	// Base64 encoded module twin details, desired properties of the module will be updated to reflect these values
	TwinDetail string `json:"twinDetail,omitempty"`
}

ModuleDetail Module detail

Azure module specific details Example: {"twinDetail":"IHsKICAgICAgIm5hbWUiOiAiU2VuZEludGVydmFsIiwKICAgICAgInZhbHVlIjogIjUiCiAgICB9"}

swagger:model ModuleDetail

func (*ModuleDetail) ContextValidate ¶

func (m *ModuleDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this module detail based on the context it is used

func (*ModuleDetail) MarshalBinary ¶

func (m *ModuleDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModuleDetail) UnmarshalBinary ¶

func (m *ModuleDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModuleDetail) Validate ¶

func (m *ModuleDetail) Validate(formats strfmt.Registry) error

Validate validates this module detail

type ModulePolicy ¶

type ModulePolicy struct {

	// etag for deployment
	Etag string `json:"Etag,omitempty"`

	// list of app details that will be provisioned on all the devices of the project to which this policy is attached
	// Required: true
	Apps []*AppConfig `json:"apps"`

	// unique id for deployment
	// Read Only: true
	// Pattern: [0-9-a-z-]+
	ID string `json:"id,omitempty"`

	// Mapping of label variable keys and value
	Labels map[string]string `json:"labels,omitempty"`

	// custom metrics for deployment
	Metrics *MetricsDetail `json:"metrics,omitempty"`

	// deployment priority of module manifest
	// Required: true
	Priority *int64 `json:"priority"`

	// Mapping of routes variable keys and value
	Routes map[string]string `json:"routes,omitempty"`

	// target condition for deployment that matches single device or group of devices
	TargetCondition string `json:"targetCondition,omitempty"`

	// target condition for deployment that matches single device or group of devices
	TargetConditionNew map[string]string `json:"targetConditionNew,omitempty"`
}

ModulePolicy Module policy body detail

list of modules that will be provisioned on all the devices of the project to which this policy is attached

swagger:model ModulePolicy

func (*ModulePolicy) ContextValidate ¶

func (m *ModulePolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this module policy based on the context it is used

func (*ModulePolicy) MarshalBinary ¶

func (m *ModulePolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModulePolicy) UnmarshalBinary ¶

func (m *ModulePolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModulePolicy) Validate ¶

func (m *ModulePolicy) Validate(formats strfmt.Registry) error

Validate validates this module policy

type ModuleSummary ¶

type ModuleSummary struct {

	// Type of modules
	ModuleType *ModuleType `json:"moduleType,omitempty"`
}

ModuleSummary Module detail

Azure module specific details ¶

swagger:model ModuleSummary

func (*ModuleSummary) ContextValidate ¶

func (m *ModuleSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this module summary based on the context it is used

func (*ModuleSummary) MarshalBinary ¶

func (m *ModuleSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ModuleSummary) UnmarshalBinary ¶

func (m *ModuleSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ModuleSummary) Validate ¶

func (m *ModuleSummary) Validate(formats strfmt.Registry) error

Validate validates this module summary

type ModuleType ¶

type ModuleType string

ModuleType module type.

swagger:model ModuleType

const (

	// ModuleTypeMODULETYPEUNSPECIFIED captures enum value "MODULE_TYPE_UNSPECIFIED"
	ModuleTypeMODULETYPEUNSPECIFIED ModuleType = "MODULE_TYPE_UNSPECIFIED"

	// ModuleTypeMODULETYPESYSTEMDEFINED captures enum value "MODULE_TYPE_SYSTEM_DEFINED"
	ModuleTypeMODULETYPESYSTEMDEFINED ModuleType = "MODULE_TYPE_SYSTEM_DEFINED"

	// ModuleTypeMODULETYPECUSTOM captures enum value "MODULE_TYPE_CUSTOM"
	ModuleTypeMODULETYPECUSTOM ModuleType = "MODULE_TYPE_CUSTOM"
)

func NewModuleType ¶

func NewModuleType(value ModuleType) *ModuleType

func (ModuleType) ContextValidate ¶

func (m ModuleType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this module type based on context it is used

func (ModuleType) Pointer ¶

func (m ModuleType) Pointer() *ModuleType

Pointer returns a pointer to a freshly-allocated ModuleType.

func (ModuleType) Validate ¶

func (m ModuleType) Validate(formats strfmt.Registry) error

Validate validates this module type

type NetCellularConfig ¶

type NetCellularConfig struct {

	// a p n
	APN string `json:"APN,omitempty"`

	// location tracking
	LocationTracking bool `json:"locationTracking,omitempty"`
}

NetCellularConfig net cellular config

swagger:model NetCellularConfig

func (*NetCellularConfig) ContextValidate ¶

func (m *NetCellularConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this net cellular config based on context it is used

func (*NetCellularConfig) MarshalBinary ¶

func (m *NetCellularConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetCellularConfig) UnmarshalBinary ¶

func (m *NetCellularConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetCellularConfig) Validate ¶

func (m *NetCellularConfig) Validate(formats strfmt.Registry) error

Validate validates this net cellular config

type NetConfig ¶

type NetConfig struct {

	// Detailed description of the network
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// dns list
	DNSList []*StaticDNSList `json:"dnsList"`

	// make this network default for device
	EnterpriseDefault bool `json:"enterpriseDefault,omitempty"`

	// System defined universally unique Id of the network
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// ip
	// Required: true
	IP *IPSpec `json:"ip"`

	// kind
	// Required: true
	Kind *NetworkKind `json:"kind"`

	// User defined name of the network, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// project Id
	// Required: true
	ProjectID *string `json:"projectId"`

	// enterprise proxy
	Proxy *NetProxyConfig `json:"proxy,omitempty"`

	// system defined info
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the network. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Wifi configuration
	Wireless *NetWirelessConfig `json:"wireless,omitempty"`
}

NetConfig Network detailed configuration

Network provides Edge nodes a variety of connectivity choices for all types of networks. This enables physical connectivity with Ethernet, WiFi, LTE to communicate with ZEDEDA Cloud controller and Data Centres. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetConfig

func (*NetConfig) ContextValidate ¶

func (m *NetConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net config based on the context it is used

func (*NetConfig) MarshalBinary ¶

func (m *NetConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetConfig) UnmarshalBinary ¶

func (m *NetConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetConfig) Validate ¶

func (m *NetConfig) Validate(formats strfmt.Registry) error

Validate validates this net config

type NetConfigList ¶

type NetConfigList struct {

	// list
	List []*NetConfig `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary has been deprecated
	Summary *Summary `json:"summary,omitempty"`

	// summary by dist
	SummaryByDist *Summary `json:"summaryByDist,omitempty"`

	// summary by kind
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`

	// summary by proxy
	SummaryByProxy *Summary `json:"summaryByProxy,omitempty"`
}

NetConfigList net config list

swagger:model NetConfigList

func (*NetConfigList) ContextValidate ¶

func (m *NetConfigList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net config list based on the context it is used

func (*NetConfigList) MarshalBinary ¶

func (m *NetConfigList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetConfigList) UnmarshalBinary ¶

func (m *NetConfigList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetConfigList) Validate ¶

func (m *NetConfigList) Validate(formats strfmt.Registry) error

Validate validates this net config list

type NetInstConfig ¶

type NetInstConfig struct {

	// id of the Cluster in which the network instance is configured
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// Detailed description of the network instance
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// flag to indicate if this is default network
	//
	// flag to indicate if this is the default network instance for the device
	DeviceDefault string `json:"deviceDefault,omitempty"`

	// device on which this network is running
	//
	// id of the device on which network instance is created
	// Required: true
	DeviceID *string `json:"deviceId"`

	// dhcp - DEPRECATED
	//
	// Deprecated
	Dhcp bool `json:"dhcp,omitempty"`

	// List of Static DNS entries
	DNSList []*StaticDNSList `json:"dnsList"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// Dhcp Server Configuration
	IP *DhcpServerConfig `json:"ip,omitempty"`

	// Kind of Network Instance ( Local, Switch etc )
	// Required: true
	Kind *NetworkInstanceKind `json:"kind"`

	// Lisp Config : read only for now. Deprecated.
	Lisp *LispConfig `json:"lisp,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// id of the network policy to be attached to this network instance
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// Deprecated
	Oconfig string `json:"oconfig,omitempty"`

	// Service specific Config
	Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"`

	// name of port mapping in the model
	//
	// name of port mapping in the model
	// Required: true
	Port *string `json:"port"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	PortTags map[string]string `json:"portTags,omitempty"`

	// id of the project in which network instance is created
	ProjectID string `json:"projectId,omitempty"`

	// system defined info for the object
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the network instance. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// Type of DHCP for this Network Instance
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetInstConfig Network instance detailed configuration

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstConfig

func (*NetInstConfig) ContextValidate ¶

func (m *NetInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config based on the context it is used

func (*NetInstConfig) MarshalBinary ¶

func (m *NetInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstConfig) UnmarshalBinary ¶

func (m *NetInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstConfig) Validate ¶

func (m *NetInstConfig) Validate(formats strfmt.Registry) error

Validate validates this net inst config

type NetInstConfigStatus ¶ added in v1.0.2

type NetInstConfigStatus struct {

	// User defined name of the clusterInstance, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device default
	DeviceDefault bool `json:"deviceDefault,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network policy Id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`
}

NetInstConfigStatus Network instance config status

NetInstConfigStatus stores the summary of the network instance config status.

swagger:model NetInstConfigStatus

func (*NetInstConfigStatus) ContextValidate ¶ added in v1.0.2

func (m *NetInstConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config status based on the context it is used

func (*NetInstConfigStatus) MarshalBinary ¶ added in v1.0.2

func (m *NetInstConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstConfigStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *NetInstConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstConfigStatus) Validate ¶ added in v1.0.2

func (m *NetInstConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this net inst config status

type NetInstConfigStatusList ¶ added in v1.0.2

type NetInstConfigStatusList struct {

	// list
	List []*NetInstConfigStatus `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance config status list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance config status list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstConfigStatusList net inst config status list

swagger:model NetInstConfigStatusList

func (*NetInstConfigStatusList) ContextValidate ¶ added in v1.0.2

func (m *NetInstConfigStatusList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst config status list based on the context it is used

func (*NetInstConfigStatusList) MarshalBinary ¶ added in v1.0.2

func (m *NetInstConfigStatusList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstConfigStatusList) UnmarshalBinary ¶ added in v1.0.2

func (m *NetInstConfigStatusList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstConfigStatusList) Validate ¶ added in v1.0.2

func (m *NetInstConfigStatusList) Validate(formats strfmt.Registry) error

Validate validates this net inst config status list

type NetInstFilter ¶

type NetInstFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`
}

NetInstFilter net inst filter

swagger:model NetInstFilter

func (*NetInstFilter) ContextValidate ¶

func (m *NetInstFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this net inst filter based on context it is used

func (*NetInstFilter) MarshalBinary ¶

func (m *NetInstFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstFilter) UnmarshalBinary ¶

func (m *NetInstFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstFilter) Validate ¶

func (m *NetInstFilter) Validate(formats strfmt.Registry) error

Validate validates this net inst filter

type NetInstList ¶

type NetInstList struct {

	// cfg list
	CfgList []*NetInstConfig `json:"cfgList"`

	// list
	List []*NetInstShortConfig `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstList net inst list

swagger:model NetInstList

func (*NetInstList) ContextValidate ¶

func (m *NetInstList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst list based on the context it is used

func (*NetInstList) MarshalBinary ¶

func (m *NetInstList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstList) UnmarshalBinary ¶

func (m *NetInstList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstList) Validate ¶

func (m *NetInstList) Validate(formats strfmt.Registry) error

Validate validates this net inst list

type NetInstOpaqueConfig ¶

type NetInstOpaqueConfig struct {

	// lisp - Deprecated
	//
	// Deprecated - Lisp config
	Lisp *LispConfig `json:"lisp,omitempty"`

	// base64 encoded string of opaque config
	Oconfig string `json:"oconfig,omitempty"`

	// type of Opaque config
	Type *OpaqueConfigType `json:"type,omitempty"`
}

NetInstOpaqueConfig Network Instance Opaque config. This is service specific configuration.

swagger:model NetInstOpaqueConfig

func (*NetInstOpaqueConfig) ContextValidate ¶

func (m *NetInstOpaqueConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst opaque config based on the context it is used

func (*NetInstOpaqueConfig) MarshalBinary ¶

func (m *NetInstOpaqueConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstOpaqueConfig) UnmarshalBinary ¶

func (m *NetInstOpaqueConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstOpaqueConfig) Validate ¶

func (m *NetInstOpaqueConfig) Validate(formats strfmt.Registry) error

Validate validates this net inst opaque config

type NetInstShortConfig ¶

type NetInstShortConfig struct {

	// device default
	DeviceDefault bool `json:"deviceDefault,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// network policy id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetInstShortConfig Network instance summary configuration

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary configuration of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstShortConfig

func (*NetInstShortConfig) ContextValidate ¶

func (m *NetInstShortConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst short config based on the context it is used

func (*NetInstShortConfig) MarshalBinary ¶

func (m *NetInstShortConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstShortConfig) UnmarshalBinary ¶

func (m *NetInstShortConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstShortConfig) Validate ¶

func (m *NetInstShortConfig) Validate(formats strfmt.Registry) error

Validate validates this net inst short config

type NetInstStatusFilter ¶

type NetInstStatusFilter struct {

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// tags
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetInstStatusFilter net inst status filter

swagger:model NetInstStatusFilter

func (*NetInstStatusFilter) ContextValidate ¶

func (m *NetInstStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst status filter based on the context it is used

func (*NetInstStatusFilter) MarshalBinary ¶

func (m *NetInstStatusFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstStatusFilter) UnmarshalBinary ¶

func (m *NetInstStatusFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstStatusFilter) Validate ¶

func (m *NetInstStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this net inst status filter

type NetInstStatusListMsg ¶

type NetInstStatusListMsg struct {

	// list
	List []*NetInstStatusSummaryMsg `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// Summary information about netinstance status list records by addressing type.
	SummaryByAddressType *Summary `json:"summaryByAddressType,omitempty"`

	// Summary information about netinstance status list records by network instance kind.
	SummaryByKind *Summary `json:"summaryByKind,omitempty"`
}

NetInstStatusListMsg net inst status list msg

swagger:model NetInstStatusListMsg

func (*NetInstStatusListMsg) ContextValidate ¶

func (m *NetInstStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst status list msg based on the context it is used

func (*NetInstStatusListMsg) MarshalBinary ¶

func (m *NetInstStatusListMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstStatusListMsg) UnmarshalBinary ¶

func (m *NetInstStatusListMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstStatusListMsg) Validate ¶

func (m *NetInstStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status list msg

type NetInstStatusMsg ¶

type NetInstStatusMsg struct {

	// assigned adapters
	AssignedAdapters []*IoBundleStatus `json:"assignedAdapters"`

	// bridge IP addr
	BridgeIPAddr string `json:"bridgeIPAddr,omitempty"`

	// bridge name
	BridgeName string `json:"bridgeName,omitempty"`

	// bridge num
	BridgeNum int64 `json:"bridgeNum,omitempty"`

	// System defined universally unique clusterInstance ID, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device on which this network is running
	DeviceID string `json:"deviceId,omitempty"`

	// err info
	ErrInfo []*DeviceError `json:"errInfo"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// ip mappings
	IPMappings []*IPAssignment `json:"ipMappings"`

	// ipv4 eid
	IPV4Eid bool `json:"ipv4Eid,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`

	// vifs
	Vifs []*VifInfo `json:"vifs"`
}

NetInstStatusMsg Network instance detailed status

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides detailed status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstStatusMsg

func (*NetInstStatusMsg) ContextValidate ¶

func (m *NetInstStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst status msg based on the context it is used

func (*NetInstStatusMsg) MarshalBinary ¶

func (m *NetInstStatusMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstStatusMsg) UnmarshalBinary ¶

func (m *NetInstStatusMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstStatusMsg) Validate ¶

func (m *NetInstStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status msg

type NetInstStatusSummaryMsg ¶

type NetInstStatusSummaryMsg struct {

	// User defined name of the clusterInstance, unique across the enterprise.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	ClusterID string `json:"clusterID,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// System defined universally unique Id of the network instance
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	ID string `json:"id,omitempty"`

	// kind
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// User defined name of the network instance, unique across the enterprise. Once object is created, name can’t be changed
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// type
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`

	// up time stamp
	// Format: date-time
	UpTimeStamp strfmt.DateTime `json:"upTimeStamp,omitempty"`

	// uplink intf
	UplinkIntf string `json:"uplinkIntf,omitempty"`
}

NetInstStatusSummaryMsg Network instance summary status

Network instance provides Edge applications a variety of connectivity choices for all types of networks. This enables logical secure connectivity between Edge applications within a single Edge node and within a logical group of Edge nodes. This provides summary status of a Network instance. Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"sample-app"}

swagger:model NetInstStatusSummaryMsg

func (*NetInstStatusSummaryMsg) ContextValidate ¶

func (m *NetInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net inst status summary msg based on the context it is used

func (*NetInstStatusSummaryMsg) MarshalBinary ¶

func (m *NetInstStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetInstStatusSummaryMsg) UnmarshalBinary ¶

func (m *NetInstStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetInstStatusSummaryMsg) Validate ¶

func (m *NetInstStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this net inst status summary msg

type NetProxyConfig ¶

type NetProxyConfig struct {

	// Proxy exceptions
	Exceptions string `json:"exceptions,omitempty"`

	// Network proxy
	NetworkProxy bool `json:"networkProxy,omitempty"`

	// Proxy Certificates
	//
	// Network Proxy Certificates
	NetworkProxyCerts []strfmt.Base64 `json:"networkProxyCerts"`

	// Direct URL for wpad.dat download
	//
	// Network Proxy URL
	NetworkProxyURL string `json:"networkProxyURL,omitempty"`

	// proxy configuration in a pacfile
	//
	// proxy configuration in a pacfile
	Pacfile string `json:"pacfile,omitempty"`

	// protocol level proxies
	//
	// Net Proxy: protocol level proxies
	Proxies []*NetProxyServer `json:"proxies"`
}

NetProxyConfig Net Proxy Configurations

Net Proxy Configurations ¶

swagger:model NetProxyConfig

func (*NetProxyConfig) ContextValidate ¶

func (m *NetProxyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net proxy config based on the context it is used

func (*NetProxyConfig) MarshalBinary ¶

func (m *NetProxyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetProxyConfig) UnmarshalBinary ¶

func (m *NetProxyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetProxyConfig) Validate ¶

func (m *NetProxyConfig) Validate(formats strfmt.Registry) error

Validate validates this net proxy config

type NetProxyServer ¶

type NetProxyServer struct {

	// Net Proxy Port
	Port int64 `json:"port,omitempty"`

	// Net Proxy proto
	Proto *NetworkProxyProto `json:"proto,omitempty"`

	// Net Proxy Server
	Server string `json:"server,omitempty"`
}

NetProxyServer Net Proxy Server

Net Proxy Server ¶

swagger:model NetProxyServer

func (*NetProxyServer) ContextValidate ¶

func (m *NetProxyServer) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net proxy server based on the context it is used

func (*NetProxyServer) MarshalBinary ¶

func (m *NetProxyServer) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetProxyServer) UnmarshalBinary ¶

func (m *NetProxyServer) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetProxyServer) Validate ¶

func (m *NetProxyServer) Validate(formats strfmt.Registry) error

Validate validates this net proxy server

type NetProxyStatus ¶

type NetProxyStatus struct {

	// exceptions
	Exceptions string `json:"exceptions,omitempty"`

	// Enable, the proxy configuration coming from network
	//
	// Use pacfile (Auto discover or manual upload)
	NetworkProxy bool `json:"networkProxy,omitempty"`

	// Direct URL for wpad.dat download
	//
	// Network Proxy URL
	NetworkProxyURL string `json:"networkProxyURL,omitempty"`

	// proxy configuration in a pacfile
	//
	// proxy configuration in a pacfile
	Pacfile string `json:"pacfile,omitempty"`

	// protocol level proxies
	//
	// protocol level proxies
	Proxies []*NetProxyServer `json:"proxies"`

	// WPAD Proxy URL
	WpadProxyURL string `json:"wpadProxyURL,omitempty"`
}

NetProxyStatus NetProxyStatus is used to store the proxy configurations

NetProxyStatus is used to store the proxy configurations ¶

swagger:model NetProxyStatus

func (*NetProxyStatus) ContextValidate ¶

func (m *NetProxyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net proxy status based on the context it is used

func (*NetProxyStatus) MarshalBinary ¶

func (m *NetProxyStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetProxyStatus) UnmarshalBinary ¶

func (m *NetProxyStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetProxyStatus) Validate ¶

func (m *NetProxyStatus) Validate(formats strfmt.Registry) error

Validate validates this net proxy status

type NetWifiConfig ¶

type NetWifiConfig struct {

	// crypto
	Crypto *NetWifiConfigNetcryptoblock `json:"crypto,omitempty"`

	// crypto key
	CryptoKey string `json:"cryptoKey,omitempty"`

	// encrypted secrets
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// identity
	Identity string `json:"identity,omitempty"`

	// key scheme
	KeyScheme *NetworkWiFiKeyScheme `json:"keyScheme,omitempty"`

	// priority
	Priority int32 `json:"priority,omitempty"`

	// secret
	Secret *NetWifiConfigSecrets `json:"secret,omitempty"`

	// wifi s s ID
	WifiSSID string `json:"wifiSSID,omitempty"`
}

NetWifiConfig net wifi config

swagger:model NetWifiConfig

func (*NetWifiConfig) ContextValidate ¶

func (m *NetWifiConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net wifi config based on the context it is used

func (*NetWifiConfig) MarshalBinary ¶

func (m *NetWifiConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetWifiConfig) UnmarshalBinary ¶

func (m *NetWifiConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetWifiConfig) Validate ¶

func (m *NetWifiConfig) Validate(formats strfmt.Registry) error

Validate validates this net wifi config

type NetWifiConfigNetcryptoblock ¶

type NetWifiConfigNetcryptoblock struct {

	// identity
	Identity string `json:"identity,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

NetWifiConfigNetcryptoblock net wifi config netcryptoblock

swagger:model NetWifiConfigNetcryptoblock

func (*NetWifiConfigNetcryptoblock) ContextValidate ¶

func (m *NetWifiConfigNetcryptoblock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this net wifi config netcryptoblock based on context it is used

func (*NetWifiConfigNetcryptoblock) MarshalBinary ¶

func (m *NetWifiConfigNetcryptoblock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetWifiConfigNetcryptoblock) UnmarshalBinary ¶

func (m *NetWifiConfigNetcryptoblock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetWifiConfigNetcryptoblock) Validate ¶

func (m *NetWifiConfigNetcryptoblock) Validate(formats strfmt.Registry) error

Validate validates this net wifi config netcryptoblock

type NetWifiConfigSecrets ¶

type NetWifiConfigSecrets struct {

	// Wifi Password
	WiFiPasswd string `json:"WiFiPasswd,omitempty"`
}

NetWifiConfigSecrets net wifi config secrets

swagger:model NetWifiConfigSecrets

func (*NetWifiConfigSecrets) ContextValidate ¶

func (m *NetWifiConfigSecrets) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this net wifi config secrets based on context it is used

func (*NetWifiConfigSecrets) MarshalBinary ¶

func (m *NetWifiConfigSecrets) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetWifiConfigSecrets) UnmarshalBinary ¶

func (m *NetWifiConfigSecrets) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetWifiConfigSecrets) Validate ¶

func (m *NetWifiConfigSecrets) Validate(formats strfmt.Registry) error

Validate validates this net wifi config secrets

type NetWirelessConfig ¶

type NetWirelessConfig struct {

	// cellular cfg
	CellularCfg *NetCellularConfig `json:"cellularCfg,omitempty"`

	// type
	Type *NetworkWirelessType `json:"type,omitempty"`

	// wifi cfg
	WifiCfg *NetWifiConfig `json:"wifiCfg,omitempty"`
}

NetWirelessConfig net wireless config

swagger:model NetWirelessConfig

func (*NetWirelessConfig) ContextValidate ¶

func (m *NetWirelessConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this net wireless config based on the context it is used

func (*NetWirelessConfig) MarshalBinary ¶

func (m *NetWirelessConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetWirelessConfig) UnmarshalBinary ¶

func (m *NetWirelessConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetWirelessConfig) Validate ¶

func (m *NetWirelessConfig) Validate(formats strfmt.Registry) error

Validate validates this net wireless config

type NetworkConfigOrDefault ¶

type NetworkConfigOrDefault struct {

	// net instance config
	NetInstanceConfig *NetInstConfig `json:"netInstanceConfig,omitempty"`

	// net instance default
	NetInstanceDefault bool `json:"netInstanceDefault,omitempty"`
}

NetworkConfigOrDefault network config or default

swagger:model NetworkConfigOrDefault

func (*NetworkConfigOrDefault) ContextValidate ¶

func (m *NetworkConfigOrDefault) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network config or default based on the context it is used

func (*NetworkConfigOrDefault) MarshalBinary ¶

func (m *NetworkConfigOrDefault) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkConfigOrDefault) UnmarshalBinary ¶

func (m *NetworkConfigOrDefault) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkConfigOrDefault) Validate ¶

func (m *NetworkConfigOrDefault) Validate(formats strfmt.Registry) error

Validate validates this network config or default

type NetworkCounters ¶

type NetworkCounters struct {

	// ifName
	IfName string `json:"ifName,omitempty"`

	// Rx ACL Rate Drops
	RxACLDrops uint64 `json:"rxAclDrops,omitempty"`

	// Rx ACL Rate Limit Drops
	RxACLRateLimitDrops uint64 `json:"rxAclRateLimitDrops,omitempty"`

	// Rx Bytes
	RxBytes uint64 `json:"rxBytes,omitempty"`

	// Rx Drops
	RxDrops uint64 `json:"rxDrops,omitempty"`

	// Rx Errors
	RxErrors uint64 `json:"rxErrors,omitempty"`

	// Rx packets
	RxPkts uint64 `json:"rxPkts,omitempty"`

	// Tx ACL Rate Drops
	TxACLDrops uint64 `json:"txAclDrops,omitempty"`

	// Tx ACL Rate Limit Drops
	TxACLRateLimitDrops uint64 `json:"txAclRateLimitDrops,omitempty"`

	// Tx Bytes
	TxBytes uint64 `json:"txBytes,omitempty"`

	// Tx Drops
	TxDrops uint64 `json:"txDrops,omitempty"`

	// Tx Errors
	TxErrors uint64 `json:"txErrors,omitempty"`

	// Tx Packets
	TxPkts uint64 `json:"txPkts,omitempty"`
}

NetworkCounters NetworkCounter is used to store the Network Stats and Counters

NetworkCounter is used to store the Network Stats and Counters ¶

swagger:model NetworkCounters

func (*NetworkCounters) ContextValidate ¶

func (m *NetworkCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network counters based on context it is used

func (*NetworkCounters) MarshalBinary ¶

func (m *NetworkCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkCounters) UnmarshalBinary ¶

func (m *NetworkCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkCounters) Validate ¶

func (m *NetworkCounters) Validate(formats strfmt.Registry) error

Validate validates this network counters

type NetworkDHCPType ¶

type NetworkDHCPType string

NetworkDHCPType - NETWORK_DHCP_TYPE_STATIC: used for adapter configured DHCP static

  • NETWORK_DHCP_TYPE_PASSTHROUGH: used for adapter configured DHCP none, application will do DHCP
  • NETWORK_DHCP_TYPE_DEPRECATED: used for application simulation
  • NETWORK_DHCP_TYPE_CLIENT: used for adapter configured DHCP client

swagger:model NetworkDHCPType

const (

	// NetworkDHCPTypeNETWORKDHCPTYPEUNSPECIFIED captures enum value "NETWORK_DHCP_TYPE_UNSPECIFIED"
	NetworkDHCPTypeNETWORKDHCPTYPEUNSPECIFIED NetworkDHCPType = "NETWORK_DHCP_TYPE_UNSPECIFIED"

	// NetworkDHCPTypeNETWORKDHCPTYPESTATIC captures enum value "NETWORK_DHCP_TYPE_STATIC"
	NetworkDHCPTypeNETWORKDHCPTYPESTATIC NetworkDHCPType = "NETWORK_DHCP_TYPE_STATIC"

	// NetworkDHCPTypeNETWORKDHCPTYPEPASSTHROUGH captures enum value "NETWORK_DHCP_TYPE_PASSTHROUGH"
	NetworkDHCPTypeNETWORKDHCPTYPEPASSTHROUGH NetworkDHCPType = "NETWORK_DHCP_TYPE_PASSTHROUGH"

	// NetworkDHCPTypeNETWORKDHCPTYPEDEPRECATED captures enum value "NETWORK_DHCP_TYPE_DEPRECATED"
	NetworkDHCPTypeNETWORKDHCPTYPEDEPRECATED NetworkDHCPType = "NETWORK_DHCP_TYPE_DEPRECATED"

	// NetworkDHCPTypeNETWORKDHCPTYPECLIENT captures enum value "NETWORK_DHCP_TYPE_CLIENT"
	NetworkDHCPTypeNETWORKDHCPTYPECLIENT NetworkDHCPType = "NETWORK_DHCP_TYPE_CLIENT"
)

func NewNetworkDHCPType ¶

func NewNetworkDHCPType(value NetworkDHCPType) *NetworkDHCPType

func (NetworkDHCPType) ContextValidate ¶

func (m NetworkDHCPType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network d h c p type based on context it is used

func (NetworkDHCPType) Pointer ¶

func (m NetworkDHCPType) Pointer() *NetworkDHCPType

Pointer returns a pointer to a freshly-allocated NetworkDHCPType.

func (NetworkDHCPType) Validate ¶

func (m NetworkDHCPType) Validate(formats strfmt.Registry) error

Validate validates this network d h c p type

type NetworkFilter ¶

type NetworkFilter struct {

	// dist
	Dist *NetworkWirelessType `json:"dist,omitempty"`

	// kind
	Kind *NetworkKind `json:"kind,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`
}

NetworkFilter network filter

swagger:model NetworkFilter

func (*NetworkFilter) ContextValidate ¶

func (m *NetworkFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network filter based on the context it is used

func (*NetworkFilter) MarshalBinary ¶

func (m *NetworkFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkFilter) UnmarshalBinary ¶

func (m *NetworkFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkFilter) Validate ¶

func (m *NetworkFilter) Validate(formats strfmt.Registry) error

Validate validates this network filter

type NetworkInstConfig ¶ added in v1.0.2

type NetworkInstConfig struct {

	// flag to indicate if this is default network
	//
	// flag to indicate if this is the default network instance for the device
	DeviceDefault string `json:"deviceDefault,omitempty"`

	// List of Static DNS entries
	DNSList []*StaticDNSList `json:"dnsList"`

	// Dhcp Server Configuration
	IP *DhcpServerConfig `json:"ip,omitempty"`

	// Kind of Network Instance ( Local, Switch etc )
	Kind *NetworkInstanceKind `json:"kind,omitempty"`

	// Service specific Config
	Opaque *NetInstOpaqueConfig `json:"opaque,omitempty"`

	// name of port mapping in the model
	//
	// name of port mapping in the model
	Port string `json:"port,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	PortTags map[string]string `json:"portTags,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// Type of DHCP for this Network Instance
	Type *NetworkInstanceDhcpType `json:"type,omitempty"`
}

NetworkInstConfig network inst config

swagger:model NetworkInstConfig

func (*NetworkInstConfig) ContextValidate ¶ added in v1.0.2

func (m *NetworkInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network inst config based on the context it is used

func (*NetworkInstConfig) MarshalBinary ¶ added in v1.0.2

func (m *NetworkInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInstConfig) UnmarshalBinary ¶ added in v1.0.2

func (m *NetworkInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInstConfig) Validate ¶ added in v1.0.2

func (m *NetworkInstConfig) Validate(formats strfmt.Registry) error

Validate validates this network inst config

type NetworkInstPolicy ¶ added in v1.0.2

type NetworkInstPolicy struct {

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// network instance config details
	NetInstConfig *NetworkInstConfig `json:"netInstConfig,omitempty"`
}

NetworkInstPolicy network inst policy

swagger:model NetworkInstPolicy

func (*NetworkInstPolicy) ContextValidate ¶ added in v1.0.2

func (m *NetworkInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network inst policy based on the context it is used

func (*NetworkInstPolicy) MarshalBinary ¶ added in v1.0.2

func (m *NetworkInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkInstPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *NetworkInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkInstPolicy) Validate ¶ added in v1.0.2

func (m *NetworkInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this network inst policy

type NetworkInstanceDhcpType ¶

type NetworkInstanceDhcpType string

NetworkInstanceDhcpType NetworkInstanceDhcpType: Used in the network instance provide

dhcp server configuration

swagger:model NetworkInstanceDhcpType

const (

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEUNSPECIFIED captures enum value "NETWORK_INSTANCE_DHCP_TYPE_UNSPECIFIED"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEUNSPECIFIED NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_UNSPECIFIED"

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV4 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_V4"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV4 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_V4"

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV6 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_V6"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPEV6 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_V6"

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOEID captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOEID"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOEID NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOEID"

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV4 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV4"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV4 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV4"

	// NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV6 captures enum value "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV6"
	NetworkInstanceDhcpTypeNETWORKINSTANCEDHCPTYPECRYPTOV6 NetworkInstanceDhcpType = "NETWORK_INSTANCE_DHCP_TYPE_CRYPTOV6"
)

func (NetworkInstanceDhcpType) ContextValidate ¶

func (m NetworkInstanceDhcpType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network instance dhcp type based on context it is used

func (NetworkInstanceDhcpType) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkInstanceDhcpType.

func (NetworkInstanceDhcpType) Validate ¶

func (m NetworkInstanceDhcpType) Validate(formats strfmt.Registry) error

Validate validates this network instance dhcp type

type NetworkInstanceKind ¶

type NetworkInstanceKind string

NetworkInstanceKind network instance kind

swagger:model NetworkInstanceKind

const (

	// NetworkInstanceKindNETWORKINSTANCEKINDUNSPECIFIED captures enum value "NETWORK_INSTANCE_KIND_UNSPECIFIED"
	NetworkInstanceKindNETWORKINSTANCEKINDUNSPECIFIED NetworkInstanceKind = "NETWORK_INSTANCE_KIND_UNSPECIFIED"

	// NetworkInstanceKindNETWORKINSTANCEKINDTRANSPARENT captures enum value "NETWORK_INSTANCE_KIND_TRANSPARENT"
	NetworkInstanceKindNETWORKINSTANCEKINDTRANSPARENT NetworkInstanceKind = "NETWORK_INSTANCE_KIND_TRANSPARENT"

	// NetworkInstanceKindNETWORKINSTANCEKINDSWITCH captures enum value "NETWORK_INSTANCE_KIND_SWITCH"
	NetworkInstanceKindNETWORKINSTANCEKINDSWITCH NetworkInstanceKind = "NETWORK_INSTANCE_KIND_SWITCH"

	// NetworkInstanceKindNETWORKINSTANCEKINDLOCAL captures enum value "NETWORK_INSTANCE_KIND_LOCAL"
	NetworkInstanceKindNETWORKINSTANCEKINDLOCAL NetworkInstanceKind = "NETWORK_INSTANCE_KIND_LOCAL"

	// NetworkInstanceKindNETWORKINSTANCEKINDCLOUD captures enum value "NETWORK_INSTANCE_KIND_CLOUD"
	NetworkInstanceKindNETWORKINSTANCEKINDCLOUD NetworkInstanceKind = "NETWORK_INSTANCE_KIND_CLOUD"

	// NetworkInstanceKindNETWORKINSTANCEKINDMESH captures enum value "NETWORK_INSTANCE_KIND_MESH"
	NetworkInstanceKindNETWORKINSTANCEKINDMESH NetworkInstanceKind = "NETWORK_INSTANCE_KIND_MESH"

	// NetworkInstanceKindNETWORKINSTANCEKINDHONEYPOT captures enum value "NETWORK_INSTANCE_KIND_HONEYPOT"
	NetworkInstanceKindNETWORKINSTANCEKINDHONEYPOT NetworkInstanceKind = "NETWORK_INSTANCE_KIND_HONEYPOT"
)

func NewNetworkInstanceKind ¶

func NewNetworkInstanceKind(value NetworkInstanceKind) *NetworkInstanceKind

func (NetworkInstanceKind) ContextValidate ¶

func (m NetworkInstanceKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network instance kind based on context it is used

func (NetworkInstanceKind) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkInstanceKind.

func (NetworkInstanceKind) Validate ¶

func (m NetworkInstanceKind) Validate(formats strfmt.Registry) error

Validate validates this network instance kind

type NetworkKind ¶

type NetworkKind string

NetworkKind NetworkKind: Used for the network configuration, this is

only client mode

swagger:model NetworkKind

const (

	// NetworkKindNETWORKKINDUNSPECIFIED captures enum value "NETWORK_KIND_UNSPECIFIED"
	NetworkKindNETWORKKINDUNSPECIFIED NetworkKind = "NETWORK_KIND_UNSPECIFIED"

	// NetworkKindNETWORKKINDV4 captures enum value "NETWORK_KIND_V4"
	NetworkKindNETWORKKINDV4 NetworkKind = "NETWORK_KIND_V4"

	// NetworkKindNETWORKKINDV6 captures enum value "NETWORK_KIND_V6"
	NetworkKindNETWORKKINDV6 NetworkKind = "NETWORK_KIND_V6"

	// NetworkKindNETWORKKINDV4ONLY captures enum value "NETWORK_KIND_V4_ONLY"
	NetworkKindNETWORKKINDV4ONLY NetworkKind = "NETWORK_KIND_V4_ONLY"

	// NetworkKindNETWORKKINDV6ONLY captures enum value "NETWORK_KIND_V6_ONLY"
	NetworkKindNETWORKKINDV6ONLY NetworkKind = "NETWORK_KIND_V6_ONLY"

	// NetworkKindNETWORKKINDDUALV4V6 captures enum value "NETWORK_KIND_DUAL_V4_V6"
	NetworkKindNETWORKKINDDUALV4V6 NetworkKind = "NETWORK_KIND_DUAL_V4_V6"
)

func NewNetworkKind ¶

func NewNetworkKind(value NetworkKind) *NetworkKind

func (NetworkKind) ContextValidate ¶

func (m NetworkKind) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network kind based on context it is used

func (NetworkKind) Pointer ¶

func (m NetworkKind) Pointer() *NetworkKind

Pointer returns a pointer to a freshly-allocated NetworkKind.

func (NetworkKind) Validate ¶

func (m NetworkKind) Validate(formats strfmt.Registry) error

Validate validates this network kind

type NetworkPolicy ¶

type NetworkPolicy struct {

	// list of network details that will be created on all the devices of the project to which this policy is attached
	// Required: true
	NetInstanceConfig []*NetInstConfig `json:"netInstanceConfig"`
}

NetworkPolicy Network policy body detail

list of networks that will be created on all the devices of the project to which this policy is attached

swagger:model NetworkPolicy

func (*NetworkPolicy) ContextValidate ¶

func (m *NetworkPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network policy based on the context it is used

func (*NetworkPolicy) MarshalBinary ¶

func (m *NetworkPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkPolicy) UnmarshalBinary ¶

func (m *NetworkPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkPolicy) Validate ¶

func (m *NetworkPolicy) Validate(formats strfmt.Registry) error

Validate validates this network policy

type NetworkProxyProto ¶

type NetworkProxyProto string

NetworkProxyProto network proxy proto

swagger:model NetworkProxyProto

const (

	// NetworkProxyProtoNETWORKPROXYPROTOHTTP captures enum value "NETWORK_PROXY_PROTO_HTTP"
	NetworkProxyProtoNETWORKPROXYPROTOHTTP NetworkProxyProto = "NETWORK_PROXY_PROTO_HTTP"

	// NetworkProxyProtoNETWORKPROXYPROTOHTTPS captures enum value "NETWORK_PROXY_PROTO_HTTPS"
	NetworkProxyProtoNETWORKPROXYPROTOHTTPS NetworkProxyProto = "NETWORK_PROXY_PROTO_HTTPS"

	// NetworkProxyProtoNETWORKPROXYPROTOSOCKS captures enum value "NETWORK_PROXY_PROTO_SOCKS"
	NetworkProxyProtoNETWORKPROXYPROTOSOCKS NetworkProxyProto = "NETWORK_PROXY_PROTO_SOCKS"

	// NetworkProxyProtoNETWORKPROXYPROTOFTP captures enum value "NETWORK_PROXY_PROTO_FTP"
	NetworkProxyProtoNETWORKPROXYPROTOFTP NetworkProxyProto = "NETWORK_PROXY_PROTO_FTP"

	// NetworkProxyProtoNETWORKPROXYPROTOOTHER captures enum value "NETWORK_PROXY_PROTO_OTHER"
	NetworkProxyProtoNETWORKPROXYPROTOOTHER NetworkProxyProto = "NETWORK_PROXY_PROTO_OTHER"
)

func NewNetworkProxyProto ¶

func NewNetworkProxyProto(value NetworkProxyProto) *NetworkProxyProto

func (NetworkProxyProto) ContextValidate ¶

func (m NetworkProxyProto) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network proxy proto based on context it is used

func (NetworkProxyProto) Pointer ¶

func (m NetworkProxyProto) Pointer() *NetworkProxyProto

Pointer returns a pointer to a freshly-allocated NetworkProxyProto.

func (NetworkProxyProto) Validate ¶

func (m NetworkProxyProto) Validate(formats strfmt.Registry) error

Validate validates this network proxy proto

type NetworkStatus ¶

type NetworkStatus struct {

	// Default Routers
	DefaultRouters []string `json:"defaultRouters"`

	// DNS Configuration
	DNS *DNSInfo `json:"dns,omitempty"`

	// Network error details
	ErrInfo *DeviceError `json:"errInfo,omitempty"`

	// Location from GNSS receivers on WWAN type adapters
	GpsLocation *GPSLocation `json:"gpsLocation,omitempty"`

	// ifName
	IfName string `json:"ifName,omitempty"`

	// Array of IP addresses
	IPAddrs []string `json:"ipAddrs"`

	// Geo Location Details
	Location *GeoLocation `json:"location,omitempty"`

	// mac Address
	MacAddr string `json:"macAddr,omitempty"`

	// Network Proxy status
	Proxy *NetProxyStatus `json:"proxy,omitempty"`

	// Network Status flag
	Up bool `json:"up,omitempty"`

	// Uplink flag
	Uplink bool `json:"uplink,omitempty"`
}

NetworkStatus NetworkStatus is used to store the Network Status

NetworkStatus is used to store the Network status ¶

swagger:model NetworkStatus

func (*NetworkStatus) ContextValidate ¶

func (m *NetworkStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this network status based on the context it is used

func (*NetworkStatus) MarshalBinary ¶

func (m *NetworkStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NetworkStatus) UnmarshalBinary ¶

func (m *NetworkStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NetworkStatus) Validate ¶

func (m *NetworkStatus) Validate(formats strfmt.Registry) error

Validate validates this network status

type NetworkWiFiKeyScheme ¶

type NetworkWiFiKeyScheme string

NetworkWiFiKeyScheme network wi fi key scheme

swagger:model NetworkWiFiKeyScheme

const (

	// NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEUNSPECIFIED captures enum value "NETWORK_WIFIKEY_SCHEME_UNSPECIFIED"
	NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEUNSPECIFIED NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_UNSPECIFIED"

	// NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAPSK captures enum value "NETWORK_WIFIKEY_SCHEME_WPAPSK"
	NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAPSK NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_WPAPSK"

	// NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAEAP captures enum value "NETWORK_WIFIKEY_SCHEME_WPAEAP"
	NetworkWiFiKeySchemeNETWORKWIFIKEYSCHEMEWPAEAP NetworkWiFiKeyScheme = "NETWORK_WIFIKEY_SCHEME_WPAEAP"
)

func NewNetworkWiFiKeyScheme ¶

func NewNetworkWiFiKeyScheme(value NetworkWiFiKeyScheme) *NetworkWiFiKeyScheme

func (NetworkWiFiKeyScheme) ContextValidate ¶

func (m NetworkWiFiKeyScheme) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network wi fi key scheme based on context it is used

func (NetworkWiFiKeyScheme) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkWiFiKeyScheme.

func (NetworkWiFiKeyScheme) Validate ¶

func (m NetworkWiFiKeyScheme) Validate(formats strfmt.Registry) error

Validate validates this network wi fi key scheme

type NetworkWirelessType ¶

type NetworkWirelessType string

NetworkWirelessType network wireless type

swagger:model NetworkWirelessType

const (

	// NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED captures enum value "NETWORK_WIRELESS_TYPE_UNSPECIFIED"
	NetworkWirelessTypeNETWORKWIRELESSTYPEUNSPECIFIED NetworkWirelessType = "NETWORK_WIRELESS_TYPE_UNSPECIFIED"

	// NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI captures enum value "NETWORK_WIRELESS_TYPE_WIFI"
	NetworkWirelessTypeNETWORKWIRELESSTYPEWIFI NetworkWirelessType = "NETWORK_WIRELESS_TYPE_WIFI"

	// NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR captures enum value "NETWORK_WIRELESS_TYPE_CELLULAR"
	NetworkWirelessTypeNETWORKWIRELESSTYPECELLULAR NetworkWirelessType = "NETWORK_WIRELESS_TYPE_CELLULAR"
)

func NewNetworkWirelessType ¶

func NewNetworkWirelessType(value NetworkWirelessType) *NetworkWirelessType

func (NetworkWirelessType) ContextValidate ¶

func (m NetworkWirelessType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this network wireless type based on context it is used

func (NetworkWirelessType) Pointer ¶

Pointer returns a pointer to a freshly-allocated NetworkWirelessType.

func (NetworkWirelessType) Validate ¶

func (m NetworkWirelessType) Validate(formats strfmt.Registry) error

Validate validates this network wireless type

type OAUTHProfile ¶

type OAUTHProfile struct {

	// OIDC endpoint for oauth validation
	OIDCEndPoint string `json:"OIDCEndPoint,omitempty"`

	// OAUTH client ID
	ClientID string `json:"clientID,omitempty"`

	// OAUTH client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// crypto key
	CryptoKey string `json:"cryptoKey,omitempty"`

	// encrypted secrets
	EncryptedSecrets map[string]string `json:"encryptedSecrets,omitempty"`

	// id for Vmware IDP
	IdpID string `json:"idpId,omitempty"`

	// Config for JWT based authentication, jwks_uri is derived from OIDC Well Known Endpoints
	JwtAuthProfile *OAUTHProfileJWTAuthProfile `json:"jwtAuthProfile,omitempty"`

	// OIDC scope to fetch application role
	RoleScope string `json:"roleScope,omitempty"`
}

OAUTHProfile o a u t h profile

swagger:model OAUTHProfile

func (*OAUTHProfile) ContextValidate ¶

func (m *OAUTHProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o a u t h profile based on the context it is used

func (*OAUTHProfile) MarshalBinary ¶

func (m *OAUTHProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OAUTHProfile) UnmarshalBinary ¶

func (m *OAUTHProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OAUTHProfile) Validate ¶

func (m *OAUTHProfile) Validate(formats strfmt.Registry) error

Validate validates this o a u t h profile

type OAUTHProfileJWTAuthProfile ¶ added in v1.0.2

type OAUTHProfileJWTAuthProfile struct {

	// Algorithm for JWT signature verification
	Alg *JWTAuthProfileAlgorithm `json:"alg,omitempty"`
}

OAUTHProfileJWTAuthProfile JWT Authentication profile detail

Config for JWT based authentication, jwks_uri is derived from OIDC Well Known Endpoints

swagger:model OAUTHProfileJWTAuthProfile

func (*OAUTHProfileJWTAuthProfile) ContextValidate ¶ added in v1.0.2

func (m *OAUTHProfileJWTAuthProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this o a u t h profile j w t auth profile based on the context it is used

func (*OAUTHProfileJWTAuthProfile) MarshalBinary ¶ added in v1.0.2

func (m *OAUTHProfileJWTAuthProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OAUTHProfileJWTAuthProfile) UnmarshalBinary ¶ added in v1.0.2

func (m *OAUTHProfileJWTAuthProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OAUTHProfileJWTAuthProfile) Validate ¶ added in v1.0.2

func (m *OAUTHProfileJWTAuthProfile) Validate(formats strfmt.Registry) error

Validate validates this o a u t h profile j w t auth profile

type ObjectDetail ¶ added in v1.0.2

type ObjectDetail struct {

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`
}

ObjectDetail object detail

swagger:model ObjectDetail

func (*ObjectDetail) ContextValidate ¶ added in v1.0.2

func (m *ObjectDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object detail based on context it is used

func (*ObjectDetail) MarshalBinary ¶ added in v1.0.2

func (m *ObjectDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectDetail) UnmarshalBinary ¶ added in v1.0.2

func (m *ObjectDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectDetail) Validate ¶ added in v1.0.2

func (m *ObjectDetail) Validate(formats strfmt.Registry) error

Validate validates this object detail

type ObjectParentDetail ¶

type ObjectParentDetail struct {

	// system defined unique id of parent object
	// Required: true
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	IDOfParentObject string `json:"idOfParentObject"`

	// Relation with child and parent object exists or not
	ReferenceExists bool `json:"referenceExists,omitempty"`

	// Update required flag
	UpdateAvailable bool `json:"updateAvailable,omitempty"`

	// version of object present in parent
	// Read Only: true
	VersionOfParentObject int64 `json:"versionOfParentObject,omitempty"`
}

ObjectParentDetail Object Import Detail

ObjectImportDetail consists of various object attributes like idOfParentObject, versionOfParentObject, updateAvailable, referenceExists ¶

swagger:model ObjectParentDetail

func (*ObjectParentDetail) ContextValidate ¶

func (m *ObjectParentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this object parent detail based on the context it is used

func (*ObjectParentDetail) MarshalBinary ¶

func (m *ObjectParentDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectParentDetail) UnmarshalBinary ¶

func (m *ObjectParentDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectParentDetail) Validate ¶

func (m *ObjectParentDetail) Validate(formats strfmt.Registry) error

Validate validates this object parent detail

type ObjectRevision ¶

type ObjectRevision struct {

	// The time, in milliseconds since the epoch, when the record was created.
	// Required: true
	CreatedAt interface{} `json:"createdAt"`

	// User data: Created By
	// Required: true
	CreatedBy *string `json:"createdBy"`

	// Current Database version of the record
	// Required: true
	Curr *string `json:"curr"`

	// Previous
	Prev string `json:"prev,omitempty"`

	// The time, in milliseconds since the epoch, when the record was last updated.
	// Required: true
	UpdatedAt interface{} `json:"updatedAt"`

	// User data: Updated By
	// Required: true
	UpdatedBy *string `json:"updatedBy"`
}

ObjectRevision ObjectRevision is used to store the user information.

ObjectRevision store the user details, who has doent the necessary operation like Create Operation or update operation ¶

swagger:model ObjectRevision

func (*ObjectRevision) ContextValidate ¶

func (m *ObjectRevision) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object revision based on context it is used

func (*ObjectRevision) MarshalBinary ¶

func (m *ObjectRevision) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectRevision) UnmarshalBinary ¶

func (m *ObjectRevision) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectRevision) Validate ¶

func (m *ObjectRevision) Validate(formats strfmt.Registry) error

Validate validates this object revision

type ObjectTag ¶

type ObjectTag struct {

	// Description of the tag key
	Description string `json:"description,omitempty"`

	// object tag key identifier.
	Key string `json:"key,omitempty"`

	// value associated for the object tag key
	Value string `json:"value,omitempty"`
}

ObjectTag Object Tag details

Object tag deaails.

swagger:model ObjectTag

func (*ObjectTag) ContextValidate ¶

func (m *ObjectTag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object tag based on context it is used

func (*ObjectTag) MarshalBinary ¶

func (m *ObjectTag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectTag) UnmarshalBinary ¶

func (m *ObjectTag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectTag) Validate ¶

func (m *ObjectTag) Validate(formats strfmt.Registry) error

Validate validates this object tag

type ObjectTagFilter ¶

type ObjectTagFilter struct {

	// Object Id which tags are associated.
	ObjID string `json:"objId,omitempty"`

	// Object name which tags are associated.
	ObjName string `json:"objName,omitempty"`

	// Object type
	ObjType *ObjectType `json:"objType,omitempty"`
}

ObjectTagFilter Object tag list filter criteria

Filter criteria for the object tag list.

swagger:model ObjectTagFilter

func (*ObjectTagFilter) ContextValidate ¶

func (m *ObjectTagFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this object tag filter based on the context it is used

func (*ObjectTagFilter) MarshalBinary ¶

func (m *ObjectTagFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectTagFilter) UnmarshalBinary ¶

func (m *ObjectTagFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectTagFilter) Validate ¶

func (m *ObjectTagFilter) Validate(formats strfmt.Registry) error

Validate validates this object tag filter

type ObjectTagsList ¶

type ObjectTagsList struct {

	// Returned record page.
	Next *Cursor `json:"next,omitempty"`

	// Details of Object tags list records.
	ObjectTags []*ObjectTag `json:"objectTags"`
}

ObjectTagsList Object tag list records

Returned list of Object tags matched by filter criteria ¶

swagger:model ObjectTagsList

func (*ObjectTagsList) ContextValidate ¶

func (m *ObjectTagsList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this object tags list based on the context it is used

func (*ObjectTagsList) MarshalBinary ¶

func (m *ObjectTagsList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ObjectTagsList) UnmarshalBinary ¶

func (m *ObjectTagsList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ObjectTagsList) Validate ¶

func (m *ObjectTagsList) Validate(formats strfmt.Registry) error

Validate validates this object tags list

type ObjectType ¶

type ObjectType string

ObjectType object type

swagger:model ObjectType

const (

	// ObjectTypeOBJECTTYPEUNSPECIFIED captures enum value "OBJECT_TYPE_UNSPECIFIED"
	ObjectTypeOBJECTTYPEUNSPECIFIED ObjectType = "OBJECT_TYPE_UNSPECIFIED"

	// ObjectTypeOBJECTTYPEUSER captures enum value "OBJECT_TYPE_USER"
	ObjectTypeOBJECTTYPEUSER ObjectType = "OBJECT_TYPE_USER"

	// ObjectTypeOBJECTTYPEEDGENODE captures enum value "OBJECT_TYPE_EDGE_NODE"
	ObjectTypeOBJECTTYPEEDGENODE ObjectType = "OBJECT_TYPE_EDGE_NODE"

	// ObjectTypeOBJECTTYPEEDGEAPP captures enum value "OBJECT_TYPE_EDGE_APP"
	ObjectTypeOBJECTTYPEEDGEAPP ObjectType = "OBJECT_TYPE_EDGE_APP"

	// ObjectTypeOBJECTTYPEIMAGE captures enum value "OBJECT_TYPE_IMAGE"
	ObjectTypeOBJECTTYPEIMAGE ObjectType = "OBJECT_TYPE_IMAGE"

	// ObjectTypeOBJECTTYPEEDGEAPPINSTANCE captures enum value "OBJECT_TYPE_EDGE_APP_INSTANCE"
	ObjectTypeOBJECTTYPEEDGEAPPINSTANCE ObjectType = "OBJECT_TYPE_EDGE_APP_INSTANCE"

	// ObjectTypeOBJECTTYPEPROJECT captures enum value "OBJECT_TYPE_PROJECT"
	ObjectTypeOBJECTTYPEPROJECT ObjectType = "OBJECT_TYPE_PROJECT"

	// ObjectTypeOBJECTTYPENETWORK captures enum value "OBJECT_TYPE_NETWORK"
	ObjectTypeOBJECTTYPENETWORK ObjectType = "OBJECT_TYPE_NETWORK"

	// ObjectTypeOBJECTTYPEDATASTORE captures enum value "OBJECT_TYPE_DATASTORE"
	ObjectTypeOBJECTTYPEDATASTORE ObjectType = "OBJECT_TYPE_DATASTORE"

	// ObjectTypeOBJECTTYPESERVICE captures enum value "OBJECT_TYPE_SERVICE"
	ObjectTypeOBJECTTYPESERVICE ObjectType = "OBJECT_TYPE_SERVICE"

	// ObjectTypeOBJECTTYPESERVICEINSTANCE captures enum value "OBJECT_TYPE_SERVICE_INSTANCE"
	ObjectTypeOBJECTTYPESERVICEINSTANCE ObjectType = "OBJECT_TYPE_SERVICE_INSTANCE"

	// ObjectTypeOBJECTTYPEENTERPRISE captures enum value "OBJECT_TYPE_ENTERPRISE"
	ObjectTypeOBJECTTYPEENTERPRISE ObjectType = "OBJECT_TYPE_ENTERPRISE"

	// ObjectTypeOBJECTTYPEROLE captures enum value "OBJECT_TYPE_ROLE"
	ObjectTypeOBJECTTYPEROLE ObjectType = "OBJECT_TYPE_ROLE"

	// ObjectTypeOBJECTTYPECREDENTIAL captures enum value "OBJECT_TYPE_CREDENTIAL"
	ObjectTypeOBJECTTYPECREDENTIAL ObjectType = "OBJECT_TYPE_CREDENTIAL"

	// ObjectTypeOBJECTTYPENETWORKINSTANCE captures enum value "OBJECT_TYPE_NETWORK_INSTANCE"
	ObjectTypeOBJECTTYPENETWORKINSTANCE ObjectType = "OBJECT_TYPE_NETWORK_INSTANCE"

	// ObjectTypeOBJECTTYPEVOLUMEINSTANCE captures enum value "OBJECT_TYPE_VOLUME_INSTANCE"
	ObjectTypeOBJECTTYPEVOLUMEINSTANCE ObjectType = "OBJECT_TYPE_VOLUME_INSTANCE"

	// ObjectTypeOBJECTTYPEREALM captures enum value "OBJECT_TYPE_REALM"
	ObjectTypeOBJECTTYPEREALM ObjectType = "OBJECT_TYPE_REALM"

	// ObjectTypeOBJECTTYPEAUTHPROFILE captures enum value "OBJECT_TYPE_AUTHPROFILE"
	ObjectTypeOBJECTTYPEAUTHPROFILE ObjectType = "OBJECT_TYPE_AUTHPROFILE"

	// ObjectTypeOBJECTTYPEPOLICY captures enum value "OBJECT_TYPE_POLICY"
	ObjectTypeOBJECTTYPEPOLICY ObjectType = "OBJECT_TYPE_POLICY"

	// ObjectTypeOBJECTTYPEAPPPOLICY captures enum value "OBJECT_TYPE_APP_POLICY"
	ObjectTypeOBJECTTYPEAPPPOLICY ObjectType = "OBJECT_TYPE_APP_POLICY"

	// ObjectTypeOBJECTTYPECLUSTERINSTANCE captures enum value "OBJECT_TYPE_CLUSTER_INSTANCE"
	ObjectTypeOBJECTTYPECLUSTERINSTANCE ObjectType = "OBJECT_TYPE_CLUSTER_INSTANCE"

	// ObjectTypeOBJECTTYPEPLUGIN captures enum value "OBJECT_TYPE_PLUGIN"
	ObjectTypeOBJECTTYPEPLUGIN ObjectType = "OBJECT_TYPE_PLUGIN"

	// ObjectTypeOBJECTTYPEDOCPOLICY captures enum value "OBJECT_TYPE_DOC_POLICY"
	ObjectTypeOBJECTTYPEDOCPOLICY ObjectType = "OBJECT_TYPE_DOC_POLICY"

	// ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER captures enum value "OBJECT_TYPE_ORCHESTRATOR_CLUSTER"
	ObjectTypeOBJECTTYPEORCHESTRATORCLUSTER ObjectType = "OBJECT_TYPE_ORCHESTRATOR_CLUSTER"

	// ObjectTypeOBJECTTYPETAGS captures enum value "OBJECT_TYPE_TAGS"
	ObjectTypeOBJECTTYPETAGS ObjectType = "OBJECT_TYPE_TAGS"

	// ObjectTypeOBJECTTYPEEDGENODEINTERFACE captures enum value "OBJECT_TYPE_EDGE_NODE_INTERFACE"
	ObjectTypeOBJECTTYPEEDGENODEINTERFACE ObjectType = "OBJECT_TYPE_EDGE_NODE_INTERFACE"

	// ObjectTypeOBJECTTYPEDEPLOYMENT captures enum value "OBJECT_TYPE_DEPLOYMENT"
	ObjectTypeOBJECTTYPEDEPLOYMENT ObjectType = "OBJECT_TYPE_DEPLOYMENT"

	// ObjectTypeOBJECTTYPEENTITLEMENTS captures enum value "OBJECT_TYPE_ENTITLEMENTS"
	ObjectTypeOBJECTTYPEENTITLEMENTS ObjectType = "OBJECT_TYPE_ENTITLEMENTS"

	// ObjectTypeOBJECTTYPEDATASTREAM captures enum value "OBJECT_TYPE_DATA_STREAM"
	ObjectTypeOBJECTTYPEDATASTREAM ObjectType = "OBJECT_TYPE_DATA_STREAM"

	// ObjectTypeOBJECTTYPEAPIUSAGE captures enum value "OBJECT_TYPE_API_USAGE"
	ObjectTypeOBJECTTYPEAPIUSAGE ObjectType = "OBJECT_TYPE_API_USAGE"
)

func NewObjectType ¶

func NewObjectType(value ObjectType) *ObjectType

func (ObjectType) ContextValidate ¶

func (m ObjectType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this object type based on context it is used

func (ObjectType) Pointer ¶

func (m ObjectType) Pointer() *ObjectType

Pointer returns a pointer to a freshly-allocated ObjectType.

func (ObjectType) Validate ¶

func (m ObjectType) Validate(formats strfmt.Registry) error

Validate validates this object type

type OpaqueConfigType ¶

type OpaqueConfigType string

OpaqueConfigType opaque config type

swagger:model OpaqueConfigType

const (

	// OpaqueConfigTypeOPAQUECONFIGTYPEUNSPECIFIED captures enum value "OPAQUE_CONFIG_TYPE_UNSPECIFIED"
	OpaqueConfigTypeOPAQUECONFIGTYPEUNSPECIFIED OpaqueConfigType = "OPAQUE_CONFIG_TYPE_UNSPECIFIED"

	// OpaqueConfigTypeOPAQUECONFIGTYPEVPN captures enum value "OPAQUE_CONFIG_TYPE_VPN"
	OpaqueConfigTypeOPAQUECONFIGTYPEVPN OpaqueConfigType = "OPAQUE_CONFIG_TYPE_VPN"

	// OpaqueConfigTypeOPAQUECONFIGTYPELISP captures enum value "OPAQUE_CONFIG_TYPE_LISP"
	OpaqueConfigTypeOPAQUECONFIGTYPELISP OpaqueConfigType = "OPAQUE_CONFIG_TYPE_LISP"
)

func NewOpaqueConfigType ¶

func NewOpaqueConfigType(value OpaqueConfigType) *OpaqueConfigType

func (OpaqueConfigType) ContextValidate ¶

func (m OpaqueConfigType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opaque config type based on context it is used

func (OpaqueConfigType) Pointer ¶

func (m OpaqueConfigType) Pointer() *OpaqueConfigType

Pointer returns a pointer to a freshly-allocated OpaqueConfigType.

func (OpaqueConfigType) Validate ¶

func (m OpaqueConfigType) Validate(formats strfmt.Registry) error

Validate validates this opaque config type

type OpaqueToken64 ¶

type OpaqueToken64 struct {

	// base64
	Base64 string `json:"base64,omitempty"`
}

OpaqueToken64 Base64 encoded opaque token

swagger:model OpaqueToken64

func (*OpaqueToken64) ContextValidate ¶

func (m *OpaqueToken64) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this opaque token64 based on context it is used

func (*OpaqueToken64) MarshalBinary ¶

func (m *OpaqueToken64) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OpaqueToken64) UnmarshalBinary ¶

func (m *OpaqueToken64) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OpaqueToken64) Validate ¶

func (m *OpaqueToken64) Validate(formats strfmt.Registry) error

Validate validates this opaque token64

type Origin ¶

type Origin string

Origin OriginType : enum specifies the Object orgigin type

- ORIGIN_UNSPECIFIED: default options, which says no Operation/Invalid Operation

  • ORIGIN_IMPORTED: Object imported from global enterprise.
  • ORIGIN_LOCAL: Objectl created locally.
  • ORIGIN_GLOBAL: Object created in global store,

to use this type user should have root previlage.

swagger:model Origin

const (

	// OriginORIGINUNSPECIFIED captures enum value "ORIGIN_UNSPECIFIED"
	OriginORIGINUNSPECIFIED Origin = "ORIGIN_UNSPECIFIED"

	// OriginORIGINIMPORTED captures enum value "ORIGIN_IMPORTED"
	OriginORIGINIMPORTED Origin = "ORIGIN_IMPORTED"

	// OriginORIGINLOCAL captures enum value "ORIGIN_LOCAL"
	OriginORIGINLOCAL Origin = "ORIGIN_LOCAL"

	// OriginORIGINGLOBAL captures enum value "ORIGIN_GLOBAL"
	OriginORIGINGLOBAL Origin = "ORIGIN_GLOBAL"
)

func NewOrigin ¶

func NewOrigin(value Origin) *Origin

func (Origin) ContextValidate ¶

func (m Origin) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this origin based on context it is used

func (Origin) Pointer ¶

func (m Origin) Pointer() *Origin

Pointer returns a pointer to a freshly-allocated Origin.

func (Origin) Validate ¶

func (m Origin) Validate(formats strfmt.Registry) error

Validate validates this origin

type PCRTemplate ¶

type PCRTemplate struct {

	// List of PCR values for the PCR template
	// Required: true
	PCRValues []*PCRValue `json:"PCRValues"`

	// EVE version related to the PCR template
	// Required: true
	EveVersion *string `json:"eveVersion"`

	// Firmware version related to the PCR template. If user doesn't set it, it will be set to '*'
	FirmwareVersion string `json:"firmwareVersion,omitempty"`

	// System defined universally unique Id of the PCR template. If not set in POST / PUT API calls, this will be treated as a new entry and a unique System Generated ID assigned.
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Name of the PCR template. The name is Unique among PCR templates for that System Model. If it is not specified, a system-generated name will be assigned.
	// Max Length: 256
	Name string `json:"name,omitempty"`
}

PCRTemplate PCR template

PCR template data for the specified eve version and firmware version ¶

swagger:model PCRTemplate

func (*PCRTemplate) ContextValidate ¶

func (m *PCRTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p c r template based on the context it is used

func (*PCRTemplate) MarshalBinary ¶

func (m *PCRTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PCRTemplate) UnmarshalBinary ¶

func (m *PCRTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PCRTemplate) Validate ¶

func (m *PCRTemplate) Validate(formats strfmt.Registry) error

Validate validates this p c r template

type PCRType ¶

type PCRType string

PCRType - PCR_TYPE_UNSPECIFIED: Unset PCR type

  • PCR_TYPE_HASH: PCR value of type HASH
  • PCR_TYPE_EVENT_LOG: PCR value of type event log

swagger:model PCRType

const (

	// PCRTypePCRTYPEUNSPECIFIED captures enum value "PCR_TYPE_UNSPECIFIED"
	PCRTypePCRTYPEUNSPECIFIED PCRType = "PCR_TYPE_UNSPECIFIED"

	// PCRTypePCRTYPEHASH captures enum value "PCR_TYPE_HASH"
	PCRTypePCRTYPEHASH PCRType = "PCR_TYPE_HASH"

	// PCRTypePCRTYPEEVENTLOG captures enum value "PCR_TYPE_EVENT_LOG"
	PCRTypePCRTYPEEVENTLOG PCRType = "PCR_TYPE_EVENT_LOG"
)

func NewPCRType ¶

func NewPCRType(value PCRType) *PCRType

func (PCRType) ContextValidate ¶

func (m PCRType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this p c r type based on context it is used

func (PCRType) Pointer ¶

func (m PCRType) Pointer() *PCRType

Pointer returns a pointer to a freshly-allocated PCRType.

func (PCRType) Validate ¶

func (m PCRType) Validate(formats strfmt.Registry) error

Validate validates this p c r type

type PCRValue ¶

type PCRValue struct {

	// Current index for the PCR item in the list. First element has the index 0
	// Required: true
	Index *int64 `json:"index"`

	// Type of value for the PCR item. Could be one of the following values: 0 (PCR_TYPE_UNSPECIFIED), 1 (PCR_TYPE_HASH) or 2 (PCR_TYPE_EVENT_LOG)
	// Required: true
	Type *PCRType `json:"type"`

	// Actual value for the PCR item.
	// Required: true
	Value *string `json:"value"`
}

PCRValue PCR value

PCR value contains the actual value of the specified PCR type ¶

swagger:model PCRValue

func (*PCRValue) ContextValidate ¶

func (m *PCRValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this p c r value based on the context it is used

func (*PCRValue) MarshalBinary ¶

func (m *PCRValue) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PCRValue) UnmarshalBinary ¶

func (m *PCRValue) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PCRValue) Validate ¶

func (m *PCRValue) Validate(formats strfmt.Registry) error

Validate validates this p c r value

type Param ¶

type Param struct {

	// Name of the Parameter (Required)
	Name string `json:"name,omitempty"`

	// Value of the parameter (Required)
	Value string `json:"value,omitempty"`
}

Param param

swagger:model Param

func (*Param) ContextValidate ¶

func (m *Param) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this param based on context it is used

func (*Param) MarshalBinary ¶

func (m *Param) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Param) UnmarshalBinary ¶

func (m *Param) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Param) Validate ¶

func (m *Param) Validate(formats strfmt.Registry) error

Validate validates this param

type PasswordProfile ¶ added in v1.0.2

type PasswordProfile struct {

	// max length
	MaxLength int64 `json:"maxLength,omitempty"`

	// max password age
	MaxPasswordAge int64 `json:"maxPasswordAge,omitempty"`

	// min length
	MinLength int64 `json:"minLength,omitempty"`

	// min lowercase chars
	MinLowercaseChars int64 `json:"minLowercaseChars,omitempty"`

	// min numeric chars
	MinNumericChars int64 `json:"minNumericChars,omitempty"`

	// min password age
	MinPasswordAge int64 `json:"minPasswordAge,omitempty"`

	// min symbol chars
	MinSymbolChars int64 `json:"minSymbolChars,omitempty"`

	// min uppercase chars
	MinUppercaseChars int64 `json:"minUppercaseChars,omitempty"`

	// num prev password check
	NumPrevPasswordCheck int64 `json:"numPrevPasswordCheck,omitempty"`

	// password expiry notification period in seconds
	PasswordExpiryNotificationPeriodInSeconds int64 `json:"passwordExpiryNotificationPeriodInSeconds,omitempty"`
}

PasswordProfile password profile

swagger:model PasswordProfile

func (*PasswordProfile) ContextValidate ¶ added in v1.0.2

func (m *PasswordProfile) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this password profile based on context it is used

func (*PasswordProfile) MarshalBinary ¶ added in v1.0.2

func (m *PasswordProfile) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PasswordProfile) UnmarshalBinary ¶ added in v1.0.2

func (m *PasswordProfile) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PasswordProfile) Validate ¶ added in v1.0.2

func (m *PasswordProfile) Validate(formats strfmt.Registry) error

Validate validates this password profile

type Permission ¶

type Permission interface{}

Permission permission

swagger:model Permission

type PhyAdapter ¶

type PhyAdapter struct {

	// Physical Adapter name
	Name string `json:"name,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// IoType specifies the type of the Input output of the device
	Type *IoType `json:"type,omitempty"`
}

PhyAdapter Physical Adapter

Physical Adapter ¶

swagger:model phyAdapter

func (*PhyAdapter) ContextValidate ¶

func (m *PhyAdapter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this phy adapter based on the context it is used

func (*PhyAdapter) MarshalBinary ¶

func (m *PhyAdapter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhyAdapter) UnmarshalBinary ¶

func (m *PhyAdapter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhyAdapter) Validate ¶

func (m *PhyAdapter) Validate(formats strfmt.Registry) error

Validate validates this phy adapter

type PhysicalStorage ¶ added in v1.0.2

type PhysicalStorage struct {

	// compression ratio
	CompressionRatio float64 `json:"compressionRatio,omitempty"`

	// count zvols
	CountZvols int64 `json:"countZvols,omitempty"`

	// current raid
	CurrentRaid *PhysicalStorageRaidType `json:"currentRaid,omitempty"`

	// disks
	Disks []*PhysicalStorageDiskState `json:"disks"`

	// pool name
	PoolName string `json:"poolName,omitempty"`

	// Zpool Status message sent by EVE
	PoolStatusMsg string `json:"poolStatusMsg,omitempty"`

	// storage state
	StorageState *PhysicalStorageStatus `json:"storageState,omitempty"`

	// storage type
	StorageType *PhysicalStorageTypeInfo `json:"storageType,omitempty"`

	// zfs version
	ZfsVersion string `json:"zfsVersion,omitempty"`

	// zpool size
	ZpoolSize string `json:"zpoolSize,omitempty"`
}

PhysicalStorage physical storage

swagger:model PhysicalStorage

func (*PhysicalStorage) ContextValidate ¶ added in v1.0.2

func (m *PhysicalStorage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this physical storage based on the context it is used

func (*PhysicalStorage) MarshalBinary ¶ added in v1.0.2

func (m *PhysicalStorage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhysicalStorage) UnmarshalBinary ¶ added in v1.0.2

func (m *PhysicalStorage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhysicalStorage) Validate ¶ added in v1.0.2

func (m *PhysicalStorage) Validate(formats strfmt.Registry) error

Validate validates this physical storage

type PhysicalStorageDiskState ¶ added in v1.0.2

type PhysicalStorageDiskState struct {

	// disk
	Disk *DiskDescription `json:"disk,omitempty"`

	// status
	Status *PhysicalStorageStatus `json:"status,omitempty"`
}

PhysicalStorageDiskState physical storage disk state

swagger:model PhysicalStorageDiskState

func (*PhysicalStorageDiskState) ContextValidate ¶ added in v1.0.2

func (m *PhysicalStorageDiskState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this physical storage disk state based on the context it is used

func (*PhysicalStorageDiskState) MarshalBinary ¶ added in v1.0.2

func (m *PhysicalStorageDiskState) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PhysicalStorageDiskState) UnmarshalBinary ¶ added in v1.0.2

func (m *PhysicalStorageDiskState) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PhysicalStorageDiskState) Validate ¶ added in v1.0.2

func (m *PhysicalStorageDiskState) Validate(formats strfmt.Registry) error

Validate validates this physical storage disk state

type PhysicalStorageRaidType ¶ added in v1.0.2

type PhysicalStorageRaidType string

PhysicalStorageRaidType physical storage raid type

swagger:model PhysicalStorageRaidType

const (

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED captures enum value "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPEUNSPECIFIED PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_UNSPECIFIED"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID0"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAID0 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID0"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDMIRROR PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAID_MIRROR"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ1 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ1"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ2 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ2"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 captures enum value "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPERAIDZ3 PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_RAIDZ3"

	// PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID captures enum value "PHYSICAL_STORAGE_RAID_TYPE_NORAID"
	PhysicalStorageRaidTypePHYSICALSTORAGERAIDTYPENORAID PhysicalStorageRaidType = "PHYSICAL_STORAGE_RAID_TYPE_NORAID"
)

func NewPhysicalStorageRaidType ¶ added in v1.0.2

func NewPhysicalStorageRaidType(value PhysicalStorageRaidType) *PhysicalStorageRaidType

func (PhysicalStorageRaidType) ContextValidate ¶ added in v1.0.2

func (m PhysicalStorageRaidType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage raid type based on context it is used

func (PhysicalStorageRaidType) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated PhysicalStorageRaidType.

func (PhysicalStorageRaidType) Validate ¶ added in v1.0.2

func (m PhysicalStorageRaidType) Validate(formats strfmt.Registry) error

Validate validates this physical storage raid type

type PhysicalStorageStatus ¶ added in v1.0.2

type PhysicalStorageStatus string

PhysicalStorageStatus physical storage status

swagger:model PhysicalStorageStatus

const (

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED captures enum value "PHYSICAL_STORAGE_STATUS_UNSPECIFIED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSUNSPECIFIED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNSPECIFIED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE captures enum value "PHYSICAL_STORAGE_STATUS_ONLINE"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSONLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_ONLINE"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED captures enum value "PHYSICAL_STORAGE_STATUS_DEGRADED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSDEGRADED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_DEGRADED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED captures enum value "PHYSICAL_STORAGE_STATUS_FAULTED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSFAULTED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_FAULTED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE captures enum value "PHYSICAL_STORAGE_STATUS_OFFLINE"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSOFFLINE PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_OFFLINE"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL captures enum value "PHYSICAL_STORAGE_STATUS_UNAVAIL"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSUNAVAIL PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_UNAVAIL"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED captures enum value "PHYSICAL_STORAGE_STATUS_REMOVED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSREMOVED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_REMOVED"

	// PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED captures enum value "PHYSICAL_STORAGE_STATUS_SUSPENDED"
	PhysicalStorageStatusPHYSICALSTORAGESTATUSSUSPENDED PhysicalStorageStatus = "PHYSICAL_STORAGE_STATUS_SUSPENDED"
)

func NewPhysicalStorageStatus ¶ added in v1.0.2

func NewPhysicalStorageStatus(value PhysicalStorageStatus) *PhysicalStorageStatus

func (PhysicalStorageStatus) ContextValidate ¶ added in v1.0.2

func (m PhysicalStorageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage status based on context it is used

func (PhysicalStorageStatus) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated PhysicalStorageStatus.

func (PhysicalStorageStatus) Validate ¶ added in v1.0.2

func (m PhysicalStorageStatus) Validate(formats strfmt.Registry) error

Validate validates this physical storage status

type PhysicalStorageTypeInfo ¶ added in v1.0.2

type PhysicalStorageTypeInfo string

PhysicalStorageTypeInfo physical storage type info

swagger:model PhysicalStorageTypeInfo

const (

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED captures enum value "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOUNSPECIFIED PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_UNSPECIFIED"

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 captures enum value "PHYSICAL_STORAGE_TYPE_INFO_EXT4"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOEXT4 PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_EXT4"

	// PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS captures enum value "PHYSICAL_STORAGE_TYPE_INFO_ZFS"
	PhysicalStorageTypeInfoPHYSICALSTORAGETYPEINFOZFS PhysicalStorageTypeInfo = "PHYSICAL_STORAGE_TYPE_INFO_ZFS"
)

func NewPhysicalStorageTypeInfo ¶ added in v1.0.2

func NewPhysicalStorageTypeInfo(value PhysicalStorageTypeInfo) *PhysicalStorageTypeInfo

func (PhysicalStorageTypeInfo) ContextValidate ¶ added in v1.0.2

func (m PhysicalStorageTypeInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this physical storage type info based on context it is used

func (PhysicalStorageTypeInfo) Pointer ¶ added in v1.0.2

Pointer returns a pointer to a freshly-allocated PhysicalStorageTypeInfo.

func (PhysicalStorageTypeInfo) Validate ¶ added in v1.0.2

func (m PhysicalStorageTypeInfo) Validate(formats strfmt.Registry) error

Validate validates this physical storage type info

type PingMsgSendResp ¶

type PingMsgSendResp struct {

	// ping Id
	PingID string `json:"pingId,omitempty"`
}

PingMsgSendResp ping msg send resp

swagger:model PingMsgSendResp

func (*PingMsgSendResp) ContextValidate ¶

func (m *PingMsgSendResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this ping msg send resp based on context it is used

func (*PingMsgSendResp) MarshalBinary ¶

func (m *PingMsgSendResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PingMsgSendResp) UnmarshalBinary ¶

func (m *PingMsgSendResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PingMsgSendResp) Validate ¶

func (m *PingMsgSendResp) Validate(formats strfmt.Registry) error

Validate validates this ping msg send resp

type PluginEntitlement ¶ added in v1.0.2

type PluginEntitlement struct {

	// plugin total limit
	PluginTotalLimit int32 `json:"pluginTotalLimit,omitempty"`

	// plugin total usage
	PluginTotalUsage int64 `json:"pluginTotalUsage,omitempty"`
}

PluginEntitlement plugin entitlement

swagger:model PluginEntitlement

func (*PluginEntitlement) ContextValidate ¶ added in v1.0.2

func (m *PluginEntitlement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this plugin entitlement based on context it is used

func (*PluginEntitlement) MarshalBinary ¶ added in v1.0.2

func (m *PluginEntitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PluginEntitlement) UnmarshalBinary ¶ added in v1.0.2

func (m *PluginEntitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginEntitlement) Validate ¶ added in v1.0.2

func (m *PluginEntitlement) Validate(formats strfmt.Registry) error

Validate validates this plugin entitlement

type PluginReport ¶ added in v1.0.2

type PluginReport struct {

	// Enterprise id for which we want to get summary report for all objects
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Error while fetching report for enterprise, if any
	Error string `json:"error,omitempty"`

	// Enterprise plugin report
	PluginSummaryReport *PluginSummaryReport `json:"pluginSummaryReport,omitempty"`
}

PluginReport Get plugin reports

Get summary reports of plugin objects for self/child enterprise

swagger:model PluginReport

func (*PluginReport) ContextValidate ¶ added in v1.0.2

func (m *PluginReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this plugin report based on the context it is used

func (*PluginReport) MarshalBinary ¶ added in v1.0.2

func (m *PluginReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PluginReport) UnmarshalBinary ¶ added in v1.0.2

func (m *PluginReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginReport) Validate ¶ added in v1.0.2

func (m *PluginReport) Validate(formats strfmt.Registry) error

Validate validates this plugin report

type PluginSummaryReport ¶ added in v1.0.2

type PluginSummaryReport struct {

	// total plugins
	TotalPlugins int64 `json:"totalPlugins,omitempty"`
}

PluginSummaryReport plugin summary report

swagger:model PluginSummaryReport

func (*PluginSummaryReport) ContextValidate ¶ added in v1.0.2

func (m *PluginSummaryReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this plugin summary report based on context it is used

func (*PluginSummaryReport) MarshalBinary ¶ added in v1.0.2

func (m *PluginSummaryReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PluginSummaryReport) UnmarshalBinary ¶ added in v1.0.2

func (m *PluginSummaryReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PluginSummaryReport) Validate ¶ added in v1.0.2

func (m *PluginSummaryReport) Validate(formats strfmt.Registry) error

Validate validates this plugin summary report

type Policies ¶

type Policies struct {

	// list
	List []*Policy `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

Policies policies

swagger:model Policies

func (*Policies) ContextValidate ¶

func (m *Policies) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policies based on the context it is used

func (*Policies) MarshalBinary ¶

func (m *Policies) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policies) UnmarshalBinary ¶

func (m *Policies) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policies) Validate ¶

func (m *Policies) Validate(formats strfmt.Registry) error

Validate validates this policies

type Policy ¶

type Policy struct {

	// access
	Access *PolicyAccess `json:"access,omitempty"`

	// external
	External bool `json:"external,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// owner Id
	OwnerID string `json:"ownerId,omitempty"`

	// scope
	Scope *PolicyScope `json:"scope,omitempty"`

	// zone
	Zone string `json:"zone,omitempty"`
}

Policy policy

swagger:model Policy

func (*Policy) ContextValidate ¶

func (m *Policy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy based on the context it is used

func (*Policy) MarshalBinary ¶

func (m *Policy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Policy) UnmarshalBinary ¶

func (m *Policy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Policy) Validate ¶

func (m *Policy) Validate(formats strfmt.Registry) error

Validate validates this policy

type PolicyAccess ¶

type PolicyAccess string

PolicyAccess policy access

swagger:model PolicyAccess

const (

	// PolicyAccessPermissionAccessINVALID captures enum value "PermissionAccess__INVALID__"
	PolicyAccessPermissionAccessINVALID PolicyAccess = "PermissionAccess__INVALID__"

	// PolicyAccessPermissionAccessCreate captures enum value "PermissionAccessCreate"
	PolicyAccessPermissionAccessCreate PolicyAccess = "PermissionAccessCreate"

	// PolicyAccessPermissionAccessRead captures enum value "PermissionAccessRead"
	PolicyAccessPermissionAccessRead PolicyAccess = "PermissionAccessRead"

	// PolicyAccessPermissionAccessCreateRead captures enum value "PermissionAccessCreateRead"
	PolicyAccessPermissionAccessCreateRead PolicyAccess = "PermissionAccessCreateRead"

	// PolicyAccessPermissionAccessUpdate captures enum value "PermissionAccessUpdate"
	PolicyAccessPermissionAccessUpdate PolicyAccess = "PermissionAccessUpdate"

	// PolicyAccessPermissionAccessCreateUpdate captures enum value "PermissionAccessCreateUpdate"
	PolicyAccessPermissionAccessCreateUpdate PolicyAccess = "PermissionAccessCreateUpdate"

	// PolicyAccessPermissionAccessReadUpdate captures enum value "PermissionAccessReadUpdate"
	PolicyAccessPermissionAccessReadUpdate PolicyAccess = "PermissionAccessReadUpdate"

	// PolicyAccessPermissionAccessCreateReadUpdate captures enum value "PermissionAccessCreateReadUpdate"
	PolicyAccessPermissionAccessCreateReadUpdate PolicyAccess = "PermissionAccessCreateReadUpdate"

	// PolicyAccessPermissionAccessDelete captures enum value "PermissionAccessDelete"
	PolicyAccessPermissionAccessDelete PolicyAccess = "PermissionAccessDelete"

	// PolicyAccessPermissionAccessCreateDelete captures enum value "PermissionAccessCreateDelete"
	PolicyAccessPermissionAccessCreateDelete PolicyAccess = "PermissionAccessCreateDelete"

	// PolicyAccessPermissionAccessReadDelete captures enum value "PermissionAccessReadDelete"
	PolicyAccessPermissionAccessReadDelete PolicyAccess = "PermissionAccessReadDelete"

	// PolicyAccessPermissionAccessCreateReadDelete captures enum value "PermissionAccessCreateReadDelete"
	PolicyAccessPermissionAccessCreateReadDelete PolicyAccess = "PermissionAccessCreateReadDelete"

	// PolicyAccessPermissionAccessUpdateDelete captures enum value "PermissionAccessUpdateDelete"
	PolicyAccessPermissionAccessUpdateDelete PolicyAccess = "PermissionAccessUpdateDelete"

	// PolicyAccessPermissionAccessCreateUpdateDelete captures enum value "PermissionAccessCreateUpdateDelete"
	PolicyAccessPermissionAccessCreateUpdateDelete PolicyAccess = "PermissionAccessCreateUpdateDelete"

	// PolicyAccessPermissionAccessReadUpdateDelete captures enum value "PermissionAccessReadUpdateDelete"
	PolicyAccessPermissionAccessReadUpdateDelete PolicyAccess = "PermissionAccessReadUpdateDelete"

	// PolicyAccessPermissionAccessCreateReadUpdateDelete captures enum value "PermissionAccessCreateReadUpdateDelete"
	PolicyAccessPermissionAccessCreateReadUpdateDelete PolicyAccess = "PermissionAccessCreateReadUpdateDelete"

	// PolicyAccessPermissionAccessExecute captures enum value "PermissionAccessExecute"
	PolicyAccessPermissionAccessExecute PolicyAccess = "PermissionAccessExecute"

	// PolicyAccessPermissionAccessCreateExecute captures enum value "PermissionAccessCreateExecute"
	PolicyAccessPermissionAccessCreateExecute PolicyAccess = "PermissionAccessCreateExecute"

	// PolicyAccessPermissionAccessReadExecute captures enum value "PermissionAccessReadExecute"
	PolicyAccessPermissionAccessReadExecute PolicyAccess = "PermissionAccessReadExecute"

	// PolicyAccessPermissionAccessCreateReadExecute captures enum value "PermissionAccessCreateReadExecute"
	PolicyAccessPermissionAccessCreateReadExecute PolicyAccess = "PermissionAccessCreateReadExecute"

	// PolicyAccessPermissionAccessUpdateExecute captures enum value "PermissionAccessUpdateExecute"
	PolicyAccessPermissionAccessUpdateExecute PolicyAccess = "PermissionAccessUpdateExecute"

	// PolicyAccessPermissionAccessCreateUpdateExecute captures enum value "PermissionAccessCreateUpdateExecute"
	PolicyAccessPermissionAccessCreateUpdateExecute PolicyAccess = "PermissionAccessCreateUpdateExecute"

	// PolicyAccessPermissionAccessReadUpdateExecute captures enum value "PermissionAccessReadUpdateExecute"
	PolicyAccessPermissionAccessReadUpdateExecute PolicyAccess = "PermissionAccessReadUpdateExecute"

	// PolicyAccessPermissionAccessCreateReadUpdateExecute captures enum value "PermissionAccessCreateReadUpdateExecute"
	PolicyAccessPermissionAccessCreateReadUpdateExecute PolicyAccess = "PermissionAccessCreateReadUpdateExecute"

	// PolicyAccessPermissionAccessDeleteExecute captures enum value "PermissionAccessDeleteExecute"
	PolicyAccessPermissionAccessDeleteExecute PolicyAccess = "PermissionAccessDeleteExecute"

	// PolicyAccessPermissionAccessCreateDeleteExecute captures enum value "PermissionAccessCreateDeleteExecute"
	PolicyAccessPermissionAccessCreateDeleteExecute PolicyAccess = "PermissionAccessCreateDeleteExecute"

	// PolicyAccessPermissionAccessReadDeleteExecute captures enum value "PermissionAccessReadDeleteExecute"
	PolicyAccessPermissionAccessReadDeleteExecute PolicyAccess = "PermissionAccessReadDeleteExecute"

	// PolicyAccessPermissionAccessCreateReadDeleteExecute captures enum value "PermissionAccessCreateReadDeleteExecute"
	PolicyAccessPermissionAccessCreateReadDeleteExecute PolicyAccess = "PermissionAccessCreateReadDeleteExecute"

	// PolicyAccessPermissionAccessUpdateDeleteExecute captures enum value "PermissionAccessUpdateDeleteExecute"
	PolicyAccessPermissionAccessUpdateDeleteExecute PolicyAccess = "PermissionAccessUpdateDeleteExecute"

	// PolicyAccessPermissionAccessCreateUpdateDeleteExecute captures enum value "PermissionAccessCreateUpdateDeleteExecute"
	PolicyAccessPermissionAccessCreateUpdateDeleteExecute PolicyAccess = "PermissionAccessCreateUpdateDeleteExecute"

	// PolicyAccessPermissionAccessReadUpdateDeleteExecute captures enum value "PermissionAccessReadUpdateDeleteExecute"
	PolicyAccessPermissionAccessReadUpdateDeleteExecute PolicyAccess = "PermissionAccessReadUpdateDeleteExecute"

	// PolicyAccessPermissionAccessCreateReadUpdateDeleteExecute captures enum value "PermissionAccessCreateReadUpdateDeleteExecute"
	PolicyAccessPermissionAccessCreateReadUpdateDeleteExecute PolicyAccess = "PermissionAccessCreateReadUpdateDeleteExecute"

	// PolicyAccessPermissionAccessQuery captures enum value "PermissionAccessQuery"
	PolicyAccessPermissionAccessQuery PolicyAccess = "PermissionAccessQuery"

	// PolicyAccessPermissionAccessCreateQuery captures enum value "PermissionAccessCreateQuery"
	PolicyAccessPermissionAccessCreateQuery PolicyAccess = "PermissionAccessCreateQuery"

	// PolicyAccessPermissionAccessReadQuery captures enum value "PermissionAccessReadQuery"
	PolicyAccessPermissionAccessReadQuery PolicyAccess = "PermissionAccessReadQuery"

	// PolicyAccessPermissionAccessCreateReadQuery captures enum value "PermissionAccessCreateReadQuery"
	PolicyAccessPermissionAccessCreateReadQuery PolicyAccess = "PermissionAccessCreateReadQuery"

	// PolicyAccessPermissionAccessUpdateQuery captures enum value "PermissionAccessUpdateQuery"
	PolicyAccessPermissionAccessUpdateQuery PolicyAccess = "PermissionAccessUpdateQuery"

	// PolicyAccessPermissionAccessCreateUpdateQuery captures enum value "PermissionAccessCreateUpdateQuery"
	PolicyAccessPermissionAccessCreateUpdateQuery PolicyAccess = "PermissionAccessCreateUpdateQuery"

	// PolicyAccessPermissionAccessReadUpdateQuery captures enum value "PermissionAccessReadUpdateQuery"
	PolicyAccessPermissionAccessReadUpdateQuery PolicyAccess = "PermissionAccessReadUpdateQuery"

	// PolicyAccessPermissionAccessCreateReadUpdateQuery captures enum value "PermissionAccessCreateReadUpdateQuery"
	PolicyAccessPermissionAccessCreateReadUpdateQuery PolicyAccess = "PermissionAccessCreateReadUpdateQuery"

	// PolicyAccessPermissionAccessDeleteQuery captures enum value "PermissionAccessDeleteQuery"
	PolicyAccessPermissionAccessDeleteQuery PolicyAccess = "PermissionAccessDeleteQuery"

	// PolicyAccessPermissionAccessCreateDeleteQuery captures enum value "PermissionAccessCreateDeleteQuery"
	PolicyAccessPermissionAccessCreateDeleteQuery PolicyAccess = "PermissionAccessCreateDeleteQuery"

	// PolicyAccessPermissionAccessReadDeleteQuery captures enum value "PermissionAccessReadDeleteQuery"
	PolicyAccessPermissionAccessReadDeleteQuery PolicyAccess = "PermissionAccessReadDeleteQuery"

	// PolicyAccessPermissionAccessCreateReadDeleteQuery captures enum value "PermissionAccessCreateReadDeleteQuery"
	PolicyAccessPermissionAccessCreateReadDeleteQuery PolicyAccess = "PermissionAccessCreateReadDeleteQuery"

	// PolicyAccessPermissionAccessUpdateDeleteQuery captures enum value "PermissionAccessUpdateDeleteQuery"
	PolicyAccessPermissionAccessUpdateDeleteQuery PolicyAccess = "PermissionAccessUpdateDeleteQuery"

	// PolicyAccessPermissionAccessCreateUpdateDeleteQuery captures enum value "PermissionAccessCreateUpdateDeleteQuery"
	PolicyAccessPermissionAccessCreateUpdateDeleteQuery PolicyAccess = "PermissionAccessCreateUpdateDeleteQuery"

	// PolicyAccessPermissionAccessReadUpdateDeleteQuery captures enum value "PermissionAccessReadUpdateDeleteQuery"
	PolicyAccessPermissionAccessReadUpdateDeleteQuery PolicyAccess = "PermissionAccessReadUpdateDeleteQuery"

	// PolicyAccessPermissionAccessCreateReadUpdateDeleteQuery captures enum value "PermissionAccessCreateReadUpdateDeleteQuery"
	PolicyAccessPermissionAccessCreateReadUpdateDeleteQuery PolicyAccess = "PermissionAccessCreateReadUpdateDeleteQuery"

	// PolicyAccessPermissionAccessExecuteQuery captures enum value "PermissionAccessExecuteQuery"
	PolicyAccessPermissionAccessExecuteQuery PolicyAccess = "PermissionAccessExecuteQuery"

	// PolicyAccessPermissionAccessCreateExecuteQuery captures enum value "PermissionAccessCreateExecuteQuery"
	PolicyAccessPermissionAccessCreateExecuteQuery PolicyAccess = "PermissionAccessCreateExecuteQuery"

	// PolicyAccessPermissionAccessReadExecuteQuery captures enum value "PermissionAccessReadExecuteQuery"
	PolicyAccessPermissionAccessReadExecuteQuery PolicyAccess = "PermissionAccessReadExecuteQuery"

	// PolicyAccessPermissionAccessCreateReadExecuteQuery captures enum value "PermissionAccessCreateReadExecuteQuery"
	PolicyAccessPermissionAccessCreateReadExecuteQuery PolicyAccess = "PermissionAccessCreateReadExecuteQuery"

	// PolicyAccessPermissionAccessUpdateExecuteQuery captures enum value "PermissionAccessUpdateExecuteQuery"
	PolicyAccessPermissionAccessUpdateExecuteQuery PolicyAccess = "PermissionAccessUpdateExecuteQuery"

	// PolicyAccessPermissionAccessCreateUpdateExecuteQuery captures enum value "PermissionAccessCreateUpdateExecuteQuery"
	PolicyAccessPermissionAccessCreateUpdateExecuteQuery PolicyAccess = "PermissionAccessCreateUpdateExecuteQuery"

	// PolicyAccessPermissionAccessReadUpdateExecuteQuery captures enum value "PermissionAccessReadUpdateExecuteQuery"
	PolicyAccessPermissionAccessReadUpdateExecuteQuery PolicyAccess = "PermissionAccessReadUpdateExecuteQuery"

	// PolicyAccessPermissionAccessCreateReadUpdateExecuteQuery captures enum value "PermissionAccessCreateReadUpdateExecuteQuery"
	PolicyAccessPermissionAccessCreateReadUpdateExecuteQuery PolicyAccess = "PermissionAccessCreateReadUpdateExecuteQuery"

	// PolicyAccessPermissionAccessDeleteExecuteQuery captures enum value "PermissionAccessDeleteExecuteQuery"
	PolicyAccessPermissionAccessDeleteExecuteQuery PolicyAccess = "PermissionAccessDeleteExecuteQuery"

	// PolicyAccessPermissionAccessCreateDeleteExecuteQuery captures enum value "PermissionAccessCreateDeleteExecuteQuery"
	PolicyAccessPermissionAccessCreateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateDeleteExecuteQuery"

	// PolicyAccessPermissionAccessReadDeleteExecuteQuery captures enum value "PermissionAccessReadDeleteExecuteQuery"
	PolicyAccessPermissionAccessReadDeleteExecuteQuery PolicyAccess = "PermissionAccessReadDeleteExecuteQuery"

	// PolicyAccessPermissionAccessCreateReadDeleteExecuteQuery captures enum value "PermissionAccessCreateReadDeleteExecuteQuery"
	PolicyAccessPermissionAccessCreateReadDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateReadDeleteExecuteQuery"

	// PolicyAccessPermissionAccessUpdateDeleteExecuteQuery captures enum value "PermissionAccessUpdateDeleteExecuteQuery"
	PolicyAccessPermissionAccessUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessUpdateDeleteExecuteQuery"

	// PolicyAccessPermissionAccessCreateUpdateDeleteExecuteQuery captures enum value "PermissionAccessCreateUpdateDeleteExecuteQuery"
	PolicyAccessPermissionAccessCreateUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateUpdateDeleteExecuteQuery"

	// PolicyAccessPermissionAccessReadUpdateDeleteExecuteQuery captures enum value "PermissionAccessReadUpdateDeleteExecuteQuery"
	PolicyAccessPermissionAccessReadUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessReadUpdateDeleteExecuteQuery"

	// PolicyAccessPermissionAccessCreateReadUpdateDeleteExecuteQuery captures enum value "PermissionAccessCreateReadUpdateDeleteExecuteQuery"
	PolicyAccessPermissionAccessCreateReadUpdateDeleteExecuteQuery PolicyAccess = "PermissionAccessCreateReadUpdateDeleteExecuteQuery"
)

func NewPolicyAccess ¶

func NewPolicyAccess(value PolicyAccess) *PolicyAccess

func (PolicyAccess) ContextValidate ¶

func (m PolicyAccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy access based on context it is used

func (PolicyAccess) Pointer ¶

func (m PolicyAccess) Pointer() *PolicyAccess

Pointer returns a pointer to a freshly-allocated PolicyAccess.

func (PolicyAccess) Validate ¶

func (m PolicyAccess) Validate(formats strfmt.Registry) error

Validate validates this policy access

type PolicyCommon ¶ added in v1.0.2

type PolicyCommon struct {

	// system generated unique id for an policy
	ID string `json:"id,omitempty"`

	// user defined policy name
	Name string `json:"name,omitempty"`

	// user defined key-value pairs of a policy that will be used for targeting by devices
	PolicyTargetCondition map[string]string `json:"policyTargetCondition,omitempty"`

	// object revision details
	Revision *ObjectRevision `json:"revision,omitempty"`

	// user defined key-value pairs of a policy
	Tags map[string]string `json:"tags,omitempty"`

	// user defined policy title
	Title string `json:"title,omitempty"`
}

PolicyCommon policy common

swagger:model PolicyCommon

func (*PolicyCommon) ContextValidate ¶ added in v1.0.2

func (m *PolicyCommon) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy common based on the context it is used

func (*PolicyCommon) MarshalBinary ¶ added in v1.0.2

func (m *PolicyCommon) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyCommon) UnmarshalBinary ¶ added in v1.0.2

func (m *PolicyCommon) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyCommon) Validate ¶ added in v1.0.2

func (m *PolicyCommon) Validate(formats strfmt.Registry) error

Validate validates this policy common

type PolicyConfig ¶

type PolicyConfig struct {

	// app policy, which is used in auto app instance deployment
	AppPolicy *AppPolicy `json:"appPolicy,omitempty"`

	// attestation policy to enforce on all devices in this project
	AttestationPolicy *AttestationPolicy `json:"attestationPolicy,omitempty"`

	// Mapping of policy  variable keys and policy variable values
	Attr map[string]string `json:"attr,omitempty"`

	// azure policy, which is used in configuring azure iot-edge.
	AzurePolicy *AzurePolicy `json:"azurePolicy,omitempty"`

	// cluster policy to bring up cluster on devices in this project
	ClusterPolicy *ClusterPolicy `json:"clusterPolicy,omitempty"`

	// Detailed description of the policy
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// edgeview policy on devices of this project
	EdgeviewPolicy *EdgeviewPolicy `json:"edgeviewPolicy,omitempty"`

	// System defined universally unique Id of the policy request
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// module policy, which is used in auto module deployment
	ModulePolicy *ModulePolicy `json:"modulePolicy,omitempty"`

	// User defined name of the policy request, unique across the enterprise. Once object is created, name can’t be changed
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// network policy to enforce on all devices in this project
	NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// status of the policy
	// Read Only: true
	Status *PolicyStatus `json:"status,omitempty"`

	// Detailed status message of the policy
	// Max Length: 256
	StatusMessage string `json:"statusMessage,omitempty"`

	// User defined title of the policy. Title can be changed at any time
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: ^[a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+$
	Title *string `json:"title"`

	// type of policy
	// Required: true
	Type *PolicyType `json:"type"`
}

PolicyConfig Policy detailed configuration for a resource group (project)

Policy configuration defines set of policies to be applied on a resource grup (project). Policy can be one of the types specified in PolicyType. Multiple policies can be applied to a single resource group (project).

swagger:model PolicyConfig

func (*PolicyConfig) ContextValidate ¶

func (m *PolicyConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy config based on the context it is used

func (*PolicyConfig) MarshalBinary ¶

func (m *PolicyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyConfig) UnmarshalBinary ¶

func (m *PolicyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyConfig) Validate ¶

func (m *PolicyConfig) Validate(formats strfmt.Registry) error

Validate validates this policy config

type PolicyDocVersion ¶

type PolicyDocVersion struct {

	// file URL
	FileURL string `json:"fileURL,omitempty"`

	// policy
	Policy string `json:"policy,omitempty"`

	// revision
	Revision *ObjectRevision `json:"revision,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

PolicyDocVersion policy doc version

swagger:model PolicyDocVersion

func (*PolicyDocVersion) ContextValidate ¶

func (m *PolicyDocVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy doc version based on the context it is used

func (*PolicyDocVersion) MarshalBinary ¶

func (m *PolicyDocVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyDocVersion) UnmarshalBinary ¶

func (m *PolicyDocVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyDocVersion) Validate ¶

func (m *PolicyDocVersion) Validate(formats strfmt.Registry) error

Validate validates this policy doc version

type PolicyDocVersionList ¶

type PolicyDocVersionList struct {

	// list
	List []*PolicyDocVersion `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary
	Summary *Summary `json:"summary,omitempty"`
}

PolicyDocVersionList policy doc version list

swagger:model PolicyDocVersionList

func (*PolicyDocVersionList) ContextValidate ¶

func (m *PolicyDocVersionList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy doc version list based on the context it is used

func (*PolicyDocVersionList) MarshalBinary ¶

func (m *PolicyDocVersionList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyDocVersionList) UnmarshalBinary ¶

func (m *PolicyDocVersionList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyDocVersionList) Validate ¶

func (m *PolicyDocVersionList) Validate(formats strfmt.Registry) error

Validate validates this policy doc version list

type PolicyDocVersionResp ¶

type PolicyDocVersionResp struct {

	// pinfo
	Pinfo *PolicyDocVersion `json:"pinfo,omitempty"`

	// plist
	Plist *PolicyDocVersionList `json:"plist,omitempty"`

	// result
	Result *ZsrvResponse `json:"result,omitempty"`
}

PolicyDocVersionResp policy doc version resp

swagger:model PolicyDocVersionResp

func (*PolicyDocVersionResp) ContextValidate ¶

func (m *PolicyDocVersionResp) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy doc version resp based on the context it is used

func (*PolicyDocVersionResp) MarshalBinary ¶

func (m *PolicyDocVersionResp) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyDocVersionResp) UnmarshalBinary ¶

func (m *PolicyDocVersionResp) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyDocVersionResp) Validate ¶

func (m *PolicyDocVersionResp) Validate(formats strfmt.Registry) error

Validate validates this policy doc version resp

type PolicyScope ¶

type PolicyScope string

PolicyScope Scope of the permission, similar to Unix file system

swagger:model PolicyScope

const (

	// PolicyScopePermissionScopeINVALID captures enum value "PermissionScope__INVALID__"
	PolicyScopePermissionScopeINVALID PolicyScope = "PermissionScope__INVALID__"

	// PolicyScopePermissionScopeOther captures enum value "PermissionScopeOther"
	PolicyScopePermissionScopeOther PolicyScope = "PermissionScopeOther"

	// PolicyScopePermissionScopeGroup captures enum value "PermissionScopeGroup"
	PolicyScopePermissionScopeGroup PolicyScope = "PermissionScopeGroup"

	// PolicyScopePermissionScopeOtherGroup captures enum value "PermissionScopeOtherGroup"
	PolicyScopePermissionScopeOtherGroup PolicyScope = "PermissionScopeOtherGroup"

	// PolicyScopePermissionScopeOwner captures enum value "PermissionScopeOwner"
	PolicyScopePermissionScopeOwner PolicyScope = "PermissionScopeOwner"

	// PolicyScopePermissionScopeOtherOwner captures enum value "PermissionScopeOtherOwner"
	PolicyScopePermissionScopeOtherOwner PolicyScope = "PermissionScopeOtherOwner"

	// PolicyScopePermissionScopeGroupOwner captures enum value "PermissionScopeGroupOwner"
	PolicyScopePermissionScopeGroupOwner PolicyScope = "PermissionScopeGroupOwner"

	// PolicyScopePermissionScopeOtherGroupOwner captures enum value "PermissionScopeOtherGroupOwner"
	PolicyScopePermissionScopeOtherGroupOwner PolicyScope = "PermissionScopeOtherGroupOwner"

	// PolicyScopePermissionScopeEnterprise captures enum value "PermissionScopeEnterprise"
	PolicyScopePermissionScopeEnterprise PolicyScope = "PermissionScopeEnterprise"

	// PolicyScopePermissionScopeOtherEnterprise captures enum value "PermissionScopeOtherEnterprise"
	PolicyScopePermissionScopeOtherEnterprise PolicyScope = "PermissionScopeOtherEnterprise"

	// PolicyScopePermissionScopeGroupEnterprise captures enum value "PermissionScopeGroupEnterprise"
	PolicyScopePermissionScopeGroupEnterprise PolicyScope = "PermissionScopeGroupEnterprise"

	// PolicyScopePermissionScopeOtherGroupEnterprise captures enum value "PermissionScopeOtherGroupEnterprise"
	PolicyScopePermissionScopeOtherGroupEnterprise PolicyScope = "PermissionScopeOtherGroupEnterprise"

	// PolicyScopePermissionScopeOwnerEnterprise captures enum value "PermissionScopeOwnerEnterprise"
	PolicyScopePermissionScopeOwnerEnterprise PolicyScope = "PermissionScopeOwnerEnterprise"

	// PolicyScopePermissionScopeOtherOwnerEnterprise captures enum value "PermissionScopeOtherOwnerEnterprise"
	PolicyScopePermissionScopeOtherOwnerEnterprise PolicyScope = "PermissionScopeOtherOwnerEnterprise"

	// PolicyScopePermissionScopeGroupOwnerEnterprise captures enum value "PermissionScopeGroupOwnerEnterprise"
	PolicyScopePermissionScopeGroupOwnerEnterprise PolicyScope = "PermissionScopeGroupOwnerEnterprise"

	// PolicyScopePermissionScopeOtherGroupOwnerEnterprise captures enum value "PermissionScopeOtherGroupOwnerEnterprise"
	PolicyScopePermissionScopeOtherGroupOwnerEnterprise PolicyScope = "PermissionScopeOtherGroupOwnerEnterprise"
)

func NewPolicyScope ¶

func NewPolicyScope(value PolicyScope) *PolicyScope

func (PolicyScope) ContextValidate ¶

func (m PolicyScope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy scope based on context it is used

func (PolicyScope) Pointer ¶

func (m PolicyScope) Pointer() *PolicyScope

Pointer returns a pointer to a freshly-allocated PolicyScope.

func (PolicyScope) Validate ¶

func (m PolicyScope) Validate(formats strfmt.Registry) error

Validate validates this policy scope

type PolicyStatus ¶

type PolicyStatus string

PolicyStatus policy status.

swagger:model PolicyStatus

const (

	// PolicyStatusPOLICYSTATUSUNSPECIFIED captures enum value "POLICY_STATUS_UNSPECIFIED"
	PolicyStatusPOLICYSTATUSUNSPECIFIED PolicyStatus = "POLICY_STATUS_UNSPECIFIED"

	// PolicyStatusPOLICYSTATUSINITIALIZED captures enum value "POLICY_STATUS_INITIALIZED"
	PolicyStatusPOLICYSTATUSINITIALIZED PolicyStatus = "POLICY_STATUS_INITIALIZED"

	// PolicyStatusPOLICYSTATUSINPROGRESS captures enum value "POLICY_STATUS_INPROGRESS"
	PolicyStatusPOLICYSTATUSINPROGRESS PolicyStatus = "POLICY_STATUS_INPROGRESS"

	// PolicyStatusPOLICYSTATUSREADY captures enum value "POLICY_STATUS_READY"
	PolicyStatusPOLICYSTATUSREADY PolicyStatus = "POLICY_STATUS_READY"

	// PolicyStatusPOLICYSTATUSFAILED captures enum value "POLICY_STATUS_FAILED"
	PolicyStatusPOLICYSTATUSFAILED PolicyStatus = "POLICY_STATUS_FAILED"
)

func NewPolicyStatus ¶

func NewPolicyStatus(value PolicyStatus) *PolicyStatus

func (PolicyStatus) ContextValidate ¶

func (m PolicyStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy status based on context it is used

func (PolicyStatus) Pointer ¶

func (m PolicyStatus) Pointer() *PolicyStatus

Pointer returns a pointer to a freshly-allocated PolicyStatus.

func (PolicyStatus) Validate ¶

func (m PolicyStatus) Validate(formats strfmt.Registry) error

Validate validates this policy status

type PolicyType ¶

type PolicyType string

PolicyType type of policy.

swagger:model PolicyType

const (

	// PolicyTypePOLICYTYPEUNSPECIFIED captures enum value "POLICY_TYPE_UNSPECIFIED"
	PolicyTypePOLICYTYPEUNSPECIFIED PolicyType = "POLICY_TYPE_UNSPECIFIED"

	// PolicyTypePOLICYTYPEAPP captures enum value "POLICY_TYPE_APP"
	PolicyTypePOLICYTYPEAPP PolicyType = "POLICY_TYPE_APP"

	// PolicyTypePOLICYTYPEAZURE captures enum value "POLICY_TYPE_AZURE"
	PolicyTypePOLICYTYPEAZURE PolicyType = "POLICY_TYPE_AZURE"

	// PolicyTypePOLICYTYPEAWS captures enum value "POLICY_TYPE_AWS"
	PolicyTypePOLICYTYPEAWS PolicyType = "POLICY_TYPE_AWS"

	// PolicyTypePOLICYTYPEGCP captures enum value "POLICY_TYPE_GCP"
	PolicyTypePOLICYTYPEGCP PolicyType = "POLICY_TYPE_GCP"

	// PolicyTypePOLICYTYPEMODULE captures enum value "POLICY_TYPE_MODULE"
	PolicyTypePOLICYTYPEMODULE PolicyType = "POLICY_TYPE_MODULE"

	// PolicyTypePOLICYTYPEATTESTATION captures enum value "POLICY_TYPE_ATTESTATION"
	PolicyTypePOLICYTYPEATTESTATION PolicyType = "POLICY_TYPE_ATTESTATION"

	// PolicyTypePOLICYTYPENETWORK captures enum value "POLICY_TYPE_NETWORK"
	PolicyTypePOLICYTYPENETWORK PolicyType = "POLICY_TYPE_NETWORK"

	// PolicyTypePOLICYTYPECLUSTER captures enum value "POLICY_TYPE_CLUSTER"
	PolicyTypePOLICYTYPECLUSTER PolicyType = "POLICY_TYPE_CLUSTER"

	// PolicyTypePOLICYTYPEEDGEVIEW captures enum value "POLICY_TYPE_EDGEVIEW"
	PolicyTypePOLICYTYPEEDGEVIEW PolicyType = "POLICY_TYPE_EDGEVIEW"
)

func NewPolicyType ¶

func NewPolicyType(value PolicyType) *PolicyType

func (PolicyType) ContextValidate ¶

func (m PolicyType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy type based on context it is used

func (PolicyType) Pointer ¶

func (m PolicyType) Pointer() *PolicyType

Pointer returns a pointer to a freshly-allocated PolicyType.

func (PolicyType) Validate ¶

func (m PolicyType) Validate(formats strfmt.Registry) error

Validate validates this policy type

type PolicyVersion ¶

type PolicyVersion struct {

	// accepted at
	// Format: date-time
	AcceptedAt strfmt.DateTime `json:"AcceptedAt,omitempty"`

	// accepted by
	AcceptedBy string `json:"AcceptedBy,omitempty"`

	// effective from
	// Format: date-time
	EffectiveFrom strfmt.DateTime `json:"EffectiveFrom,omitempty"`

	// policy
	Policy string `json:"Policy,omitempty"`

	// version
	Version string `json:"Version,omitempty"`
}

PolicyVersion policy version

swagger:model PolicyVersion

func (*PolicyVersion) ContextValidate ¶

func (m *PolicyVersion) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this policy version based on context it is used

func (*PolicyVersion) MarshalBinary ¶

func (m *PolicyVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyVersion) UnmarshalBinary ¶

func (m *PolicyVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyVersion) Validate ¶

func (m *PolicyVersion) Validate(formats strfmt.Registry) error

Validate validates this policy version

type PolicyVersionList ¶

type PolicyVersionList struct {

	// list
	List []*PolicyVersion `json:"list"`
}

PolicyVersionList policy version list

swagger:model PolicyVersionList

func (*PolicyVersionList) ContextValidate ¶

func (m *PolicyVersionList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this policy version list based on the context it is used

func (*PolicyVersionList) MarshalBinary ¶

func (m *PolicyVersionList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PolicyVersionList) UnmarshalBinary ¶

func (m *PolicyVersionList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PolicyVersionList) Validate ¶

func (m *PolicyVersionList) Validate(formats strfmt.Registry) error

Validate validates this policy version list

type ProjectReport ¶ added in v1.0.2

type ProjectReport struct {

	// Enterprise id for which we want to get summary report for all objects
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Error while fetching report for enterprise, if any
	Error string `json:"error,omitempty"`

	// cursor next
	Next *Cursor `json:"next,omitempty"`

	// Enterprise project report
	ProjectSummaryReport *ProjectSummaryReport `json:"projectSummaryReport,omitempty"`
}

ProjectReport Get project reports

Get summary reports of project objects for self/child enterprise

swagger:model ProjectReport

func (*ProjectReport) ContextValidate ¶ added in v1.0.2

func (m *ProjectReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project report based on the context it is used

func (*ProjectReport) MarshalBinary ¶ added in v1.0.2

func (m *ProjectReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectReport) UnmarshalBinary ¶ added in v1.0.2

func (m *ProjectReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectReport) Validate ¶ added in v1.0.2

func (m *ProjectReport) Validate(formats strfmt.Registry) error

Validate validates this project report

type ProjectSummaryReport ¶ added in v1.0.2

type ProjectSummaryReport struct {

	// device distribution
	DeviceDistribution []*DeviceDistribution `json:"deviceDistribution"`

	// total
	Total int64 `json:"total,omitempty"`
}

ProjectSummaryReport project summary report

swagger:model ProjectSummaryReport

func (*ProjectSummaryReport) ContextValidate ¶ added in v1.0.2

func (m *ProjectSummaryReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this project summary report based on the context it is used

func (*ProjectSummaryReport) MarshalBinary ¶ added in v1.0.2

func (m *ProjectSummaryReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ProjectSummaryReport) UnmarshalBinary ¶ added in v1.0.2

func (m *ProjectSummaryReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ProjectSummaryReport) Validate ¶ added in v1.0.2

func (m *ProjectSummaryReport) Validate(formats strfmt.Registry) error

Validate validates this project summary report

type ProtobufAny ¶

type ProtobufAny struct {

	// type Url
	TypeURL string `json:"typeUrl,omitempty"`

	// value
	// Format: byte
	Value strfmt.Base64 `json:"value,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 ProtobufNullValue ¶

type ProtobufNullValue string

ProtobufNullValue `NullValue` is a singleton enumeration to represent the null value for the `Value` type union.

The JSON representation for `NullValue` is JSON `null`.

- NULL_VALUE: Null value.

swagger:model protobufNullValue

const (

	// ProtobufNullValueNULLVALUE captures enum value "NULL_VALUE"
	ProtobufNullValueNULLVALUE ProtobufNullValue = "NULL_VALUE"
)

func NewProtobufNullValue ¶

func NewProtobufNullValue(value ProtobufNullValue) *ProtobufNullValue

func (ProtobufNullValue) ContextValidate ¶

func (m ProtobufNullValue) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this protobuf null value based on context it is used

func (ProtobufNullValue) Pointer ¶

func (m ProtobufNullValue) Pointer() *ProtobufNullValue

Pointer returns a pointer to a freshly-allocated ProtobufNullValue.

func (ProtobufNullValue) Validate ¶

func (m ProtobufNullValue) Validate(formats strfmt.Registry) error

Validate validates this protobuf null value

type RSA ¶

type RSA struct {

	// RSA Encryption Key bit size.
	RsaBits string `json:"rsaBits,omitempty"`
}

RSA r s a

swagger:model RSA

func (*RSA) ContextValidate ¶

func (m *RSA) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this r s a based on context it is used

func (*RSA) MarshalBinary ¶

func (m *RSA) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RSA) UnmarshalBinary ¶

func (m *RSA) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RSA) Validate ¶

func (m *RSA) Validate(formats strfmt.Registry) error

Validate validates this r s a

type Realm ¶

type Realm struct {

	// Detailed description of the realm
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Enterprise ID of the enterprise where the realm is to be created
	// Required: true
	// Pattern: [0-9A-Za-z_=-]{28}
	EnterpriseID *string `json:"enterpriseId"`

	// Unique system defined realm ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// User defined name of the realm. Name cannot be changed once created
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// System defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the realm. Title can be changed anytime
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`
}

Realm Realm detail

Realm meta data Example: {"description":"Test realm","enterpriseId":"AAFlABDe6Nm63ixF5LJBbk9Keqp6","id":"EAJ1ABAi-KOom7dJlrBoE8eq1pj9","name":"zededa.com","revision":{"createdAt":"2020-07-17T06:03:14Z","createdBy":"us.root@zededa.com","curr":"1","prev":"","updatedAt":"2020-07-17T06:03:14Z","updatedBy":"us.root@zededa.com"},"title":"zededa"}

swagger:model Realm

func (*Realm) ContextValidate ¶

func (m *Realm) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this realm based on the context it is used

func (*Realm) MarshalBinary ¶

func (m *Realm) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Realm) UnmarshalBinary ¶

func (m *Realm) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Realm) Validate ¶

func (m *Realm) Validate(formats strfmt.Registry) error

Validate validates this realm

type Realms ¶

type Realms struct {

	// List of realms
	List []*Realm `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered realms
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

Realms realms

swagger:model Realms

func (*Realms) ContextValidate ¶

func (m *Realms) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this realms based on the context it is used

func (*Realms) MarshalBinary ¶

func (m *Realms) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Realms) UnmarshalBinary ¶

func (m *Realms) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Realms) Validate ¶

func (m *Realms) Validate(formats strfmt.Registry) error

Validate validates this realms

type Resource ¶

type Resource struct {

	// Name of the Resource (Required)
	Name string `json:"name,omitempty"`

	// Value of Resource (Required)
	Value string `json:"value,omitempty"`
}

Resource resource

swagger:model Resource

func (*Resource) ContextValidate ¶

func (m *Resource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource based on context it is used

func (*Resource) MarshalBinary ¶

func (m *Resource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Resource) UnmarshalBinary ¶

func (m *Resource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Resource) Validate ¶

func (m *Resource) Validate(formats strfmt.Registry) error

Validate validates this resource

type ResourceGroupDetail ¶

type ResourceGroupDetail struct {

	// resource group name
	// Required: true
	Name *string `json:"name"`

	// resource group region
	Region string `json:"region,omitempty"`

	// azure subscription id to which resource group is attached
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`
}

ResourceGroupDetail Resource group payload detail for cloud policy

Resource group request paylod for cloud policy ¶

swagger:model ResourceGroupDetail

func (*ResourceGroupDetail) ContextValidate ¶

func (m *ResourceGroupDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this resource group detail based on context it is used

func (*ResourceGroupDetail) MarshalBinary ¶

func (m *ResourceGroupDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ResourceGroupDetail) UnmarshalBinary ¶

func (m *ResourceGroupDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ResourceGroupDetail) Validate ¶

func (m *ResourceGroupDetail) Validate(formats strfmt.Registry) error

Validate validates this resource group detail

type Role ¶

type Role struct {

	// Detailed description of the role
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Unique system defined role ID
	// Read Only: true
	// Pattern: [0-9A-Za-z_=-]{28}
	ID string `json:"id,omitempty"`

	// User defined name of the role. Name cannot be changed once created
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// System defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Scopes/Permissions associated with the role
	// Required: true
	Scopes []*Scope `json:"scopes"`

	// State of the role
	State *RoleState `json:"state,omitempty"`

	// User defined title of the role. Title can be changed anytime
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Type of the role
	// Required: true
	Type *UserRole `json:"type"`
}

Role Role detail

Role meta data Example: {"description":"","id":"AAGFABAEqnH4je5PHZTXSmHOs-XC","name":"SysRoot","revision":{"createdAt":"2020-07-16T18:19:56Z","createdBy":"SYSTEM_ROOT","curr":"1","prev":"","updatedAt":"1970-01-01T00:00:01Z","updatedBy":"SYSTEM_ROOT"},"scopes":[{"accessApp":"PermissionAccessCreateReadUpdateDelete","accessDevice":"PermissionAccessCreateReadUpdateDelete","accessEnterprise":"PermissionAccessCreateReadUpdateDelete","accessStorage":"PermissionAccessCreateReadUpdateDelete","accessUser":"PermissionAccessCreateReadUpdateDelete","enterpriseFilter":["srAll"],"projectFilter":["srAll"]}],"state":"ROLE_STATE_ACTIVE","title":"SysRoot","type":"USER_ROLE_CLUSTER"}

swagger:model Role

func (*Role) ContextValidate ¶

func (m *Role) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this role based on the context it is used

func (*Role) MarshalBinary ¶

func (m *Role) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Role) UnmarshalBinary ¶

func (m *Role) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Role) Validate ¶

func (m *Role) Validate(formats strfmt.Registry) error

Validate validates this role

type RoleState ¶

type RoleState string

RoleState Values for this needs to match the const defined in libs/database/datamodel.go for backward compatibility.

swagger:model RoleState

const (

	// RoleStateROLESTATEUNSPECIFIED captures enum value "ROLE_STATE_UNSPECIFIED"
	RoleStateROLESTATEUNSPECIFIED RoleState = "ROLE_STATE_UNSPECIFIED"

	// RoleStateROLESTATECREATED captures enum value "ROLE_STATE_CREATED"
	RoleStateROLESTATECREATED RoleState = "ROLE_STATE_CREATED"

	// RoleStateROLESTATEACTIVE captures enum value "ROLE_STATE_ACTIVE"
	RoleStateROLESTATEACTIVE RoleState = "ROLE_STATE_ACTIVE"

	// RoleStateROLESTATEINACTIVE captures enum value "ROLE_STATE_INACTIVE"
	RoleStateROLESTATEINACTIVE RoleState = "ROLE_STATE_INACTIVE"

	// RoleStateROLESTATEARCHIVED captures enum value "ROLE_STATE_ARCHIVED"
	RoleStateROLESTATEARCHIVED RoleState = "ROLE_STATE_ARCHIVED"
)

func NewRoleState ¶

func NewRoleState(value RoleState) *RoleState

func (RoleState) ContextValidate ¶

func (m RoleState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this role state based on context it is used

func (RoleState) Pointer ¶

func (m RoleState) Pointer() *RoleState

Pointer returns a pointer to a freshly-allocated RoleState.

func (RoleState) Validate ¶

func (m RoleState) Validate(formats strfmt.Registry) error

Validate validates this role state

type Roles ¶

type Roles struct {

	// List of roles
	List []*Role `json:"list"`

	// Page details of the filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered roles
	SummaryByState *Summary `json:"summaryByState,omitempty"`
}

Roles roles

swagger:model Roles

func (*Roles) ContextValidate ¶

func (m *Roles) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this roles based on the context it is used

func (*Roles) MarshalBinary ¶

func (m *Roles) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Roles) UnmarshalBinary ¶

func (m *Roles) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Roles) Validate ¶

func (m *Roles) Validate(formats strfmt.Registry) error

Validate validates this roles

type RunState ¶

type RunState string

RunState Run-time state of an object, reported by EVE

- RUN_STATE_ONLINE: Entity Online

  • RUN_STATE_HALTED: Entity Halted
  • RUN_STATE_INIT: Entity Initializing
  • RUN_STATE_REBOOTING: Entity Rebooting
  • RUN_STATE_OFFLINE: Entity Offline
  • RUN_STATE_UNKNOWN: Entity state Unknown
  • RUN_STATE_UNPROVISIONED: Entity Unprovisioned
  • RUN_STATE_PROVISIONED: Entity Provisioned
  • RUN_STATE_SUSPECT: Entity Suspect
  • RUN_STATE_DOWNLOADING: Edge-node downloading entity artifacts
  • RUN_STATE_RESTARTING: Entity Restarting
  • RUN_STATE_PURGING: Entity Purging
  • RUN_STATE_HALTING: Entity Halting
  • RUN_STATE_ERROR: Entity encountered an error
  • RUN_STATE_VERIFYING: Verification of downloaded Artifacts in Progress.
  • RUN_STATE_LOADING: Loading of Artifacts into local datastore in Progress.
  • RUN_STATE_CREATING_VOLUME: Volume creation from artifacts in Progress
  • RUN_STATE_BOOTING: Entity booting up
  • RUN_STATE_MAINTENANCE_MODE: Entity maintenance mode
  • RUN_STATE_START_DELAYED: Application start delayed as per configuration
  • RUN_STATE_BASEOS_UPDATING: Device BaseOs Update in Progress
  • RUN_STATE_PREPARING_POWEROFF: device preparing power off - shutting down all app instances
  • RUN_STATE_POWERING_OFF: device powering off from local profile server
  • RUN_STATE_PREPARED_POWEROFF: device prepared power off - all app instances are shut down

swagger:model RunState

const (

	// RunStateRUNSTATEUNSPECIFIED captures enum value "RUN_STATE_UNSPECIFIED"
	RunStateRUNSTATEUNSPECIFIED RunState = "RUN_STATE_UNSPECIFIED"

	// RunStateRUNSTATEONLINE captures enum value "RUN_STATE_ONLINE"
	RunStateRUNSTATEONLINE RunState = "RUN_STATE_ONLINE"

	// RunStateRUNSTATEHALTED captures enum value "RUN_STATE_HALTED"
	RunStateRUNSTATEHALTED RunState = "RUN_STATE_HALTED"

	// RunStateRUNSTATEINIT captures enum value "RUN_STATE_INIT"
	RunStateRUNSTATEINIT RunState = "RUN_STATE_INIT"

	// RunStateRUNSTATEREBOOTING captures enum value "RUN_STATE_REBOOTING"
	RunStateRUNSTATEREBOOTING RunState = "RUN_STATE_REBOOTING"

	// RunStateRUNSTATEOFFLINE captures enum value "RUN_STATE_OFFLINE"
	RunStateRUNSTATEOFFLINE RunState = "RUN_STATE_OFFLINE"

	// RunStateRUNSTATEUNKNOWN captures enum value "RUN_STATE_UNKNOWN"
	RunStateRUNSTATEUNKNOWN RunState = "RUN_STATE_UNKNOWN"

	// RunStateRUNSTATEUNPROVISIONED captures enum value "RUN_STATE_UNPROVISIONED"
	RunStateRUNSTATEUNPROVISIONED RunState = "RUN_STATE_UNPROVISIONED"

	// RunStateRUNSTATEPROVISIONED captures enum value "RUN_STATE_PROVISIONED"
	RunStateRUNSTATEPROVISIONED RunState = "RUN_STATE_PROVISIONED"

	// RunStateRUNSTATESUSPECT captures enum value "RUN_STATE_SUSPECT"
	RunStateRUNSTATESUSPECT RunState = "RUN_STATE_SUSPECT"

	// RunStateRUNSTATEDOWNLOADING captures enum value "RUN_STATE_DOWNLOADING"
	RunStateRUNSTATEDOWNLOADING RunState = "RUN_STATE_DOWNLOADING"

	// RunStateRUNSTATERESTARTING captures enum value "RUN_STATE_RESTARTING"
	RunStateRUNSTATERESTARTING RunState = "RUN_STATE_RESTARTING"

	// RunStateRUNSTATEPURGING captures enum value "RUN_STATE_PURGING"
	RunStateRUNSTATEPURGING RunState = "RUN_STATE_PURGING"

	// RunStateRUNSTATEHALTING captures enum value "RUN_STATE_HALTING"
	RunStateRUNSTATEHALTING RunState = "RUN_STATE_HALTING"

	// RunStateRUNSTATEERROR captures enum value "RUN_STATE_ERROR"
	RunStateRUNSTATEERROR RunState = "RUN_STATE_ERROR"

	// RunStateRUNSTATEVERIFYING captures enum value "RUN_STATE_VERIFYING"
	RunStateRUNSTATEVERIFYING RunState = "RUN_STATE_VERIFYING"

	// RunStateRUNSTATELOADING captures enum value "RUN_STATE_LOADING"
	RunStateRUNSTATELOADING RunState = "RUN_STATE_LOADING"

	// RunStateRUNSTATECREATINGVOLUME captures enum value "RUN_STATE_CREATING_VOLUME"
	RunStateRUNSTATECREATINGVOLUME RunState = "RUN_STATE_CREATING_VOLUME"

	// RunStateRUNSTATEBOOTING captures enum value "RUN_STATE_BOOTING"
	RunStateRUNSTATEBOOTING RunState = "RUN_STATE_BOOTING"

	// RunStateRUNSTATEMAINTENANCEMODE captures enum value "RUN_STATE_MAINTENANCE_MODE"
	RunStateRUNSTATEMAINTENANCEMODE RunState = "RUN_STATE_MAINTENANCE_MODE"

	// RunStateRUNSTATESTARTDELAYED captures enum value "RUN_STATE_START_DELAYED"
	RunStateRUNSTATESTARTDELAYED RunState = "RUN_STATE_START_DELAYED"

	// RunStateRUNSTATEBASEOSUPDATING captures enum value "RUN_STATE_BASEOS_UPDATING"
	RunStateRUNSTATEBASEOSUPDATING RunState = "RUN_STATE_BASEOS_UPDATING"

	// RunStateRUNSTATEPREPARINGPOWEROFF captures enum value "RUN_STATE_PREPARING_POWEROFF"
	RunStateRUNSTATEPREPARINGPOWEROFF RunState = "RUN_STATE_PREPARING_POWEROFF"

	// RunStateRUNSTATEPOWERINGOFF captures enum value "RUN_STATE_POWERING_OFF"
	RunStateRUNSTATEPOWERINGOFF RunState = "RUN_STATE_POWERING_OFF"

	// RunStateRUNSTATEPREPAREDPOWEROFF captures enum value "RUN_STATE_PREPARED_POWEROFF"
	RunStateRUNSTATEPREPAREDPOWEROFF RunState = "RUN_STATE_PREPARED_POWEROFF"
)

func NewRunState ¶

func NewRunState(value RunState) *RunState

func (RunState) ContextValidate ¶

func (m RunState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this run state based on context it is used

func (RunState) Pointer ¶

func (m RunState) Pointer() *RunState

Pointer returns a pointer to a freshly-allocated RunState.

func (RunState) Validate ¶

func (m RunState) Validate(formats strfmt.Registry) error

Validate validates this run state

type SANValues ¶

type SANValues struct {

	// List of permitted DNS names.
	DNS []string `json:"dns"`

	// List of permitted email addresses.
	EmaildIds []string `json:"emaildIds"`

	// List of permitted hosts.
	Hosts []string `json:"hosts"`

	// List of permitted IP addresses.
	Ips []string `json:"ips"`

	// List of permitted User principal names.
	Upns []string `json:"upns"`

	// List of permitted URIs.
	Uris []string `json:"uris"`
}

SANValues s a n values

swagger:model SANValues

func (*SANValues) ContextValidate ¶

func (m *SANValues) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s a n values based on context it is used

func (*SANValues) MarshalBinary ¶

func (m *SANValues) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SANValues) UnmarshalBinary ¶

func (m *SANValues) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SANValues) Validate ¶

func (m *SANValues) Validate(formats strfmt.Registry) error

Validate validates this s a n values

type SKUDetail ¶

type SKUDetail struct {

	// capacity
	Capacity string `json:"capacity,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// tier
	Tier string `json:"tier,omitempty"`
}

SKUDetail s k u detail

swagger:model SKUDetail

func (*SKUDetail) ContextValidate ¶

func (m *SKUDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s k u detail based on context it is used

func (*SKUDetail) MarshalBinary ¶

func (m *SKUDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SKUDetail) UnmarshalBinary ¶

func (m *SKUDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SKUDetail) Validate ¶

func (m *SKUDetail) Validate(formats strfmt.Registry) error

Validate validates this s k u detail

type SWInfo ¶

type SWInfo struct {

	// software disk
	Disk string `json:"disk,omitempty"`

	// download progress
	DownloadProgress int64 `json:"downloadProgress,omitempty"`

	// software hash
	Hash string `json:"hash,omitempty"`

	// image name
	ImageName string `json:"imageName,omitempty"`

	// Software state
	State *SWState `json:"state,omitempty"`

	// software version
	Version string `json:"version,omitempty"`
}

SWInfo Software Information

Software Information ¶

swagger:model SWInfo

func (*SWInfo) ContextValidate ¶

func (m *SWInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this s w info based on the context it is used

func (*SWInfo) MarshalBinary ¶

func (m *SWInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SWInfo) UnmarshalBinary ¶

func (m *SWInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SWInfo) Validate ¶

func (m *SWInfo) Validate(formats strfmt.Registry) error

Validate validates this s w info

type SWState ¶

type SWState string

SWState State of EVE/Edge Application software

- SW_STATE_RESOLVING_TAG: Prior to DOWNLOAD_STARTED we go through these: Resolving an image tag

  • SW_STATE_RESOLVED_TAG: Tag has been resolved/failed
  • SW_STATE_CREATING_VOLUME: Prior to INSTALLED we go through these:

Volume create in progress

  • SW_STATE_CREATED_VOLUME: Volume create done/failed
  • SW_STATE_VERIFYING: Verification in-progress
  • SW_STATE_LOADING: Loading blob in CAS
  • SW_STATE_LOADED: Loaded blob in CAS
  • SW_STATE_AWAITNETWORKINSTANCE: Wait for network instance

swagger:model SWState

const (

	// SWStateSWSTATEUNSPECIFIED captures enum value "SW_STATE_UNSPECIFIED"
	SWStateSWSTATEUNSPECIFIED SWState = "SW_STATE_UNSPECIFIED"

	// SWStateSWSTATEINITIAL captures enum value "SW_STATE_INITIAL"
	SWStateSWSTATEINITIAL SWState = "SW_STATE_INITIAL"

	// SWStateSWSTATEDOWNLOADINPROGRESS captures enum value "SW_STATE_DOWNLOAD_IN_PROGRESS"
	SWStateSWSTATEDOWNLOADINPROGRESS SWState = "SW_STATE_DOWNLOAD_IN_PROGRESS"

	// SWStateSWSTATEDOWNLOADED captures enum value "SW_STATE_DOWNLOADED"
	SWStateSWSTATEDOWNLOADED SWState = "SW_STATE_DOWNLOADED"

	// SWStateSWSTATEVERIFIED captures enum value "SW_STATE_VERIFIED"
	SWStateSWSTATEVERIFIED SWState = "SW_STATE_VERIFIED"

	// SWStateSWSTATEINSTALLED captures enum value "SW_STATE_INSTALLED"
	SWStateSWSTATEINSTALLED SWState = "SW_STATE_INSTALLED"

	// SWStateSWSTATEBOOTING captures enum value "SW_STATE_BOOTING"
	SWStateSWSTATEBOOTING SWState = "SW_STATE_BOOTING"

	// SWStateSWSTATERUNNING captures enum value "SW_STATE_RUNNING"
	SWStateSWSTATERUNNING SWState = "SW_STATE_RUNNING"

	// SWStateSWSTATEHALTING captures enum value "SW_STATE_HALTING"
	SWStateSWSTATEHALTING SWState = "SW_STATE_HALTING"

	// SWStateSWSTATEHALTED captures enum value "SW_STATE_HALTED"
	SWStateSWSTATEHALTED SWState = "SW_STATE_HALTED"

	// SWStateSWSTATEREFRESHING captures enum value "SW_STATE_REFRESHING"
	SWStateSWSTATEREFRESHING SWState = "SW_STATE_REFRESHING"

	// SWStateSWSTATEPURGING captures enum value "SW_STATE_PURGING"
	SWStateSWSTATEPURGING SWState = "SW_STATE_PURGING"

	// SWStateSWSTATERESOLVINGTAG captures enum value "SW_STATE_RESOLVING_TAG"
	SWStateSWSTATERESOLVINGTAG SWState = "SW_STATE_RESOLVING_TAG"

	// SWStateSWSTATERESOLVEDTAG captures enum value "SW_STATE_RESOLVED_TAG"
	SWStateSWSTATERESOLVEDTAG SWState = "SW_STATE_RESOLVED_TAG"

	// SWStateSWSTATECREATINGVOLUME captures enum value "SW_STATE_CREATING_VOLUME"
	SWStateSWSTATECREATINGVOLUME SWState = "SW_STATE_CREATING_VOLUME"

	// SWStateSWSTATECREATEDVOLUME captures enum value "SW_STATE_CREATED_VOLUME"
	SWStateSWSTATECREATEDVOLUME SWState = "SW_STATE_CREATED_VOLUME"

	// SWStateSWSTATEVERIFYING captures enum value "SW_STATE_VERIFYING"
	SWStateSWSTATEVERIFYING SWState = "SW_STATE_VERIFYING"

	// SWStateSWSTATELOADING captures enum value "SW_STATE_LOADING"
	SWStateSWSTATELOADING SWState = "SW_STATE_LOADING"

	// SWStateSWSTATELOADED captures enum value "SW_STATE_LOADED"
	SWStateSWSTATELOADED SWState = "SW_STATE_LOADED"

	// SWStateSWSTATEAWAITNETWORKINSTANCE captures enum value "SW_STATE_AWAITNETWORKINSTANCE"
	SWStateSWSTATEAWAITNETWORKINSTANCE SWState = "SW_STATE_AWAITNETWORKINSTANCE"
)

func NewSWState ¶

func NewSWState(value SWState) *SWState

func (SWState) ContextValidate ¶

func (m SWState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this s w state based on context it is used

func (SWState) Pointer ¶

func (m SWState) Pointer() *SWState

Pointer returns a pointer to a freshly-allocated SWState.

func (SWState) Validate ¶

func (m SWState) Validate(formats strfmt.Registry) error

Validate validates this s w state

type Scope ¶

type Scope struct {

	// Application access permission, this will be deprecated in further release - please use accessEdgeApp and accessAppInstance for granular permission access scope.
	AccessApp string `json:"accessApp,omitempty"`

	// Application Instance access permission
	AccessAppInstance string `json:"accessAppInstance,omitempty"`

	// Device access permission
	AccessDevice string `json:"accessDevice,omitempty"`

	// Edge app access permission
	AccessEdgeApp string `json:"accessEdgeApp,omitempty"`

	// Enterprise access permission
	AccessEnterprise string `json:"accessEnterprise,omitempty"`

	// Storage access permission
	AccessStorage string `json:"accessStorage,omitempty"`

	// User access permission
	AccessUser string `json:"accessUser,omitempty"`

	// List of enterprise filters
	EnterpriseFilter []string `json:"enterpriseFilter"`

	// List of project filters
	ProjectFilter []string `json:"projectFilter"`
}

Scope scope

swagger:model Scope

func (*Scope) ContextValidate ¶

func (m *Scope) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this scope based on context it is used

func (*Scope) MarshalBinary ¶

func (m *Scope) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Scope) UnmarshalBinary ¶

func (m *Scope) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Scope) Validate ¶

func (m *Scope) Validate(formats strfmt.Registry) error

Validate validates this scope

type SelectionCriteria ¶

type SelectionCriteria struct {

	// bundle Id
	BundleID string `json:"bundleId,omitempty"`

	// device Id list
	DeviceIDList []string `json:"deviceIdList"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`
}

SelectionCriteria selection criteria

swagger:model SelectionCriteria

func (*SelectionCriteria) ContextValidate ¶

func (m *SelectionCriteria) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this selection criteria based on context it is used

func (*SelectionCriteria) MarshalBinary ¶

func (m *SelectionCriteria) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SelectionCriteria) UnmarshalBinary ¶

func (m *SelectionCriteria) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SelectionCriteria) Validate ¶

func (m *SelectionCriteria) Validate(formats strfmt.Registry) error

Validate validates this selection criteria

type ServicePoint ¶

type ServicePoint struct {

	// Service credentials
	Credential string `json:"Credential,omitempty"`

	// Service name/ service name
	NameOrIP string `json:"NameOrIp,omitempty"`

	// Service Point Type
	Type *SpType `json:"type,omitempty"`
}

ServicePoint Service Point

Service Point ¶

swagger:model ServicePoint

func (*ServicePoint) ContextValidate ¶

func (m *ServicePoint) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this service point based on the context it is used

func (*ServicePoint) MarshalBinary ¶

func (m *ServicePoint) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePoint) UnmarshalBinary ¶

func (m *ServicePoint) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePoint) Validate ¶

func (m *ServicePoint) Validate(formats strfmt.Registry) error

Validate validates this service point

type SessionDetails ¶

type SessionDetails struct {

	// IP address of the logged in user
	ClientIP string `json:"clientIp,omitempty"`

	// session expiry time
	// Format: date-time
	ExpiresAt strfmt.DateTime `json:"expiresAt,omitempty"`

	// DEPRECATED. sessionId is obfuscated for security reasons
	// Read Only: true
	SessionID string `json:"sessionId,omitempty"`

	// user agent details
	UserAgent string `json:"userAgent,omitempty"`

	// Logged in user name
	UserName string `json:"userName,omitempty"`
}

SessionDetails Session detail

Details of all logged in session ¶

swagger:model SessionDetails

func (*SessionDetails) ContextValidate ¶

func (m *SessionDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this session details based on the context it is used

func (*SessionDetails) MarshalBinary ¶

func (m *SessionDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SessionDetails) UnmarshalBinary ¶

func (m *SessionDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SessionDetails) Validate ¶

func (m *SessionDetails) Validate(formats strfmt.Registry) error

Validate validates this session details

type Severity ¶

type Severity string

Severity Severity tells the severity type

swagger:model Severity

const (

	// SeveritySEVERITYUNSPECIFIED captures enum value "SEVERITY_UNSPECIFIED"
	SeveritySEVERITYUNSPECIFIED Severity = "SEVERITY_UNSPECIFIED"

	// SeveritySEVERITYNOTICE captures enum value "SEVERITY_NOTICE"
	SeveritySEVERITYNOTICE Severity = "SEVERITY_NOTICE"

	// SeveritySEVERITYWARNING captures enum value "SEVERITY_WARNING"
	SeveritySEVERITYWARNING Severity = "SEVERITY_WARNING"

	// SeveritySEVERITYERROR captures enum value "SEVERITY_ERROR"
	SeveritySEVERITYERROR Severity = "SEVERITY_ERROR"
)

func NewSeverity ¶

func NewSeverity(value Severity) *Severity

func (Severity) ContextValidate ¶

func (m Severity) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this severity based on context it is used

func (Severity) Pointer ¶

func (m Severity) Pointer() *Severity

Pointer returns a pointer to a freshly-allocated Severity.

func (Severity) Validate ¶

func (m Severity) Validate(formats strfmt.Registry) error

Validate validates this severity

type SimcardState ¶

type SimcardState string

SimcardState simcard state

swagger:model SimcardState

const (

	// SimcardStateSIMCARDSTATEINVALID captures enum value "SIMCARD_STATE_INVALID"
	SimcardStateSIMCARDSTATEINVALID SimcardState = "SIMCARD_STATE_INVALID"

	// SimcardStateSIMCARDSTATEASSIGNED captures enum value "SIMCARD_STATE_ASSIGNED"
	SimcardStateSIMCARDSTATEASSIGNED SimcardState = "SIMCARD_STATE_ASSIGNED"

	// SimcardStateSIMCARDSTATEPROVISIONED captures enum value "SIMCARD_STATE_PROVISIONED"
	SimcardStateSIMCARDSTATEPROVISIONED SimcardState = "SIMCARD_STATE_PROVISIONED"

	// SimcardStateSIMCARDSTATEACTIVE captures enum value "SIMCARD_STATE_ACTIVE"
	SimcardStateSIMCARDSTATEACTIVE SimcardState = "SIMCARD_STATE_ACTIVE"

	// SimcardStateSIMCARDSTATESUSPENDED captures enum value "SIMCARD_STATE_SUSPENDED"
	SimcardStateSIMCARDSTATESUSPENDED SimcardState = "SIMCARD_STATE_SUSPENDED"

	// SimcardStateSIMCARDSTATECANCELLED captures enum value "SIMCARD_STATE_CANCELLED"
	SimcardStateSIMCARDSTATECANCELLED SimcardState = "SIMCARD_STATE_CANCELLED"
)

func NewSimcardState ¶

func NewSimcardState(value SimcardState) *SimcardState

func (SimcardState) ContextValidate ¶

func (m SimcardState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this simcard state based on context it is used

func (SimcardState) Pointer ¶

func (m SimcardState) Pointer() *SimcardState

Pointer returns a pointer to a freshly-allocated SimcardState.

func (SimcardState) Validate ¶

func (m SimcardState) Validate(formats strfmt.Registry) error

Validate validates this simcard state

type SimpleUser ¶

type SimpleUser struct {

	// first name
	FirstName string `json:"firstName,omitempty"`

	// BEGIN-SYNC(SimpleUser)
	ID string `json:"id,omitempty"`

	// realm Id
	RealmID string `json:"realmId,omitempty"`

	// state
	State *UserState `json:"state,omitempty"`

	// username
	Username string `json:"username,omitempty"`
}

SimpleUser simple user

swagger:model SimpleUser

func (*SimpleUser) ContextValidate ¶

func (m *SimpleUser) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this simple user based on the context it is used

func (*SimpleUser) MarshalBinary ¶

func (m *SimpleUser) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SimpleUser) UnmarshalBinary ¶

func (m *SimpleUser) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SimpleUser) Validate ¶

func (m *SimpleUser) Validate(formats strfmt.Registry) error

Validate validates this simple user

type SpType ¶

type SpType string

SpType clone of types defined in API repo.

  • SPTYPE_MAPSERVER: mapping service for zededa overlay service
  • SPTYPE_SUPPORTSERVER: if device has support feature enabled, this ia cloud service

which device can be reached.

swagger:model spType

const (

	// SpTypeSPTYPEINVALIDSRV captures enum value "SPTYPE_INVALIDSRV"
	SpTypeSPTYPEINVALIDSRV SpType = "SPTYPE_INVALIDSRV"

	// SpTypeSPTYPEMAPSERVER captures enum value "SPTYPE_MAPSERVER"
	SpTypeSPTYPEMAPSERVER SpType = "SPTYPE_MAPSERVER"

	// SpTypeSPTYPESUPPORTSERVER captures enum value "SPTYPE_SUPPORTSERVER"
	SpTypeSPTYPESUPPORTSERVER SpType = "SPTYPE_SUPPORTSERVER"
)

func NewSpType ¶

func NewSpType(value SpType) *SpType

func (SpType) ContextValidate ¶

func (m SpType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sp type based on context it is used

func (SpType) Pointer ¶

func (m SpType) Pointer() *SpType

Pointer returns a pointer to a freshly-allocated SpType.

func (SpType) Validate ¶

func (m SpType) Validate(formats strfmt.Registry) error

Validate validates this sp type

type StaticDNSList ¶

type StaticDNSList struct {

	// Addresses
	Addrs []string `json:"addrs"`

	// Host name
	Hostname string `json:"hostname,omitempty"`
}

StaticDNSList Static DNS list

Static DNS list ¶

swagger:model StaticDNSList

func (*StaticDNSList) ContextValidate ¶

func (m *StaticDNSList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this static DNS list based on context it is used

func (*StaticDNSList) MarshalBinary ¶

func (m *StaticDNSList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StaticDNSList) UnmarshalBinary ¶

func (m *StaticDNSList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StaticDNSList) Validate ¶

func (m *StaticDNSList) Validate(formats strfmt.Registry) error

Validate validates this static DNS list

type Status ¶

type Status struct {

	// describes the overall status of the operation
	// Read Only: true
	Code *StatusCode `json:"code,omitempty"`

	// top level description of the operation
	// Read Only: true
	Description *Description `json:"description,omitempty"`
}

Status Status encapsulates the top level status of the operation

Status encapsulates the top level status of the operation ¶

swagger:model Status

func (*Status) ContextValidate ¶

func (m *Status) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this status based on the context it is used

func (*Status) MarshalBinary ¶

func (m *Status) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Status) UnmarshalBinary ¶

func (m *Status) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Status) Validate ¶

func (m *Status) Validate(formats strfmt.Registry) error

Validate validates this status

type StatusCode ¶

type StatusCode string

StatusCode status codes for internal use (Gilas and Niles)

swagger:model StatusCode

const (

	// StatusCodeSTATUSCODEUNSPECIFIED captures enum value "STATUS_CODE_UNSPECIFIED"
	StatusCodeSTATUSCODEUNSPECIFIED StatusCode = "STATUS_CODE_UNSPECIFIED"

	// StatusCodeSTATUSCODESUCCESS captures enum value "STATUS_CODE_SUCCESS"
	StatusCodeSTATUSCODESUCCESS StatusCode = "STATUS_CODE_SUCCESS"

	// StatusCodeSTATUSCODEFAILURE captures enum value "STATUS_CODE_FAILURE"
	StatusCodeSTATUSCODEFAILURE StatusCode = "STATUS_CODE_FAILURE"

	// StatusCodeSTATUSCODEPARTIALSUCCESS captures enum value "STATUS_CODE_PARTIAL_SUCCESS"
	StatusCodeSTATUSCODEPARTIALSUCCESS StatusCode = "STATUS_CODE_PARTIAL_SUCCESS"
)

func NewStatusCode ¶

func NewStatusCode(value StatusCode) *StatusCode

func (StatusCode) ContextValidate ¶

func (m StatusCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this status code based on context it is used

func (StatusCode) Pointer ¶

func (m StatusCode) Pointer() *StatusCode

Pointer returns a pointer to a freshly-allocated StatusCode.

func (StatusCode) Validate ¶

func (m StatusCode) Validate(formats strfmt.Registry) error

Validate validates this status code

type StorageDeviceMetrics ¶ added in v1.0.2

type StorageDeviceMetrics struct {

	// checksum errors counter
	ChecksumErrors int64 `json:"checksumErrors,omitempty"`

	// read errors counter
	ReadErrors int64 `json:"readErrors,omitempty"`

	// write errors counter
	WriteErrors int64 `json:"writeErrors,omitempty"`
}

StorageDeviceMetrics storage device metrics

swagger:model StorageDeviceMetrics

func (*StorageDeviceMetrics) ContextValidate ¶ added in v1.0.2

func (m *StorageDeviceMetrics) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage device metrics based on context it is used

func (*StorageDeviceMetrics) MarshalBinary ¶ added in v1.0.2

func (m *StorageDeviceMetrics) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageDeviceMetrics) UnmarshalBinary ¶ added in v1.0.2

func (m *StorageDeviceMetrics) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageDeviceMetrics) Validate ¶ added in v1.0.2

func (m *StorageDeviceMetrics) Validate(formats strfmt.Registry) error

Validate validates this storage device metrics

type StorageStatus ¶

type StorageStatus struct {

	// mount path
	MountPath string `json:"mountPath,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// size m b
	SizeMB string `json:"sizeMB,omitempty"`
}

StorageStatus storage status

swagger:model StorageStatus

func (*StorageStatus) ContextValidate ¶

func (m *StorageStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage status based on context it is used

func (*StorageStatus) MarshalBinary ¶

func (m *StorageStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageStatus) UnmarshalBinary ¶

func (m *StorageStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageStatus) Validate ¶

func (m *StorageStatus) Validate(formats strfmt.Registry) error

Validate validates this storage status

type StorageSummary ¶

type StorageSummary struct {

	// Total reserved for running applications + temp. images etc
	AllocatedMB float64 `json:"AllocatedMB,omitempty"`

	// Total Storage for the device in MBs
	TotalMB float64 `json:"TotalMB,omitempty"`

	// How much is used within the allocated total storage
	UsedMB float64 `json:"UsedMB,omitempty"`
}

StorageSummary Storage Summary

Storage Summary ¶

swagger:model StorageSummary

func (*StorageSummary) ContextValidate ¶

func (m *StorageSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this storage summary based on context it is used

func (*StorageSummary) MarshalBinary ¶

func (m *StorageSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StorageSummary) UnmarshalBinary ¶

func (m *StorageSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StorageSummary) Validate ¶

func (m *StorageSummary) Validate(formats strfmt.Registry) error

Validate validates this storage summary

type Subject ¶

type Subject struct {

	// Certificate common name.
	CommonName string `json:"commonName,omitempty"`

	// List of countries.
	Country []string `json:"country"`

	// List of locallity.
	Locality []string `json:"locality"`

	// List of organization.
	Organization []string `json:"organization"`

	// List of Organizational Unit.
	OrganizationalUnit []string `json:"organizationalUnit"`

	// List of Postal codes.
	PostalCode []string `json:"postalCode"`

	// List of List of Prvince.
	Province []string `json:"province"`

	// Subject cerial number
	SerialNumber string `json:"serialNumber,omitempty"`
}

Subject subject

swagger:model Subject

func (*Subject) ContextValidate ¶

func (m *Subject) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this subject based on context it is used

func (*Subject) MarshalBinary ¶

func (m *Subject) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Subject) UnmarshalBinary ¶

func (m *Subject) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Subject) Validate ¶

func (m *Subject) Validate(formats strfmt.Registry) error

Validate validates this subject

type Summary ¶

type Summary struct {

	// Summary description
	Description string `json:"description,omitempty"`

	// Total
	Total int64 `json:"total,omitempty"`

	// Values: Map for storing <string, uint32>
	Values map[string]int64 `json:"values,omitempty"`
}

Summary Summary is used to store the Summary details

Summary is used to store the Summary details ¶

swagger:model Summary

func (*Summary) ContextValidate ¶

func (m *Summary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this summary based on context it is used

func (*Summary) MarshalBinary ¶

func (m *Summary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Summary) UnmarshalBinary ¶

func (m *Summary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Summary) Validate ¶

func (m *Summary) Validate(formats strfmt.Registry) error

Validate validates this summary

type SymmetricKeyEnrollmentDetail ¶

type SymmetricKeyEnrollmentDetail struct {

	// group symmetric key enrollment
	GroupSymmetricKeyEnrollment *GroupSymmetricKeyEnrollment `json:"groupSymmetricKeyEnrollment,omitempty"`

	// individual symmetric key enrollment
	IndividualSymmetricKeyEnrollment *IndividualSymmetricKeyEnrollment `json:"individualSymmetricKeyEnrollment,omitempty"`

	// type
	Type *EnrollmentType `json:"type,omitempty"`
}

SymmetricKeyEnrollmentDetail symmetric key enrollment detail

swagger:model SymmetricKeyEnrollmentDetail

func (*SymmetricKeyEnrollmentDetail) ContextValidate ¶

func (m *SymmetricKeyEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this symmetric key enrollment detail based on the context it is used

func (*SymmetricKeyEnrollmentDetail) MarshalBinary ¶

func (m *SymmetricKeyEnrollmentDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SymmetricKeyEnrollmentDetail) UnmarshalBinary ¶

func (m *SymmetricKeyEnrollmentDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SymmetricKeyEnrollmentDetail) Validate ¶

func (m *SymmetricKeyEnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this symmetric key enrollment detail

type SysBrand ¶

type SysBrand struct {

	// Map of <string, string>
	Attr map[string]string `json:"attr,omitempty"`

	// Detailed description of the image.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the brand.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	Logo map[string]string `json:"logo,omitempty"`

	// user defined sys brand name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// Object Revision  of the sys brand
	Revision *ObjectRevision `json:"revision,omitempty"`

	// Sys Model Status
	State *SysModelState `json:"state,omitempty"`

	// Deprecated: base64 encoded string of svg file
	Svg string `json:"svg,omitempty"`

	// System Manufacturer name
	SystemMfgName string `json:"systemMfgName,omitempty"`

	// user defined title for sys brand
	// Required: true
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Title *string `json:"title"`
}

SysBrand SysBrand payload details

SysModel consists of various brand attributes like id, name, title, svg, state, systemMfgName Example: {"id":"d85a545f-6510-4327-b03d-c02eef119e99","name":"zed-brand","title":"sample brand"}

swagger:model SysBrand

func (*SysBrand) ContextValidate ¶

func (m *SysBrand) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys brand based on the context it is used

func (*SysBrand) MarshalBinary ¶

func (m *SysBrand) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysBrand) UnmarshalBinary ¶

func (m *SysBrand) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysBrand) Validate ¶

func (m *SysBrand) Validate(formats strfmt.Registry) error

Validate validates this sys brand

type SysBrandFilter ¶

type SysBrandFilter struct {

	// Brand name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`
}

SysBrandFilter sys brand filter

swagger:model SysBrandFilter

func (*SysBrandFilter) ContextValidate ¶

func (m *SysBrandFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys brand filter based on the context it is used

func (*SysBrandFilter) MarshalBinary ¶

func (m *SysBrandFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysBrandFilter) UnmarshalBinary ¶

func (m *SysBrandFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysBrandFilter) Validate ¶

func (m *SysBrandFilter) Validate(formats strfmt.Registry) error

Validate validates this sys brand filter

type SysBrands ¶

type SysBrands struct {

	// List of filtered Sys Models
	List []*SysBrand `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered model records
	Terse *Summary `json:"terse,omitempty"`
}

SysBrands SysBrands payload details

SysBrands used when listing the available brands, if consists of various brand attributes like terse, model list and next filter.

swagger:model SysBrands

func (*SysBrands) ContextValidate ¶

func (m *SysBrands) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys brands based on the context it is used

func (*SysBrands) MarshalBinary ¶

func (m *SysBrands) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysBrands) UnmarshalBinary ¶

func (m *SysBrands) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysBrands) Validate ¶

func (m *SysBrands) Validate(formats strfmt.Registry) error

Validate validates this sys brands

type SysInterface ¶

type SysInterface struct {

	// cost of using this interface. Default is 0.
	// Maximum: 255
	Cost int64 `json:"cost,omitempty"`

	// Adapter Udage
	IntfUsage *AdapterUsage `json:"intfUsage,omitempty"`

	// name of interface in the manifest to which this network or adapter maps to
	Intfname string `json:"intfname,omitempty"`

	// IP address: we will be needing this in cae of static network
	Ipaddr string `json:"ipaddr,omitempty"`

	// mac address needs to be over-written in some cases
	Macaddr string `json:"macaddr,omitempty"`

	// network name: if attaching a network use netname
	Netname string `json:"netname,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`
}

SysInterface sysInterface payload detail

system interfaces that needs to be used by dom0

swagger:model sysInterface

func (*SysInterface) ContextValidate ¶

func (m *SysInterface) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys interface based on the context it is used

func (*SysInterface) MarshalBinary ¶

func (m *SysInterface) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysInterface) UnmarshalBinary ¶

func (m *SysInterface) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysInterface) Validate ¶

func (m *SysInterface) Validate(formats strfmt.Registry) error

Validate validates this sys interface

type SysModel ¶

type SysModel struct {

	// PCR templates keyed by EVE version
	PCRTemplates []*PCRTemplate `json:"PCRTemplates"`

	// Map of <string, string> which defines attr
	// Required: true
	Attr map[string]string `json:"attr"`

	// System defined universally unique Id of the brand.
	// Required: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12
	BrandID *string `json:"brandId"`

	// Detailed description of the model.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// System defined universally unique Id of the model.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// List of IoMembers
	IoMemberList []*IoMember `json:"ioMemberList"`

	// Flag to represent whether sysModel is imported
	IsImported bool `json:"isImported,omitempty"`

	Logo map[string]string `json:"logo,omitempty"`

	// user defined model name
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// origin of object
	// Required: true
	OriginType *Origin `json:"originType"`

	// origin and parent related details
	ParentDetail *ObjectParentDetail `json:"parentDetail,omitempty"`

	// Product status
	ProductStatus string `json:"productStatus,omitempty"`

	// Product URL
	ProductURL string `json:"productURL,omitempty"`

	// Object Revision  of the model
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// SysModel State which denotes the status of the model
	// Required: true
	State *SysModelState `json:"state"`

	// User defined title of the model. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Defines the Architecture type of the model
	// Required: true
	Type *ModelArchType `json:"type"`
}

SysModel SysModel payload details

SysModel consists of various model attributes like id, name, title, brandId etc Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"zed-model","title":"sample model"}

swagger:model SysModel

func (*SysModel) ContextValidate ¶

func (m *SysModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys model based on the context it is used

func (*SysModel) MarshalBinary ¶

func (m *SysModel) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModel) UnmarshalBinary ¶

func (m *SysModel) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModel) Validate ¶

func (m *SysModel) Validate(formats strfmt.Registry) error

Validate validates this sys model

type SysModelDetail ¶

type SysModelDetail struct {

	// custom model fields
	CustomModelFields *CustomUpdateModelFields `json:"customModelFields,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// parent model Id
	ParentModelID string `json:"parentModelId,omitempty"`
}

SysModelDetail sys model detail

swagger:model SysModelDetail

func (*SysModelDetail) ContextValidate ¶

func (m *SysModelDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys model detail based on the context it is used

func (*SysModelDetail) MarshalBinary ¶

func (m *SysModelDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModelDetail) UnmarshalBinary ¶

func (m *SysModelDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModelDetail) Validate ¶

func (m *SysModelDetail) Validate(formats strfmt.Registry) error

Validate validates this sys model detail

type SysModelFilter ¶

type SysModelFilter struct {

	// System defined universally unique Id of the brand.
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12
	BrandID string `json:"brandId,omitempty"`

	// System defined universally unique Ids of the brand.
	BrandIds []string `json:"brandIds"`

	// Model name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]{3,256}
	NamePattern string `json:"namePattern,omitempty"`

	// origin of object
	OriginType *Origin `json:"originType,omitempty"`
}

SysModelFilter sys model filter

swagger:model SysModelFilter

func (*SysModelFilter) ContextValidate ¶

func (m *SysModelFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys model filter based on the context it is used

func (*SysModelFilter) MarshalBinary ¶

func (m *SysModelFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModelFilter) UnmarshalBinary ¶

func (m *SysModelFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModelFilter) Validate ¶

func (m *SysModelFilter) Validate(formats strfmt.Registry) error

Validate validates this sys model filter

type SysModelState ¶

type SysModelState string

SysModelState SysModelState : enum specifies the SysModel status

- SYS_MODEL_STATE_UNSPECIFIED: default options, which says no Operation/Invalid Operation

  • SYS_MODEL_STATE_ARCHIVE: Archived sysModel State
  • SYS_MODEL_STATE_ACTIVE: Active sysModel state

swagger:model SysModelState

const (

	// SysModelStateSYSMODELSTATEUNSPECIFIED captures enum value "SYS_MODEL_STATE_UNSPECIFIED"
	SysModelStateSYSMODELSTATEUNSPECIFIED SysModelState = "SYS_MODEL_STATE_UNSPECIFIED"

	// SysModelStateSYSMODELSTATEARCHIVE captures enum value "SYS_MODEL_STATE_ARCHIVE"
	SysModelStateSYSMODELSTATEARCHIVE SysModelState = "SYS_MODEL_STATE_ARCHIVE"

	// SysModelStateSYSMODELSTATEACTIVE captures enum value "SYS_MODEL_STATE_ACTIVE"
	SysModelStateSYSMODELSTATEACTIVE SysModelState = "SYS_MODEL_STATE_ACTIVE"
)

func NewSysModelState ¶

func NewSysModelState(value SysModelState) *SysModelState

func (SysModelState) ContextValidate ¶

func (m SysModelState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sys model state based on context it is used

func (SysModelState) Pointer ¶

func (m SysModelState) Pointer() *SysModelState

Pointer returns a pointer to a freshly-allocated SysModelState.

func (SysModelState) Validate ¶

func (m SysModelState) Validate(formats strfmt.Registry) error

Validate validates this sys model state

type SysModels ¶

type SysModels struct {

	// List of filtered Sys Models
	List []*SysModel `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary by brand distribution
	SummaryByBrandDistribution *Summary `json:"summaryByBrandDistribution,omitempty"`

	// Summary by device distribution
	SummaryByDeviceDistribution *Summary `json:"summaryByDeviceDistribution,omitempty"`

	// Summary of filtered model records
	Terse *Summary `json:"terse,omitempty"`
}

SysModels SysModels payload details

SysModels used when listing the available models, if consists of various model attributes like terse, model list and next filter.

swagger:model SysModels

func (*SysModels) ContextValidate ¶

func (m *SysModels) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this sys models based on the context it is used

func (*SysModels) MarshalBinary ¶

func (m *SysModels) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SysModels) UnmarshalBinary ¶

func (m *SysModels) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SysModels) Validate ¶

func (m *SysModels) Validate(formats strfmt.Registry) error

Validate validates this sys models

type TPMEnrollmentDetail ¶

type TPMEnrollmentDetail struct {

	// type
	Type *EnrollmentType `json:"type,omitempty"`
}

TPMEnrollmentDetail t p m enrollment detail

swagger:model TPMEnrollmentDetail

func (*TPMEnrollmentDetail) ContextValidate ¶

func (m *TPMEnrollmentDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this t p m enrollment detail based on the context it is used

func (*TPMEnrollmentDetail) MarshalBinary ¶

func (m *TPMEnrollmentDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TPMEnrollmentDetail) UnmarshalBinary ¶

func (m *TPMEnrollmentDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TPMEnrollmentDetail) Validate ¶

func (m *TPMEnrollmentDetail) Validate(formats strfmt.Registry) error

Validate validates this t p m enrollment detail

type Tag ¶

type Tag struct {

	// Resource group wide policy for edge applications to be deployed on all edge nodes on this resource group
	// Read Only: true
	AppPolicy *PolicyConfig `json:"appPolicy,omitempty"`

	// Attestation policy to enforce on all devices of this project
	AttestationPolicy *PolicyConfig `json:"attestationPolicy,omitempty"`

	// Resource group wide configuration for edge nodes
	// Read Only: true
	Attr map[string]string `json:"attr,omitempty"`

	// Resource group wide policy for Azure IoTEdge configuration to be applied to all edge applications
	// Read Only: true
	CloudPolicy *PolicyConfig `json:"cloudPolicy,omitempty"`

	// Deployment template containing different types of policies
	Deployment *Deployment `json:"deployment,omitempty"`

	// Detailed description of the resource group.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// Edgeview policy on devices of this project
	EdgeviewPolicy *PolicyConfig `json:"edgeviewPolicy,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// Resource group wide policy for Azure module configuration to be applied to all edge applications
	// Read Only: true
	ModulePolicy []*PolicyConfig `json:"modulePolicy"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name *string `json:"name"`

	// Network policy to enforce on all devices of this project
	NetworkPolicy *PolicyConfig `json:"networkPolicy,omitempty"`

	// Number of edge nodes in this resource group
	// Read Only: true
	Numdevices int64 `json:"numdevices,omitempty"`

	// system defined info
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// User defined title of the resource group. Title can be changed at any time.
	// Required: true
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title *string `json:"title"`

	// Resource group type
	// Required: true
	Type *TagType `json:"type"`
}

Tag Resource group detail

Resource group for edge gateway Base OS or for eedge applications. Example: {"attr":{},"description":"My test resource group for Edge computing","id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","numdevices":208,"revision":{"createdAt":{"seconds":1592068270},"createdBy":"admin@my-company.com","curr":"1","updatedAt":{"seconds":1592068271},"updatedBy":"admin@my-company.com"},"title":"My Test resource group","type":"TAG_TYPE_PROJECT"}

swagger:model Tag

func (*Tag) ContextValidate ¶

func (m *Tag) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag based on the context it is used

func (*Tag) MarshalBinary ¶

func (m *Tag) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tag) UnmarshalBinary ¶

func (m *Tag) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tag) Validate ¶

func (m *Tag) Validate(formats strfmt.Registry) error

Validate validates this tag

type TagConfigStatus ¶ added in v1.0.2

type TagConfigStatus struct {

	// app policy Id
	AppPolicyID string `json:"appPolicyId,omitempty"`

	// app policy name
	AppPolicyName string `json:"appPolicyName,omitempty"`

	// type of attestation policy
	AttestPolicyType *AttestPolicyType `json:"attestPolicyType,omitempty"`

	// type of cloud policy
	CloudPolicyType *PolicyType `json:"cloudPolicyType,omitempty"`

	// edgeview is allowed or not for devices in project
	EdgeviewAllow bool `json:"edgeviewAllow,omitempty"`

	// total count of devices enabled with edgeview session
	EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// flag to indicate if this is the default network instance for the device
	NetworkDeviceDefault string `json:"networkDeviceDefault,omitempty"`

	// network policy Id
	NetworkPolicyID string `json:"networkPolicyId,omitempty"`

	// Resource group status
	// Read Only: true
	Status *TagStatus `json:"status,omitempty"`
}

TagConfigStatus tag config status

swagger:model tagConfigStatus

func (*TagConfigStatus) ContextValidate ¶ added in v1.0.2

func (m *TagConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag config status based on the context it is used

func (*TagConfigStatus) MarshalBinary ¶ added in v1.0.2

func (m *TagConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagConfigStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *TagConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagConfigStatus) Validate ¶ added in v1.0.2

func (m *TagConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this tag config status

type TagFilter ¶

type TagFilter struct {

	// Resource group name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]+
	NamePattern string `json:"namePattern,omitempty"`

	// Resource group type to ne matched.
	Type *TagType `json:"type,omitempty"`
}

TagFilter tag filter

swagger:model TagFilter

func (*TagFilter) ContextValidate ¶

func (m *TagFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag filter based on the context it is used

func (*TagFilter) MarshalBinary ¶

func (m *TagFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagFilter) UnmarshalBinary ¶

func (m *TagFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagFilter) Validate ¶

func (m *TagFilter) Validate(formats strfmt.Registry) error

Validate validates this tag filter

type TagStatus ¶

type TagStatus string

TagStatus Resource group status

- TAG_STATUS_UNSPECIFIED: Tag Status : UNSPECIFIED

  • TAG_STATUS_ARCHIVE: Tag Status : ARCHIVE
  • TAG_STATUS_ACTIVE: Tag Status : ACTIVE
  • TAG_STATUS_INACTIVE: Tag Status : INACTIVE

swagger:model TagStatus

const (

	// TagStatusTAGSTATUSUNSPECIFIED captures enum value "TAG_STATUS_UNSPECIFIED"
	TagStatusTAGSTATUSUNSPECIFIED TagStatus = "TAG_STATUS_UNSPECIFIED"

	// TagStatusTAGSTATUSARCHIVE captures enum value "TAG_STATUS_ARCHIVE"
	TagStatusTAGSTATUSARCHIVE TagStatus = "TAG_STATUS_ARCHIVE"

	// TagStatusTAGSTATUSACTIVE captures enum value "TAG_STATUS_ACTIVE"
	TagStatusTAGSTATUSACTIVE TagStatus = "TAG_STATUS_ACTIVE"

	// TagStatusTAGSTATUSINACTIVE captures enum value "TAG_STATUS_INACTIVE"
	TagStatusTAGSTATUSINACTIVE TagStatus = "TAG_STATUS_INACTIVE"

	// TagStatusTAGSTATUSINITIALIZED captures enum value "TAG_STATUS_INITIALIZED"
	TagStatusTAGSTATUSINITIALIZED TagStatus = "TAG_STATUS_INITIALIZED"

	// TagStatusTAGSTATUSFAILED captures enum value "TAG_STATUS_FAILED"
	TagStatusTAGSTATUSFAILED TagStatus = "TAG_STATUS_FAILED"
)

func NewTagStatus ¶

func NewTagStatus(value TagStatus) *TagStatus

func (TagStatus) ContextValidate ¶

func (m TagStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag status based on context it is used

func (TagStatus) Pointer ¶

func (m TagStatus) Pointer() *TagStatus

Pointer returns a pointer to a freshly-allocated TagStatus.

func (TagStatus) Validate ¶

func (m TagStatus) Validate(formats strfmt.Registry) error

Validate validates this tag status

type TagStatusFilter ¶

type TagStatusFilter struct {

	// Resource group name pattern to be matched.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9_.-]+
	NamePattern string `json:"namePattern,omitempty"`

	// Resource group status to be matched.
	Status *TagStatus `json:"status,omitempty"`

	// Resource group type to ne matched.
	Type *TagType `json:"type,omitempty"`
}

TagStatusFilter tag status filter

swagger:model TagStatusFilter

func (*TagStatusFilter) ContextValidate ¶

func (m *TagStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag status filter based on the context it is used

func (*TagStatusFilter) MarshalBinary ¶

func (m *TagStatusFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagStatusFilter) UnmarshalBinary ¶

func (m *TagStatusFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagStatusFilter) Validate ¶

func (m *TagStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this tag status filter

type TagStatusListMsg ¶

type TagStatusListMsg struct {

	// List of filtered resource group records
	List []*TagStatusMsg `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

TagStatusListMsg tag status list msg

swagger:model TagStatusListMsg

func (*TagStatusListMsg) ContextValidate ¶

func (m *TagStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag status list msg based on the context it is used

func (*TagStatusListMsg) MarshalBinary ¶

func (m *TagStatusListMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagStatusListMsg) UnmarshalBinary ¶

func (m *TagStatusListMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagStatusListMsg) Validate ¶

func (m *TagStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this tag status list msg

type TagStatusMsg ¶

type TagStatusMsg struct {

	// total count of devices enabled with edgeview session
	EdgeviewSessionCount int64 `json:"edgeviewSessionCount,omitempty"`

	// System defined universally unique Id of the resource group.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// User defined name of the resource group, unique across the enterprise. Once resource group is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// Resource group status
	// Read Only: true
	Status *TagStatus `json:"status,omitempty"`

	// Resource group type
	Type *TagType `json:"type,omitempty"`
}

TagStatusMsg Resource group detail

Resource group for edge gateway Base OS or for eedge applications. Example: {"id":"d1125b0f-633d-459c-99c6-f47e7467cebc","name":"my-test-project","status":"TAG_STATUS_ACTIVE"}

swagger:model TagStatusMsg

func (*TagStatusMsg) ContextValidate ¶

func (m *TagStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag status msg based on the context it is used

func (*TagStatusMsg) MarshalBinary ¶

func (m *TagStatusMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagStatusMsg) UnmarshalBinary ¶

func (m *TagStatusMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagStatusMsg) Validate ¶

func (m *TagStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this tag status msg

type TagType ¶

type TagType string

TagType Resource group types

- TAG_TYPE_UNSPECIFIED: Unspecified

  • TAG_TYPE_GENERIC: Generic resource group
  • TAG_TYPE_PROJECT: Project resource group
  • TAG_TYPE_AZURE: Project resource group
  • TAG_TYPE_DEPLOYMENT: Project with deployment

swagger:model TagType

const (

	// TagTypeTAGTYPEUNSPECIFIED captures enum value "TAG_TYPE_UNSPECIFIED"
	TagTypeTAGTYPEUNSPECIFIED TagType = "TAG_TYPE_UNSPECIFIED"

	// TagTypeTAGTYPEGENERIC captures enum value "TAG_TYPE_GENERIC"
	TagTypeTAGTYPEGENERIC TagType = "TAG_TYPE_GENERIC"

	// TagTypeTAGTYPEPROJECT captures enum value "TAG_TYPE_PROJECT"
	TagTypeTAGTYPEPROJECT TagType = "TAG_TYPE_PROJECT"

	// TagTypeTAGTYPEAZURE captures enum value "TAG_TYPE_AZURE"
	TagTypeTAGTYPEAZURE TagType = "TAG_TYPE_AZURE"

	// TagTypeTAGTYPEDEPLOYMENT captures enum value "TAG_TYPE_DEPLOYMENT"
	TagTypeTAGTYPEDEPLOYMENT TagType = "TAG_TYPE_DEPLOYMENT"
)

func NewTagType ¶

func NewTagType(value TagType) *TagType

func (TagType) ContextValidate ¶

func (m TagType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this tag type based on context it is used

func (TagType) Pointer ¶

func (m TagType) Pointer() *TagType

Pointer returns a pointer to a freshly-allocated TagType.

func (TagType) Validate ¶

func (m TagType) Validate(formats strfmt.Registry) error

Validate validates this tag type

type TagUpdate ¶ added in v1.0.2

type TagUpdate struct {

	// Set this flag to override given tags over existing tags. Otherwise the tags will be merged/appended
	Override bool `json:"override,omitempty"`

	// tag to be updated on the device
	// Required: true
	// Read Only: true
	Tags map[string]string `json:"tags"`
}

TagUpdate tags required for the devices

device tag will be required to auto deploy objects on the device

swagger:model TagUpdate

func (*TagUpdate) ContextValidate ¶ added in v1.0.2

func (m *TagUpdate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tag update based on the context it is used

func (*TagUpdate) MarshalBinary ¶ added in v1.0.2

func (m *TagUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagUpdate) UnmarshalBinary ¶ added in v1.0.2

func (m *TagUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagUpdate) Validate ¶ added in v1.0.2

func (m *TagUpdate) Validate(formats strfmt.Registry) error

Validate validates this tag update

type Tags ¶

type Tags struct {

	// List of filtered resource group records
	List []*Tag `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

Tags tags

swagger:model Tags

func (*Tags) ContextValidate ¶

func (m *Tags) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tags based on the context it is used

func (*Tags) MarshalBinary ¶

func (m *Tags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Tags) UnmarshalBinary ¶

func (m *Tags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Tags) Validate ¶

func (m *Tags) Validate(formats strfmt.Registry) error

Validate validates this tags

type TagsConfigStatus ¶ added in v1.0.2

type TagsConfigStatus struct {

	// List of filtered resource group records
	List []*TagConfigStatus `json:"list"`

	// Responded page details of filtered records
	Next *Cursor `json:"next,omitempty"`

	// Summary of filtered resource group records
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// Summary of filtered resource group records
	SummaryByType *Summary `json:"summaryByType,omitempty"`

	// total count of projects
	TotalCount int32 `json:"totalCount,omitempty"`
}

TagsConfigStatus tags config status

swagger:model TagsConfigStatus

func (*TagsConfigStatus) ContextValidate ¶ added in v1.0.2

func (m *TagsConfigStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this tags config status based on the context it is used

func (*TagsConfigStatus) MarshalBinary ¶ added in v1.0.2

func (m *TagsConfigStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TagsConfigStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *TagsConfigStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TagsConfigStatus) Validate ¶ added in v1.0.2

func (m *TagsConfigStatus) Validate(formats strfmt.Registry) error

Validate validates this tags config status

type Token64 ¶

type Token64 struct {

	// base64
	Base64 string `json:"base64,omitempty"`

	// expires
	Expires string `json:"expires,omitempty"`
}

Token64 Base64 encoded token

swagger:model Token64

func (*Token64) ContextValidate ¶

func (m *Token64) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this token64 based on context it is used

func (*Token64) MarshalBinary ¶

func (m *Token64) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Token64) UnmarshalBinary ¶

func (m *Token64) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Token64) Validate ¶

func (m *Token64) Validate(formats strfmt.Registry) error

Validate validates this token64

type TopTalkersResponse ¶

type TopTalkersResponse struct {

	// list
	List []*TopTalkersResponseItem `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`
}

TopTalkersResponse top talkers response

swagger:model TopTalkersResponse

func (*TopTalkersResponse) ContextValidate ¶

func (m *TopTalkersResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this top talkers response based on the context it is used

func (*TopTalkersResponse) MarshalBinary ¶

func (m *TopTalkersResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TopTalkersResponse) UnmarshalBinary ¶

func (m *TopTalkersResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TopTalkersResponse) Validate ¶

func (m *TopTalkersResponse) Validate(formats strfmt.Registry) error

Validate validates this top talkers response

type TopTalkersResponseItem ¶

type TopTalkersResponseItem struct {

	// total
	Total string `json:"Total,omitempty"`

	// local addr
	// Min Length: 1
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	LocalAddr string `json:"localAddr,omitempty"`

	// local port
	LocalPort int64 `json:"localPort,omitempty"`

	// proto
	Proto int64 `json:"proto,omitempty"`

	// remote addr
	RemoteAddr string `json:"remoteAddr,omitempty"`

	// remote port
	RemotePort int64 `json:"remotePort,omitempty"`

	// rx total
	RxTotal string `json:"rxTotal,omitempty"`

	// tx total
	TxTotal string `json:"txTotal,omitempty"`
}

TopTalkersResponseItem top talkers response item

swagger:model TopTalkersResponseItem

func (*TopTalkersResponseItem) ContextValidate ¶

func (m *TopTalkersResponseItem) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this top talkers response item based on context it is used

func (*TopTalkersResponseItem) MarshalBinary ¶

func (m *TopTalkersResponseItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TopTalkersResponseItem) UnmarshalBinary ¶

func (m *TopTalkersResponseItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TopTalkersResponseItem) Validate ¶

func (m *TopTalkersResponseItem) Validate(formats strfmt.Registry) error

Validate validates this top talkers response item

type TransCause ¶

type TransCause string

TransCause trans cause

swagger:model TransCause

const (

	// TransCauseTRANSCAUSEUNSPECIFIED captures enum value "TRANS_CAUSE_UNSPECIFIED"
	TransCauseTRANSCAUSEUNSPECIFIED TransCause = "TRANS_CAUSE_UNSPECIFIED"

	// TransCauseTRANSCAUSEAPPDRIVECHANGED captures enum value "TRANS_CAUSE_APP_DRIVE_CHANGED"
	TransCauseTRANSCAUSEAPPDRIVECHANGED TransCause = "TRANS_CAUSE_APP_DRIVE_CHANGED"

	// TransCauseTRANSCAUSEAPPNETWORKCHANGED captures enum value "TRANS_CAUSE_APP_NETWORK_CHANGED"
	TransCauseTRANSCAUSEAPPNETWORKCHANGED TransCause = "TRANS_CAUSE_APP_NETWORK_CHANGED"

	// TransCauseTRANSCAUSEAPPCUSTOMCONFIGCHANGED captures enum value "TRANS_CAUSE_APP_CUSTOM_CONFIG_CHANGED"
	TransCauseTRANSCAUSEAPPCUSTOMCONFIGCHANGED TransCause = "TRANS_CAUSE_APP_CUSTOM_CONFIG_CHANGED"

	// TransCauseTRANSCAUSEAPPMODULEBUNDLEUPDATE captures enum value "TRANS_CAUSE_APP_MODULE_BUNDLE_UPDATE"
	TransCauseTRANSCAUSEAPPMODULEBUNDLEUPDATE TransCause = "TRANS_CAUSE_APP_MODULE_BUNDLE_UPDATE"

	// TransCauseTRANSCAUSEAPPDESCCHANGED captures enum value "TRANS_CAUSE_APP_DESC_CHANGED"
	TransCauseTRANSCAUSEAPPDESCCHANGED TransCause = "TRANS_CAUSE_APP_DESC_CHANGED"

	// TransCauseTRANSCAUSEAPPFIXEDRESOURCESCHANGED captures enum value "TRANS_CAUSE_APP_FIXED_RESOURCES_CHANGED"
	TransCauseTRANSCAUSEAPPFIXEDRESOURCESCHANGED TransCause = "TRANS_CAUSE_APP_FIXED_RESOURCES_CHANGED"

	// TransCauseTRANSCAUSEAPPVNCMODECHANGED captures enum value "TRANS_CAUSE_APP_VNC_MODE_CHANGED"
	TransCauseTRANSCAUSEAPPVNCMODECHANGED TransCause = "TRANS_CAUSE_APP_VNC_MODE_CHANGED"

	// TransCauseTRANSCAUSEAPPVMMODECHANGED captures enum value "TRANS_CAUSE_APP_VM_MODE_CHANGED"
	TransCauseTRANSCAUSEAPPVMMODECHANGED TransCause = "TRANS_CAUSE_APP_VM_MODE_CHANGED"

	// TransCauseTRANSCAUSEINTERCAEXPIRING captures enum value "TRANS_CAUSE_INTER_CA_EXPIRING"
	TransCauseTRANSCAUSEINTERCAEXPIRING TransCause = "TRANS_CAUSE_INTER_CA_EXPIRING"

	// TransCauseTRANSCAUSEINTERCAEXPIRED captures enum value "TRANS_CAUSE_INTER_CA_EXPIRED"
	TransCauseTRANSCAUSEINTERCAEXPIRED TransCause = "TRANS_CAUSE_INTER_CA_EXPIRED"

	// TransCauseTRANSCAUSEDEVICECAEXPIRING captures enum value "TRANS_CAUSE_DEVICE_CA_EXPIRING"
	TransCauseTRANSCAUSEDEVICECAEXPIRING TransCause = "TRANS_CAUSE_DEVICE_CA_EXPIRING"

	// TransCauseTRANSCAUSEDEVICECAEXPIRED captures enum value "TRANS_CAUSE_DEVICE_CA_EXPIRED"
	TransCauseTRANSCAUSEDEVICECAEXPIRED TransCause = "TRANS_CAUSE_DEVICE_CA_EXPIRED"
)

func NewTransCause ¶

func NewTransCause(value TransCause) *TransCause

func (TransCause) ContextValidate ¶

func (m TransCause) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this trans cause based on context it is used

func (TransCause) Pointer ¶

func (m TransCause) Pointer() *TransCause

Pointer returns a pointer to a freshly-allocated TransCause.

func (TransCause) Validate ¶

func (m TransCause) Validate(formats strfmt.Registry) error

Validate validates this trans cause

type TransDetails ¶

type TransDetails struct {

	// Cause of the transition action
	Cause *TransCause `json:"cause,omitempty"`

	// Scope of the action (e.g. project, cluster, instance)
	Scope *ActionScope `json:"scope,omitempty"`

	// Urgency of the recommended action (ERROR - must take action immediately, WARN - must take action but not immediately, NOTICE - may take action
	Severity string `json:"severity,omitempty"`
}

TransDetails trans details

swagger:model TransDetails

func (*TransDetails) ContextValidate ¶

func (m *TransDetails) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this trans details based on the context it is used

func (*TransDetails) MarshalBinary ¶

func (m *TransDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransDetails) UnmarshalBinary ¶

func (m *TransDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransDetails) Validate ¶

func (m *TransDetails) Validate(formats strfmt.Registry) error

Validate validates this trans details

type TwinDetail ¶

type TwinDetail struct {

	// authentication type
	AuthenticationType string `json:"authenticationType,omitempty"`

	// cloud to device message count
	CloudToDeviceMessageCount int64 `json:"cloudToDeviceMessageCount,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// desired
	// Format: byte
	Desired strfmt.Base64 `json:"desired,omitempty"`

	// last desired status
	// Format: byte
	LastDesiredStatus strfmt.Base64 `json:"lastDesiredStatus,omitempty"`

	// module count
	ModuleCount int64 `json:"moduleCount,omitempty"`

	// reported
	// Format: byte
	Reported strfmt.Base64 `json:"reported,omitempty"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`

	// tags
	// Format: byte
	Tags strfmt.Base64 `json:"tags,omitempty"`
}

TwinDetail twin detail

swagger:model TwinDetail

func (*TwinDetail) ContextValidate ¶

func (m *TwinDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this twin detail based on context it is used

func (*TwinDetail) MarshalBinary ¶

func (m *TwinDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TwinDetail) UnmarshalBinary ¶

func (m *TwinDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TwinDetail) Validate ¶

func (m *TwinDetail) Validate(formats strfmt.Registry) error

Validate validates this twin detail

type UserDataTemplate ¶

type UserDataTemplate struct {

	// custom config
	CustomConfig *CustomConfig `json:"customConfig,omitempty"`
}

UserDataTemplate user data template

swagger:model UserDataTemplate

func (*UserDataTemplate) ContextValidate ¶

func (m *UserDataTemplate) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user data template based on the context it is used

func (*UserDataTemplate) MarshalBinary ¶

func (m *UserDataTemplate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserDataTemplate) UnmarshalBinary ¶

func (m *UserDataTemplate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserDataTemplate) Validate ¶

func (m *UserDataTemplate) Validate(formats strfmt.Registry) error

Validate validates this user data template

type UserEntitlement ¶ added in v1.0.2

type UserEntitlement struct {

	// limit
	Limit int32 `json:"limit,omitempty"`

	// usage
	Usage int64 `json:"usage,omitempty"`
}

UserEntitlement user entitlement

swagger:model UserEntitlement

func (*UserEntitlement) ContextValidate ¶ added in v1.0.2

func (m *UserEntitlement) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user entitlement based on context it is used

func (*UserEntitlement) MarshalBinary ¶ added in v1.0.2

func (m *UserEntitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserEntitlement) UnmarshalBinary ¶ added in v1.0.2

func (m *UserEntitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserEntitlement) Validate ¶ added in v1.0.2

func (m *UserEntitlement) Validate(formats strfmt.Registry) error

Validate validates this user entitlement

type UserReport ¶ added in v1.0.2

type UserReport struct {

	// Enterprise id for which we want to get summary report for all objects
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// Error while fetching report for enterprise, if any
	Error string `json:"error,omitempty"`

	// Enterprise user report
	UserSummaryReport *UserSummaryReport `json:"userSummaryReport,omitempty"`
}

UserReport Get user reports

Get summary reports of user objects for self/child enterprise

swagger:model UserReport

func (*UserReport) ContextValidate ¶ added in v1.0.2

func (m *UserReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user report based on the context it is used

func (*UserReport) MarshalBinary ¶ added in v1.0.2

func (m *UserReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserReport) UnmarshalBinary ¶ added in v1.0.2

func (m *UserReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserReport) Validate ¶ added in v1.0.2

func (m *UserReport) Validate(formats strfmt.Registry) error

Validate validates this user report

type UserRole ¶

type UserRole string

UserRole user role

swagger:model UserRole

const (

	// UserRoleUSERROLEUNSPECIFIED captures enum value "USER_ROLE_UNSPECIFIED"
	UserRoleUSERROLEUNSPECIFIED UserRole = "USER_ROLE_UNSPECIFIED"

	// UserRoleUSERROLESYSTEMDEFINED captures enum value "USER_ROLE_SYSTEM_DEFINED"
	UserRoleUSERROLESYSTEMDEFINED UserRole = "USER_ROLE_SYSTEM_DEFINED"

	// UserRoleUSERROLEUSERDEFINED captures enum value "USER_ROLE_USER_DEFINED"
	UserRoleUSERROLEUSERDEFINED UserRole = "USER_ROLE_USER_DEFINED"

	// UserRoleUSERROLECLUSTER captures enum value "USER_ROLE_CLUSTER"
	UserRoleUSERROLECLUSTER UserRole = "USER_ROLE_CLUSTER"
)

func NewUserRole ¶

func NewUserRole(value UserRole) *UserRole

func (UserRole) ContextValidate ¶

func (m UserRole) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user role based on context it is used

func (UserRole) Pointer ¶

func (m UserRole) Pointer() *UserRole

Pointer returns a pointer to a freshly-allocated UserRole.

func (UserRole) Validate ¶

func (m UserRole) Validate(formats strfmt.Registry) error

Validate validates this user role

type UserState ¶

type UserState string

UserState General well being of the user

swagger:model UserState

const (

	// UserStateUSERSTATEUNSPECIFIED captures enum value "USER_STATE_UNSPECIFIED"
	UserStateUSERSTATEUNSPECIFIED UserState = "USER_STATE_UNSPECIFIED"

	// UserStateUSERSTATECREATED captures enum value "USER_STATE_CREATED"
	UserStateUSERSTATECREATED UserState = "USER_STATE_CREATED"

	// UserStateUSERSTATEACTIVE captures enum value "USER_STATE_ACTIVE"
	UserStateUSERSTATEACTIVE UserState = "USER_STATE_ACTIVE"

	// UserStateUSERSTATEINACTIVE captures enum value "USER_STATE_INACTIVE"
	UserStateUSERSTATEINACTIVE UserState = "USER_STATE_INACTIVE"

	// UserStateUSERSTATESIGNEDUP captures enum value "USER_STATE_SIGNEDUP"
	UserStateUSERSTATESIGNEDUP UserState = "USER_STATE_SIGNEDUP"

	// UserStateUSERSTATESUSPENDED captures enum value "USER_STATE_SUSPENDED"
	UserStateUSERSTATESUSPENDED UserState = "USER_STATE_SUSPENDED"
)

func NewUserState ¶

func NewUserState(value UserState) *UserState

func (UserState) ContextValidate ¶

func (m UserState) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this user state based on context it is used

func (UserState) Pointer ¶

func (m UserState) Pointer() *UserState

Pointer returns a pointer to a freshly-allocated UserState.

func (UserState) Validate ¶

func (m UserState) Validate(formats strfmt.Registry) error

Validate validates this user state

type UserSummaryReport ¶ added in v1.0.2

type UserSummaryReport struct {

	// active users count
	ActiveUsersCount int64 `json:"activeUsersCount,omitempty"`

	// last loggedin user info
	LastLoggedinUserInfo *LastLoggedinUserInfo `json:"lastLoggedinUserInfo,omitempty"`

	// users
	Users int64 `json:"users,omitempty"`
}

UserSummaryReport user summary report

swagger:model UserSummaryReport

func (*UserSummaryReport) ContextValidate ¶ added in v1.0.2

func (m *UserSummaryReport) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user summary report based on the context it is used

func (*UserSummaryReport) MarshalBinary ¶ added in v1.0.2

func (m *UserSummaryReport) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserSummaryReport) UnmarshalBinary ¶ added in v1.0.2

func (m *UserSummaryReport) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserSummaryReport) Validate ¶ added in v1.0.2

func (m *UserSummaryReport) Validate(formats strfmt.Registry) error

Validate validates this user summary report

type UserUsagePerEnterprise ¶ added in v1.0.2

type UserUsagePerEnterprise struct {

	// Enterprise id
	// Read Only: true
	// Pattern: [0-9A-Za-z-]+
	EntpID string `json:"entpId,omitempty"`

	// User usage for that enterprise
	UserUsage string `json:"userUsage,omitempty"`
}

UserUsagePerEnterprise user usage per enterprise

swagger:model UserUsagePerEnterprise

func (*UserUsagePerEnterprise) ContextValidate ¶ added in v1.0.2

func (m *UserUsagePerEnterprise) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user usage per enterprise based on the context it is used

func (*UserUsagePerEnterprise) MarshalBinary ¶ added in v1.0.2

func (m *UserUsagePerEnterprise) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserUsagePerEnterprise) UnmarshalBinary ¶ added in v1.0.2

func (m *UserUsagePerEnterprise) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserUsagePerEnterprise) Validate ¶ added in v1.0.2

func (m *UserUsagePerEnterprise) Validate(formats strfmt.Registry) error

Validate validates this user usage per enterprise

type UserUsagePerEnterpriseList ¶ added in v1.0.2

type UserUsagePerEnterpriseList struct {

	// user usage per enterprise list
	UserUsagePerEntp []*UserUsagePerEnterprise `json:"userUsagePerEntp"`
}

UserUsagePerEnterpriseList user usage per enterprise list

swagger:model UserUsagePerEnterpriseList

func (*UserUsagePerEnterpriseList) ContextValidate ¶ added in v1.0.2

func (m *UserUsagePerEnterpriseList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this user usage per enterprise list based on the context it is used

func (*UserUsagePerEnterpriseList) MarshalBinary ¶ added in v1.0.2

func (m *UserUsagePerEnterpriseList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserUsagePerEnterpriseList) UnmarshalBinary ¶ added in v1.0.2

func (m *UserUsagePerEnterpriseList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserUsagePerEnterpriseList) Validate ¶ added in v1.0.2

func (m *UserUsagePerEnterpriseList) Validate(formats strfmt.Registry) error

Validate validates this user usage per enterprise list

type VCEStatus ¶ added in v1.0.2

type VCEStatus struct {

	// vce status detail
	VceStatusDetail *VCEStatusDetail `json:"vceStatusDetail,omitempty"`
}

VCEStatus status of object on velocloud.

swagger:model VCEStatus

func (*VCEStatus) ContextValidate ¶ added in v1.0.2

func (m *VCEStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this v c e status based on the context it is used

func (*VCEStatus) MarshalBinary ¶ added in v1.0.2

func (m *VCEStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VCEStatus) UnmarshalBinary ¶ added in v1.0.2

func (m *VCEStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VCEStatus) Validate ¶ added in v1.0.2

func (m *VCEStatus) Validate(formats strfmt.Registry) error

Validate validates this v c e status

type VCEStatusDetail ¶ added in v1.0.2

type VCEStatusDetail struct {

	// activation key
	ActivationKey string `json:"activationKey,omitempty"`

	// activation key expires
	// Format: date-time
	ActivationKeyExpires strfmt.DateTime `json:"activationKeyExpires,omitempty"`

	// activation state
	ActivationState string `json:"activationState,omitempty"`

	// activation time
	// Format: date-time
	ActivationTime strfmt.DateTime `json:"activationTime,omitempty"`

	// alerts enabled
	AlertsEnabled bool `json:"alertsEnabled,omitempty"`

	// bastion state
	BastionState string `json:"bastionState,omitempty"`

	// created
	// Format: date-time
	Created strfmt.DateTime `json:"created,omitempty"`

	// edge state
	EdgeState string `json:"edgeState,omitempty"`

	// edge state time
	// Format: date-time
	EdgeStateTime strfmt.DateTime `json:"edgeStateTime,omitempty"`

	// ha last contact
	// Format: date-time
	HaLastContact strfmt.DateTime `json:"haLastContact,omitempty"`

	// ha previous state
	HaPreviousState string `json:"haPreviousState,omitempty"`

	// ha serial number
	HaSerialNumber string `json:"haSerialNumber,omitempty"`

	// ha state
	HaState string `json:"haState,omitempty"`

	// is hub
	IsHub bool `json:"isHub,omitempty"`

	// is live
	IsLive bool `json:"isLive,omitempty"`

	// last contact
	// Format: date-time
	LastContact strfmt.DateTime `json:"lastContact,omitempty"`

	// lte region
	LteRegion string `json:"lteRegion,omitempty"`

	// modified
	// Format: date-time
	Modified strfmt.DateTime `json:"modified,omitempty"`

	// operator alerts enabled
	OperatorAlertsEnabled bool `json:"operatorAlertsEnabled,omitempty"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// service state
	ServiceState string `json:"serviceState,omitempty"`

	// service up since
	// Format: date-time
	ServiceUpSince strfmt.DateTime `json:"serviceUpSince,omitempty"`

	// status fetched at
	// Format: date-time
	StatusFetchedAt strfmt.DateTime `json:"statusFetchedAt,omitempty"`

	// system up since
	// Format: date-time
	SystemUpSince strfmt.DateTime `json:"systemUpSince,omitempty"`

	// vce edge Id
	VceEdgeID int64 `json:"vceEdgeId,omitempty"`

	// vce URL
	VceURL string `json:"vceURL,omitempty"`
}

VCEStatusDetail v c e status detail

swagger:model VCEStatusDetail

func (*VCEStatusDetail) ContextValidate ¶ added in v1.0.2

func (m *VCEStatusDetail) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this v c e status detail based on context it is used

func (*VCEStatusDetail) MarshalBinary ¶ added in v1.0.2

func (m *VCEStatusDetail) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VCEStatusDetail) UnmarshalBinary ¶ added in v1.0.2

func (m *VCEStatusDetail) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VCEStatusDetail) Validate ¶ added in v1.0.2

func (m *VCEStatusDetail) Validate(formats strfmt.Registry) error

Validate validates this v c e status detail

type VM ¶

type VM struct {

	// Enable CpuPinning
	CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"`

	// CPUs
	// Required: true
	Cpus *int64 `json:"cpus"`

	// Memory
	// Required: true
	Memory *int64 `json:"memory"`

	// Hardware Virtualization
	// Required: true
	Mode *HvMode `json:"mode"`

	// VNC
	// Required: true
	Vnc *bool `json:"vnc"`

	// VNC display
	// Read Only: true
	VncDisplay int64 `json:"vncDisplay,omitempty"`
}

VM vm detail

Virtual machine memory configuration ¶

swagger:model vm

func (*VM) ContextValidate ¶

func (m *VM) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vm based on the context it is used

func (*VM) MarshalBinary ¶

func (m *VM) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VM) UnmarshalBinary ¶

func (m *VM) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VM) Validate ¶

func (m *VM) Validate(formats strfmt.Registry) error

Validate validates this vm

type VMManifest ¶

type VMManifest struct {

	// Edge Application type
	//
	// UI map: N/A - not exposed to users
	AcKind *string `json:"acKind,omitempty"`

	// Manifest version
	//
	// UI map: N/A - not exposed to users
	AcVersion *string `json:"acVersion,omitempty"`

	// bundle type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// Annotations   types.Annotations    `json:"Annotations,omitempty"`
	// Labels        types.Labels         `json:"Labels,omitempty"`
	//
	// Template for Custom Configuration. Used for Cloud-Init
	Configuration *UserDataTemplate `json:"configuration,omitempty"`

	// Container specific details
	//
	// Create options direct the creation of the Docker container
	ContainerDetail *ContainerDetail `json:"containerDetail,omitempty"`

	// Enable CpuPinning
	CPUPinningEnabled bool `json:"cpuPinningEnabled,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Description of the application
	Desc *Details `json:"desc,omitempty"`

	// Description of the Edge application
	//
	// UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField
	// Pattern: [0-9A-Za-z-]+
	Description string `json:"description,omitempty"`

	// Display name or title of app manifest
	//
	// UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field
	DisplayName string `json:"displayName,omitempty"`

	// Enable VNC for the app
	//
	// UI map: AppEditPage:IdentityPane:VNC_Field, AppDetailsPage:IdentityPane:VNC_Field
	Enablevnc bool `json:"enablevnc,omitempty"`

	// Images used by the app
	//
	// UI map: AppEditPage:DrivesPane, AppDetailsPage:DrivesPane
	Images []*VMManifestImage `json:"images"`

	// I/O adapter settings
	//
	// UI map: AppEditPage:EnvironmentsPane, AppDetailsPage:EnvironmentsPane
	Interfaces []*Interface `json:"interfaces"`

	// Module specific details
	//
	// Azure module specific details like module twin, environment variable, routes
	Module *ModuleDetail `json:"module,omitempty"`

	// Unique id of app manifest, should match object name
	//
	// UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field
	Name string `json:"name,omitempty"`

	// Owner of the application
	Owner *Author `json:"owner,omitempty"`

	// permissions
	Permissions []Permission `json:"permissions"`

	// Hardware resource requirement (CPU, Memory, Storage) for the app
	//
	// UI map: AppEditPage:ResourcesPane, AppDetailsPage:ResourcesPane
	Resources []*Resource `json:"resources"`

	// VM mode for VM-based app
	//
	// UI map: AppEditPage:IdentityPane:VM_Mode_Field, AppDetailsPage:IdentityPane:VM_Mode_Field
	Vmmode *string `json:"vmmode,omitempty"`
}

VMManifest VM manifest

swagger:model VMManifest

func (*VMManifest) ContextValidate ¶

func (m *VMManifest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this VM manifest based on the context it is used

func (*VMManifest) MarshalBinary ¶

func (m *VMManifest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMManifest) UnmarshalBinary ¶

func (m *VMManifest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMManifest) Validate ¶

func (m *VMManifest) Validate(formats strfmt.Registry) error

Validate validates this VM manifest

type VMManifestImage ¶

type VMManifestImage struct {

	// UI map: AppEditPage:DrivesPane:Cleartext, AppDetailsPage:DrivesPane:ClearText_Field
	Cleartext bool `json:"cleartext,omitempty"`

	// enum: CDROM, HDD, NET
	//
	// UI map: AppEditPage:DrivesPane:Drive_Type_Field, AppDetailsPage:DrivesPane:Drive_Type_Field
	Drvtype string `json:"drvtype,omitempty"`

	// UI map: AppEditPage:DrivesPane:Ignorepurge, AppDetailsPage:DrivesPane:Ignorepurgee_Field
	Ignorepurge bool `json:"ignorepurge,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_Format_Field, AppDetailsPage:DrivesPane:Image_Format_Field
	Imageformat *ConfigFormat `json:"imageformat,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_ID_Field, AppDetailsPage:DrivesPane:Image_ID_Field
	Imageid string `json:"imageid,omitempty"`

	// UI map: AppEditPage:DrivesPane:Image_Name_Field, AppDetailsPage:DrivesPane:Image_Name_Field
	Imagename string `json:"imagename,omitempty"`

	// UI map: AppEditPage:DrivesPane:Max_Size_Field, AppDetailsPage:DrivesPane:Max_Size_Field
	Maxsize string `json:"maxsize,omitempty"`

	// UI map: AppEditPage:DrivesPane:Mountpath, AppDetailsPage:DrivesPane:Mountpath_Field
	Mountpath string `json:"mountpath,omitempty"`

	// Not used by ZedUI
	Params []*Param `json:"params"`

	// UI map: AppEditPage:DrivesPane:Preserve_Field, AppDetailsPage:DrivesPane:Preserve_Field
	Preserve bool `json:"preserve,omitempty"`

	// Not used by ZedUI
	Readonly bool `json:"readonly,omitempty"`

	// enum: Disk, Kernel, Initrd, RamDisk
	//
	// UI map: AppEditPage:DrivesPane:Target_Field, AppDetailsPage:DrivesPane:Target_Field
	Target string `json:"target,omitempty"`

	// UI map: AppEditPage:DrivesPane:Volume_Label, AppDetailsPage:DrivesPane:Volume_Label
	Volumelabel string `json:"volumelabel,omitempty"`
}

VMManifestImage VM manifest image

swagger:model VMManifestImage

func (*VMManifestImage) ContextValidate ¶

func (m *VMManifestImage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this VM manifest image based on the context it is used

func (*VMManifestImage) MarshalBinary ¶

func (m *VMManifestImage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMManifestImage) UnmarshalBinary ¶

func (m *VMManifestImage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMManifestImage) Validate ¶

func (m *VMManifestImage) Validate(formats strfmt.Registry) error

Validate validates this VM manifest image

type VMManifestSummary ¶

type VMManifestSummary struct {

	// Edge Application type
	//
	// UI map: N/A - not exposed to users
	AcKind *string `json:"acKind,omitempty"`

	// Manifest version
	//
	// UI map: N/A - not exposed to users
	AcVersion *string `json:"acVersion,omitempty"`

	// bundle type, eg: vm, container, module
	AppType *AppType `json:"appType,omitempty"`

	// type of deployment for the app, eg: azure, k3s, standalone
	DeploymentType *DeploymentType `json:"deploymentType,omitempty"`

	// Details of the Edge App
	Desc *Details `json:"desc,omitempty"`

	// Description of the Edge application
	//
	// UI map: AppDetailsPage:IdentityPane:DescriptionField, AppMarketplacePage:AppCard:DescriptionField
	// Pattern: [0-9A-Za-z-]+
	Description string `json:"description,omitempty"`

	// Display name or title of app manifest
	//
	// UI map: AppEditPage:IdentityPane:Title_Field, AppDetailsPage:IdentityPane:Title_Field
	DisplayName string `json:"displayName,omitempty"`

	// Module specific details
	//
	// Azure module specific details like module twin, environment variable, routes
	Module *ModuleSummary `json:"module,omitempty"`

	// Unique id of app manifest, should match object name
	//
	// UI map: AppEditPage:IdentityPane:Name_Field, AppDetailsPage:IdentityPane:Name_Field
	Name string `json:"name,omitempty"`
}

VMManifestSummary VMManifestSummary - App summary for list views

swagger:model VMManifestSummary

func (*VMManifestSummary) ContextValidate ¶

func (m *VMManifestSummary) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this VM manifest summary based on the context it is used

func (*VMManifestSummary) MarshalBinary ¶

func (m *VMManifestSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VMManifestSummary) UnmarshalBinary ¶

func (m *VMManifestSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VMManifestSummary) Validate ¶

func (m *VMManifestSummary) Validate(formats strfmt.Registry) error

Validate validates this VM manifest summary

type VariableFileEncoding ¶

type VariableFileEncoding string

VariableFileEncoding File content encoding type

- FILE_ENCODING_UNSPECIFIED: File content not encoded

  • FILE_ENCODING_BASE64: File content encoded in Base64

swagger:model VariableFileEncoding

const (

	// VariableFileEncodingFILEENCODINGUNSPECIFIED captures enum value "FILE_ENCODING_UNSPECIFIED"
	VariableFileEncodingFILEENCODINGUNSPECIFIED VariableFileEncoding = "FILE_ENCODING_UNSPECIFIED"

	// VariableFileEncodingFILEENCODINGBASE64 captures enum value "FILE_ENCODING_BASE64"
	VariableFileEncodingFILEENCODINGBASE64 VariableFileEncoding = "FILE_ENCODING_BASE64"
)

func NewVariableFileEncoding ¶

func NewVariableFileEncoding(value VariableFileEncoding) *VariableFileEncoding

func (VariableFileEncoding) ContextValidate ¶

func (m VariableFileEncoding) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable file encoding based on context it is used

func (VariableFileEncoding) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableFileEncoding.

func (VariableFileEncoding) Validate ¶

func (m VariableFileEncoding) Validate(formats strfmt.Registry) error

Validate validates this variable file encoding

type VariableGroupCondition ¶

type VariableGroupCondition struct {

	// name
	Name string `json:"name,omitempty"`

	// operator
	Operator *VariableGroupConditionOperator `json:"operator,omitempty"`

	// value
	Value string `json:"value,omitempty"`
}

VariableGroupCondition variable group condition

swagger:model VariableGroupCondition

func (*VariableGroupCondition) ContextValidate ¶

func (m *VariableGroupCondition) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this variable group condition based on the context it is used

func (*VariableGroupCondition) MarshalBinary ¶

func (m *VariableGroupCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VariableGroupCondition) UnmarshalBinary ¶

func (m *VariableGroupCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VariableGroupCondition) Validate ¶

func (m *VariableGroupCondition) Validate(formats strfmt.Registry) error

Validate validates this variable group condition

type VariableGroupConditionOperator ¶

type VariableGroupConditionOperator string

VariableGroupConditionOperator variable group condition operator

swagger:model VariableGroupConditionOperator

const (

	// VariableGroupConditionOperatorCONDITIONOPERATORUNSPECIFIED captures enum value "CONDITION_OPERATOR_UNSPECIFIED"
	VariableGroupConditionOperatorCONDITIONOPERATORUNSPECIFIED VariableGroupConditionOperator = "CONDITION_OPERATOR_UNSPECIFIED"

	// VariableGroupConditionOperatorCONDITIONOPERATOREQUALTO captures enum value "CONDITION_OPERATOR_EQUALTO"
	VariableGroupConditionOperatorCONDITIONOPERATOREQUALTO VariableGroupConditionOperator = "CONDITION_OPERATOR_EQUALTO"

	// VariableGroupConditionOperatorCONDITIONOPERATORNOTEQUALTO captures enum value "CONDITION_OPERATOR_NOTEQUALTO"
	VariableGroupConditionOperatorCONDITIONOPERATORNOTEQUALTO VariableGroupConditionOperator = "CONDITION_OPERATOR_NOTEQUALTO"
)

func (VariableGroupConditionOperator) ContextValidate ¶

func (m VariableGroupConditionOperator) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable group condition operator based on context it is used

func (VariableGroupConditionOperator) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableGroupConditionOperator.

func (VariableGroupConditionOperator) Validate ¶

Validate validates this variable group condition operator

type VariableGroupVariable ¶

type VariableGroupVariable struct {

	// Default value of the variable. (Optional. Default: <Default value based on type>)
	Default string `json:"default,omitempty"`

	// Encoding of file content. Applicable if format is VARIABLE_FORMAT_FILE
	Encode *VariableFileEncoding `json:"encode,omitempty"`

	// Format of the user variable. (Required)
	// Required: true
	Format *VariableVariableFormat `json:"format"`

	// Label for the variable (Required)
	// Required: true
	Label *string `json:"label"`

	// Max length of the value of the variable(Optional. Default: 1024)
	MaxLength string `json:"maxLength,omitempty"`

	// Name of the Variable (Required)
	// Required: true
	Name *string `json:"name"`

	// Key-Value pair of options. Applicable if format is VARIABLE_FORMAT_DROPDOWN
	Options []*VariableOptionVal `json:"options"`

	// process input
	ProcessInput string `json:"processInput,omitempty"`

	// This variable MUST be specified when creating an App Instance. (Optional. Default: False)
	// Required: true
	Required *bool `json:"required"`

	// type
	Type string `json:"type,omitempty"`

	// User-specified value of the variable.(Required if required is true. Optional otherwise)
	Value string `json:"value,omitempty"`
}

VariableGroupVariable Edge Application detail

Edge Application Artifact Details Example: {"format":"VARIABLE_FORMAT_TEXT","label":"Enter User Name","name":"username","required":"True"}

swagger:model VariableGroupVariable

func (*VariableGroupVariable) ContextValidate ¶

func (m *VariableGroupVariable) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this variable group variable based on the context it is used

func (*VariableGroupVariable) MarshalBinary ¶

func (m *VariableGroupVariable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VariableGroupVariable) UnmarshalBinary ¶

func (m *VariableGroupVariable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VariableGroupVariable) Validate ¶

func (m *VariableGroupVariable) Validate(formats strfmt.Registry) error

Validate validates this variable group variable

type VariableOptionVal ¶

type VariableOptionVal struct {

	// Display label of the key in User-Agent
	Label string `json:"label,omitempty"`

	// Value of the key to be used
	Value string `json:"value,omitempty"`
}

VariableOptionVal variable option val

swagger:model VariableOptionVal

func (*VariableOptionVal) ContextValidate ¶

func (m *VariableOptionVal) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable option val based on context it is used

func (*VariableOptionVal) MarshalBinary ¶

func (m *VariableOptionVal) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VariableOptionVal) UnmarshalBinary ¶

func (m *VariableOptionVal) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VariableOptionVal) Validate ¶

func (m *VariableOptionVal) Validate(formats strfmt.Registry) error

Validate validates this variable option val

type VariableVariableFormat ¶

type VariableVariableFormat string

VariableVariableFormat Custom variable format

- VARIABLE_FORMAT_UNSPECIFIED: Invalid format

  • VARIABLE_FORMAT_TEXT: Value in string format
  • VARIABLE_FORMAT_NUMBER: Value in integer format
  • VARIABLE_FORMAT_FILE: Value to be read from a file
  • VARIABLE_FORMAT_DROPDOWN: Value to be selected from dropdown of options
  • VARIABLE_FORMAT_BOOLEAN: Value in boolean format
  • VARIABLE_FORMAT_PASSWORD: Value in string to be masked in User-Agent

swagger:model VariableVariableFormat

const (

	// VariableVariableFormatVARIABLEFORMATUNSPECIFIED captures enum value "VARIABLE_FORMAT_UNSPECIFIED"
	VariableVariableFormatVARIABLEFORMATUNSPECIFIED VariableVariableFormat = "VARIABLE_FORMAT_UNSPECIFIED"

	// VariableVariableFormatVARIABLEFORMATTEXT captures enum value "VARIABLE_FORMAT_TEXT"
	VariableVariableFormatVARIABLEFORMATTEXT VariableVariableFormat = "VARIABLE_FORMAT_TEXT"

	// VariableVariableFormatVARIABLEFORMATNUMBER captures enum value "VARIABLE_FORMAT_NUMBER"
	VariableVariableFormatVARIABLEFORMATNUMBER VariableVariableFormat = "VARIABLE_FORMAT_NUMBER"

	// VariableVariableFormatVARIABLEFORMATFILE captures enum value "VARIABLE_FORMAT_FILE"
	VariableVariableFormatVARIABLEFORMATFILE VariableVariableFormat = "VARIABLE_FORMAT_FILE"

	// VariableVariableFormatVARIABLEFORMATDROPDOWN captures enum value "VARIABLE_FORMAT_DROPDOWN"
	VariableVariableFormatVARIABLEFORMATDROPDOWN VariableVariableFormat = "VARIABLE_FORMAT_DROPDOWN"

	// VariableVariableFormatVARIABLEFORMATBOOLEAN captures enum value "VARIABLE_FORMAT_BOOLEAN"
	VariableVariableFormatVARIABLEFORMATBOOLEAN VariableVariableFormat = "VARIABLE_FORMAT_BOOLEAN"

	// VariableVariableFormatVARIABLEFORMATPASSWORD captures enum value "VARIABLE_FORMAT_PASSWORD"
	VariableVariableFormatVARIABLEFORMATPASSWORD VariableVariableFormat = "VARIABLE_FORMAT_PASSWORD"
)

func NewVariableVariableFormat ¶

func NewVariableVariableFormat(value VariableVariableFormat) *VariableVariableFormat

func (VariableVariableFormat) ContextValidate ¶

func (m VariableVariableFormat) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this variable variable format based on context it is used

func (VariableVariableFormat) Pointer ¶

Pointer returns a pointer to a freshly-allocated VariableVariableFormat.

func (VariableVariableFormat) Validate ¶

func (m VariableVariableFormat) Validate(formats strfmt.Registry) error

Validate validates this variable variable format

type VifInfo ¶

type VifInfo struct {

	// app name
	AppName string `json:"appName,omitempty"`

	// mac address
	MacAddress string `json:"macAddress,omitempty"`

	// vif name
	VifName string `json:"vifName,omitempty"`
}

VifInfo vif info

swagger:model VifInfo

func (*VifInfo) ContextValidate ¶

func (m *VifInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vif info based on context it is used

func (*VifInfo) MarshalBinary ¶

func (m *VifInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VifInfo) UnmarshalBinary ¶

func (m *VifInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VifInfo) Validate ¶

func (m *VifInfo) Validate(formats strfmt.Registry) error

Validate validates this vif info

type VolInstConfig ¶

type VolInstConfig struct {

	// Access mode
	Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"`

	// flag to keep the contents of the volume unencrypted (in clear text)
	Cleartext bool `json:"cleartext,omitempty"`

	// content tree ID
	ContentTreeID string `json:"contentTreeId,omitempty"`

	// Detailed description of the volume instance.
	// Max Length: 256
	Description string `json:"description,omitempty"`

	// id of the device on which volume instance is created
	DeviceID string `json:"deviceId,omitempty"`

	// System defined universally unique Id of the volume instance.
	// Read Only: true
	// Pattern: [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}
	ID string `json:"id,omitempty"`

	// name of the image
	Image string `json:"image,omitempty"`

	// flag to create implicit volumes
	Implicit string `json:"implicit,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// flag to enable the volume to be attached to multiple app instances
	Multiattach bool `json:"multiattach,omitempty"`

	// User defined name of the volume instance, unique across the enterprise. Once object is created, name can’t be changed.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9][a-zA-Z0-9_.-]+
	Name string `json:"name,omitempty"`

	// id of the project in which the volume instance is created
	ProjectID string `json:"projectId,omitempty"`

	// Purge Counter information
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// system defined Revision info of the object
	// Read Only: true
	Revision *ObjectRevision `json:"revision,omitempty"`

	// size of volume
	SizeBytes uint64 `json:"sizeBytes,omitempty"`

	// Tags are name/value pairs that enable you to categorize resources. Tag names are case insensitive with max_length 512 and min_length 3. Tag values are case sensitive with max_length 256 and min_length 3.
	Tags map[string]string `json:"tags,omitempty"`

	// User defined title of the volume instance. Title can be changed at any time.
	// Max Length: 256
	// Min Length: 3
	// Pattern: [a-zA-Z0-9]+[a-zA-Z0-9!-~ ]+
	Title string `json:"title,omitempty"`

	// type of Volume Instance
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstConfig vol inst config

swagger:model VolInstConfig

func (*VolInstConfig) ContextValidate ¶

func (m *VolInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst config based on the context it is used

func (*VolInstConfig) MarshalBinary ¶

func (m *VolInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstConfig) UnmarshalBinary ¶

func (m *VolInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstConfig) Validate ¶

func (m *VolInstConfig) Validate(formats strfmt.Registry) error

Validate validates this vol inst config

type VolInstFilter ¶

type VolInstFilter struct {

	// app inst name
	AppInstName string `json:"appInstName,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// label name
	LabelName string `json:"labelName,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstFilter vol inst filter

swagger:model VolInstFilter

func (*VolInstFilter) ContextValidate ¶

func (m *VolInstFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst filter based on the context it is used

func (*VolInstFilter) MarshalBinary ¶

func (m *VolInstFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstFilter) UnmarshalBinary ¶

func (m *VolInstFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstFilter) Validate ¶

func (m *VolInstFilter) Validate(formats strfmt.Registry) error

Validate validates this vol inst filter

type VolInstList ¶

type VolInstList struct {

	// cfg list
	CfgList []*VolInstConfig `json:"cfgList"`

	// list
	List []*VolInstShortConfig `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by type
	SummaryByType *Summary `json:"summaryByType,omitempty"`
}

VolInstList vol inst list

swagger:model VolInstList

func (*VolInstList) ContextValidate ¶

func (m *VolInstList) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst list based on the context it is used

func (*VolInstList) MarshalBinary ¶

func (m *VolInstList) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstList) UnmarshalBinary ¶

func (m *VolInstList) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstList) Validate ¶

func (m *VolInstList) Validate(formats strfmt.Registry) error

Validate validates this vol inst list

type VolInstResource ¶

type VolInstResource struct {

	// cur size bytes
	CurSizeBytes string `json:"curSizeBytes,omitempty"`

	// max size bytes
	MaxSizeBytes string `json:"maxSizeBytes,omitempty"`
}

VolInstResource vol inst resource

swagger:model VolInstResource

func (*VolInstResource) ContextValidate ¶

func (m *VolInstResource) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this vol inst resource based on context it is used

func (*VolInstResource) MarshalBinary ¶

func (m *VolInstResource) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstResource) UnmarshalBinary ¶

func (m *VolInstResource) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstResource) Validate ¶

func (m *VolInstResource) Validate(formats strfmt.Registry) error

Validate validates this vol inst resource

type VolInstShortConfig ¶

type VolInstShortConfig struct {

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstShortConfig vol inst short config

swagger:model VolInstShortConfig

func (*VolInstShortConfig) ContextValidate ¶

func (m *VolInstShortConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst short config based on the context it is used

func (*VolInstShortConfig) MarshalBinary ¶

func (m *VolInstShortConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstShortConfig) UnmarshalBinary ¶

func (m *VolInstShortConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstShortConfig) Validate ¶

func (m *VolInstShortConfig) Validate(formats strfmt.Registry) error

Validate validates this vol inst short config

type VolInstStatusFilter ¶

type VolInstStatusFilter struct {

	// app inst name
	AppInstName string `json:"appInstName,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device name pattern
	DeviceNamePattern string `json:"deviceNamePattern,omitempty"`

	// image name
	ImageName string `json:"imageName,omitempty"`

	// name pattern
	NamePattern string `json:"namePattern,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// project name pattern
	ProjectNamePattern string `json:"projectNamePattern,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstStatusFilter vol inst status filter

swagger:model VolInstStatusFilter

func (*VolInstStatusFilter) ContextValidate ¶

func (m *VolInstStatusFilter) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst status filter based on the context it is used

func (*VolInstStatusFilter) MarshalBinary ¶

func (m *VolInstStatusFilter) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstStatusFilter) UnmarshalBinary ¶

func (m *VolInstStatusFilter) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstStatusFilter) Validate ¶

func (m *VolInstStatusFilter) Validate(formats strfmt.Registry) error

Validate validates this vol inst status filter

type VolInstStatusListMsg ¶

type VolInstStatusListMsg struct {

	// list
	List []*VolInstStatusSummaryMsg `json:"list"`

	// next
	Next *Cursor `json:"next,omitempty"`

	// summary by state
	SummaryByState *Summary `json:"summaryByState,omitempty"`

	// summary by type
	SummaryByType *Summary `json:"summaryByType,omitempty"`

	// total count
	TotalCount int64 `json:"totalCount,omitempty"`
}

VolInstStatusListMsg vol inst status list msg

swagger:model VolInstStatusListMsg

func (*VolInstStatusListMsg) ContextValidate ¶

func (m *VolInstStatusListMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst status list msg based on the context it is used

func (*VolInstStatusListMsg) MarshalBinary ¶

func (m *VolInstStatusListMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstStatusListMsg) UnmarshalBinary ¶

func (m *VolInstStatusListMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstStatusListMsg) Validate ¶

func (m *VolInstStatusListMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status list msg

type VolInstStatusMsg ¶

type VolInstStatusMsg struct {

	// blobs
	Blobs []*BlobInfo `json:"blobs"`

	// device on which this volume is located
	DeviceID string `json:"deviceId,omitempty"`

	// device state
	DeviceState *SWState `json:"deviceState,omitempty"`

	// err info
	ErrInfo []*DeviceError `json:"errInfo"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// progress percentage
	ProgressPercentage int64 `json:"progressPercentage,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// raw status
	RawStatus string `json:"rawStatus,omitempty"`

	// resource
	Resource *VolInstResource `json:"resource,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// sha256
	Sha256 string `json:"sha256,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`

	// usage
	Usage *DeviceObjectUsageInfo `json:"usage,omitempty"`
}

VolInstStatusMsg vol inst status msg

swagger:model VolInstStatusMsg

func (*VolInstStatusMsg) ContextValidate ¶

func (m *VolInstStatusMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst status msg based on the context it is used

func (*VolInstStatusMsg) MarshalBinary ¶

func (m *VolInstStatusMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstStatusMsg) UnmarshalBinary ¶

func (m *VolInstStatusMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstStatusMsg) Validate ¶

func (m *VolInstStatusMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status msg

type VolInstStatusSummaryMsg ¶

type VolInstStatusSummaryMsg struct {

	// create time
	// Format: date-time
	CreateTime strfmt.DateTime `json:"createTime,omitempty"`

	// device Id
	DeviceID string `json:"deviceId,omitempty"`

	// device name
	DeviceName string `json:"deviceName,omitempty"`

	// device state
	DeviceState *SWState `json:"deviceState,omitempty"`

	// id
	ID string `json:"id,omitempty"`

	// name
	Name string `json:"name,omitempty"`

	// progress percentage
	ProgressPercentage int64 `json:"progressPercentage,omitempty"`

	// project Id
	ProjectID string `json:"projectId,omitempty"`

	// project name
	ProjectName string `json:"projectName,omitempty"`

	// run state
	RunState *RunState `json:"runState,omitempty"`

	// type
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolInstStatusSummaryMsg vol inst status summary msg

swagger:model VolInstStatusSummaryMsg

func (*VolInstStatusSummaryMsg) ContextValidate ¶

func (m *VolInstStatusSummaryMsg) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this vol inst status summary msg based on the context it is used

func (*VolInstStatusSummaryMsg) MarshalBinary ¶

func (m *VolInstStatusSummaryMsg) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolInstStatusSummaryMsg) UnmarshalBinary ¶

func (m *VolInstStatusSummaryMsg) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolInstStatusSummaryMsg) Validate ¶

func (m *VolInstStatusSummaryMsg) Validate(formats strfmt.Registry) error

Validate validates this vol inst status summary msg

type VolumeInstConfig ¶ added in v1.0.2

type VolumeInstConfig struct {

	// Access mode
	Accessmode *VolumeInstanceAccessMode `json:"accessmode,omitempty"`

	// user defined key-value pairs of a block storage, will be used for targeting content tree
	BlockStorageTags map[string]string `json:"blockStorageTags,omitempty"`

	// flag to keep the contents of the volume unencrypted (in clear text)
	Cleartext bool `json:"cleartext,omitempty"`

	// content tree ID
	ContentTreeID string `json:"contentTreeId,omitempty"`

	// user defined key-value pairs of a content tree that will be used for targeting by block storage
	ContentTreeTargetCondition map[string]string `json:"contentTreeTargetCondition,omitempty"`

	// name of the image
	Image string `json:"image,omitempty"`

	// label
	Label string `json:"label,omitempty"`

	// flag to enable the volume to be attached to multiple app instances
	Multiattach bool `json:"multiattach,omitempty"`

	// Purge Counter information
	Purge *ZedCloudOpsCmd `json:"purge,omitempty"`

	// size of volume
	SizeBytes uint64 `json:"sizeBytes,omitempty"`

	// type of Volume Instance
	Type *VolumeInstanceType `json:"type,omitempty"`
}

VolumeInstConfig volume inst config

swagger:model VolumeInstConfig

func (*VolumeInstConfig) ContextValidate ¶ added in v1.0.2

func (m *VolumeInstConfig) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume inst config based on the context it is used

func (*VolumeInstConfig) MarshalBinary ¶ added in v1.0.2

func (m *VolumeInstConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInstConfig) UnmarshalBinary ¶ added in v1.0.2

func (m *VolumeInstConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInstConfig) Validate ¶ added in v1.0.2

func (m *VolumeInstConfig) Validate(formats strfmt.Registry) error

Validate validates this volume inst config

type VolumeInstPolicy ¶ added in v1.0.2

type VolumeInstPolicy struct {

	// all the required metadata for a policy like id, name, different types of tags
	MetaData *PolicyCommon `json:"metaData,omitempty"`

	// volume instance config details
	VolInstConfig *VolumeInstConfig `json:"volInstConfig,omitempty"`
}

VolumeInstPolicy volume inst policy

swagger:model VolumeInstPolicy

func (*VolumeInstPolicy) ContextValidate ¶ added in v1.0.2

func (m *VolumeInstPolicy) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this volume inst policy based on the context it is used

func (*VolumeInstPolicy) MarshalBinary ¶ added in v1.0.2

func (m *VolumeInstPolicy) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*VolumeInstPolicy) UnmarshalBinary ¶ added in v1.0.2

func (m *VolumeInstPolicy) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*VolumeInstPolicy) Validate ¶ added in v1.0.2

func (m *VolumeInstPolicy) Validate(formats strfmt.Registry) error

Validate validates this volume inst policy

type VolumeInstanceAccessMode ¶

type VolumeInstanceAccessMode string

VolumeInstanceAccessMode volume instance access mode

swagger:model VolumeInstanceAccessMode

const (

	// VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEINVALID captures enum value "VOLUME_INSTANCE_ACCESS_MODE_INVALID"
	VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEINVALID VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_INVALID"

	// VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADWRITE captures enum value "VOLUME_INSTANCE_ACCESS_MODE_READWRITE"
	VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADWRITE VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_READWRITE"

	// VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADONLY captures enum value "VOLUME_INSTANCE_ACCESS_MODE_READONLY"
	VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEREADONLY VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_READONLY"

	// VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEMULTIREADSINGLEWRITE captures enum value "VOLUME_INSTANCE_ACCESS_MODE_MULTIREAD_SINGLEWRITE"
	VolumeInstanceAccessModeVOLUMEINSTANCEACCESSMODEMULTIREADSINGLEWRITE VolumeInstanceAccessMode = "VOLUME_INSTANCE_ACCESS_MODE_MULTIREAD_SINGLEWRITE"
)

func (VolumeInstanceAccessMode) ContextValidate ¶

func (m VolumeInstanceAccessMode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume instance access mode based on context it is used

func (VolumeInstanceAccessMode) Pointer ¶

Pointer returns a pointer to a freshly-allocated VolumeInstanceAccessMode.

func (VolumeInstanceAccessMode) Validate ¶

func (m VolumeInstanceAccessMode) Validate(formats strfmt.Registry) error

Validate validates this volume instance access mode

type VolumeInstanceType ¶

type VolumeInstanceType string

VolumeInstanceType volume instance type

swagger:model VolumeInstanceType

const (

	// VolumeInstanceTypeVOLUMEINSTANCETYPEUNSPECIFIED captures enum value "VOLUME_INSTANCE_TYPE_UNSPECIFIED"
	VolumeInstanceTypeVOLUMEINSTANCETYPEUNSPECIFIED VolumeInstanceType = "VOLUME_INSTANCE_TYPE_UNSPECIFIED"

	// VolumeInstanceTypeVOLUMEINSTANCETYPEEMPTYDIR captures enum value "VOLUME_INSTANCE_TYPE_EMPTYDIR"
	VolumeInstanceTypeVOLUMEINSTANCETYPEEMPTYDIR VolumeInstanceType = "VOLUME_INSTANCE_TYPE_EMPTYDIR"

	// VolumeInstanceTypeVOLUMEINSTANCETYPEBLOCKSTORAGE captures enum value "VOLUME_INSTANCE_TYPE_BLOCKSTORAGE"
	VolumeInstanceTypeVOLUMEINSTANCETYPEBLOCKSTORAGE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_BLOCKSTORAGE"

	// VolumeInstanceTypeVOLUMEINSTANCETYPEHOSTFS captures enum value "VOLUME_INSTANCE_TYPE_HOSTFS"
	VolumeInstanceTypeVOLUMEINSTANCETYPEHOSTFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_HOSTFS"

	// VolumeInstanceTypeVOLUMEINSTANCETYPETMPFS captures enum value "VOLUME_INSTANCE_TYPE_TMPFS"
	VolumeInstanceTypeVOLUMEINSTANCETYPETMPFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_TMPFS"

	// VolumeInstanceTypeVOLUMEINSTANCETYPESECRET captures enum value "VOLUME_INSTANCE_TYPE_SECRET"
	VolumeInstanceTypeVOLUMEINSTANCETYPESECRET VolumeInstanceType = "VOLUME_INSTANCE_TYPE_SECRET"

	// VolumeInstanceTypeVOLUMEINSTANCETYPENFS captures enum value "VOLUME_INSTANCE_TYPE_NFS"
	VolumeInstanceTypeVOLUMEINSTANCETYPENFS VolumeInstanceType = "VOLUME_INSTANCE_TYPE_NFS"

	// VolumeInstanceTypeVOLUMEINSTANCETYPEAWSBLOCKSTORAGE captures enum value "VOLUME_INSTANCE_TYPE_AWS_BLOCK_STORAGE"
	VolumeInstanceTypeVOLUMEINSTANCETYPEAWSBLOCKSTORAGE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_AWS_BLOCK_STORAGE"

	// VolumeInstanceTypeVOLUMEINSTANCETYPECONTENTTREE captures enum value "VOLUME_INSTANCE_TYPE_CONTENT_TREE"
	VolumeInstanceTypeVOLUMEINSTANCETYPECONTENTTREE VolumeInstanceType = "VOLUME_INSTANCE_TYPE_CONTENT_TREE"
)

func NewVolumeInstanceType ¶

func NewVolumeInstanceType(value VolumeInstanceType) *VolumeInstanceType

func (VolumeInstanceType) ContextValidate ¶

func (m VolumeInstanceType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this volume instance type based on context it is used

func (VolumeInstanceType) Pointer ¶

Pointer returns a pointer to a freshly-allocated VolumeInstanceType.

func (VolumeInstanceType) Validate ¶

func (m VolumeInstanceType) Validate(formats strfmt.Registry) error

Validate validates this volume instance type

type WifiConfigcryptoblock ¶

type WifiConfigcryptoblock struct {

	// identity
	Identity string `json:"identity,omitempty"`

	// password
	Password string `json:"password,omitempty"`
}

WifiConfigcryptoblock wifi configcryptoblock

swagger:model WifiConfigcryptoblock

func (*WifiConfigcryptoblock) ContextValidate ¶

func (m *WifiConfigcryptoblock) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this wifi configcryptoblock based on context it is used

func (*WifiConfigcryptoblock) MarshalBinary ¶

func (m *WifiConfigcryptoblock) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WifiConfigcryptoblock) UnmarshalBinary ¶

func (m *WifiConfigcryptoblock) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WifiConfigcryptoblock) Validate ¶

func (m *WifiConfigcryptoblock) Validate(formats strfmt.Registry) error

Validate validates this wifi configcryptoblock

type ZManufacturerInfo ¶

type ZManufacturerInfo struct {

	// bios release date
	BiosReleaseDate string `json:"biosReleaseDate,omitempty"`

	// bios vendor
	BiosVendor string `json:"biosVendor,omitempty"`

	// bios version
	BiosVersion string `json:"biosVersion,omitempty"`

	// compatible
	Compatible string `json:"compatible,omitempty"`

	// endorsement key
	EndorsementKey string `json:"endorsementKey,omitempty"`

	// h s m info
	HSMInfo string `json:"hSMInfo,omitempty"`

	// h s m status
	HSMStatus *DeviceHWSecurityModuleStatus `json:"hSMStatus,omitempty"`

	// manufacturer
	Manufacturer string `json:"manufacturer,omitempty"`

	// product name
	ProductName string `json:"productName,omitempty"`

	// serial number
	SerialNumber string `json:"serialNumber,omitempty"`

	// uuid
	UUID string `json:"uuid,omitempty"`

	// version
	Version string `json:"version,omitempty"`
}

ZManufacturerInfo z manufacturer info

swagger:model ZManufacturerInfo

func (*ZManufacturerInfo) ContextValidate ¶

func (m *ZManufacturerInfo) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this z manufacturer info based on the context it is used

func (*ZManufacturerInfo) MarshalBinary ¶

func (m *ZManufacturerInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZManufacturerInfo) UnmarshalBinary ¶

func (m *ZManufacturerInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZManufacturerInfo) Validate ¶

func (m *ZManufacturerInfo) Validate(formats strfmt.Registry) error

Validate validates this z manufacturer info

type ZcOpsStatus ¶

type ZcOpsStatus string

ZcOpsStatus ZedCloud internal operation status

- OPS_STATUS_PENDING: In rare cases, system may not start operation when it was requested. Client will be notified that operation is PENDING

  • OPS_STATUS_ONGOING: system will start the operation, but at the time response was generated, operation is still ONGOING.
  • OPS_STATUS_COMPLETE: Even if the result of the operations may result in failure, but the OpsStatus will marked COMPLETE for almost all cases.

swagger:model ZcOpsStatus

const (

	// ZcOpsStatusOPSSTATUSUNSPECIFIED captures enum value "OPS_STATUS_UNSPECIFIED"
	ZcOpsStatusOPSSTATUSUNSPECIFIED ZcOpsStatus = "OPS_STATUS_UNSPECIFIED"

	// ZcOpsStatusOPSSTATUSPENDING captures enum value "OPS_STATUS_PENDING"
	ZcOpsStatusOPSSTATUSPENDING ZcOpsStatus = "OPS_STATUS_PENDING"

	// ZcOpsStatusOPSSTATUSONGOING captures enum value "OPS_STATUS_ONGOING"
	ZcOpsStatusOPSSTATUSONGOING ZcOpsStatus = "OPS_STATUS_ONGOING"

	// ZcOpsStatusOPSSTATUSCOMPLETE captures enum value "OPS_STATUS_COMPLETE"
	ZcOpsStatusOPSSTATUSCOMPLETE ZcOpsStatus = "OPS_STATUS_COMPLETE"
)

func NewZcOpsStatus ¶

func NewZcOpsStatus(value ZcOpsStatus) *ZcOpsStatus

func (ZcOpsStatus) ContextValidate ¶

func (m ZcOpsStatus) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zc ops status based on context it is used

func (ZcOpsStatus) Pointer ¶

func (m ZcOpsStatus) Pointer() *ZcOpsStatus

Pointer returns a pointer to a freshly-allocated ZcOpsStatus.

func (ZcOpsStatus) Validate ¶

func (m ZcOpsStatus) Validate(formats strfmt.Registry) error

Validate validates this zc ops status

type ZcOpsType ¶

type ZcOpsType string

ZcOpsType ZedCloud internal operation type

swagger:model ZcOpsType

const (

	// ZcOpsTypeOPSTYPEUNSPECIFIED captures enum value "OPS_TYPE_UNSPECIFIED"
	ZcOpsTypeOPSTYPEUNSPECIFIED ZcOpsType = "OPS_TYPE_UNSPECIFIED"

	// ZcOpsTypeOPSTYPEREAD captures enum value "OPS_TYPE_READ"
	ZcOpsTypeOPSTYPEREAD ZcOpsType = "OPS_TYPE_READ"

	// ZcOpsTypeOPSTYPEDELETE captures enum value "OPS_TYPE_DELETE"
	ZcOpsTypeOPSTYPEDELETE ZcOpsType = "OPS_TYPE_DELETE"

	// ZcOpsTypeOPSTYPECREATE captures enum value "OPS_TYPE_CREATE"
	ZcOpsTypeOPSTYPECREATE ZcOpsType = "OPS_TYPE_CREATE"

	// ZcOpsTypeOPSTYPEUPDATE captures enum value "OPS_TYPE_UPDATE"
	ZcOpsTypeOPSTYPEUPDATE ZcOpsType = "OPS_TYPE_UPDATE"

	// ZcOpsTypeOPSTYPELIST captures enum value "OPS_TYPE_LIST"
	ZcOpsTypeOPSTYPELIST ZcOpsType = "OPS_TYPE_LIST"
)

func NewZcOpsType ¶

func NewZcOpsType(value ZcOpsType) *ZcOpsType

func (ZcOpsType) ContextValidate ¶

func (m ZcOpsType) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zc ops type based on context it is used

func (ZcOpsType) Pointer ¶

func (m ZcOpsType) Pointer() *ZcOpsType

Pointer returns a pointer to a freshly-allocated ZcOpsType.

func (ZcOpsType) Validate ¶

func (m ZcOpsType) Validate(formats strfmt.Registry) error

Validate validates this zc ops type

type ZedCloudOpsCmd ¶

type ZedCloudOpsCmd struct {

	// counter
	Counter int64 `json:"counter,omitempty"`

	// Timestamp: Operational time
	OpsTime interface{} `json:"opsTime,omitempty"`
}

ZedCloudOpsCmd Zed cloud Operation command

Zed cloud Operation command ¶

swagger:model ZedCloudOpsCmd

func (*ZedCloudOpsCmd) ContextValidate ¶

func (m *ZedCloudOpsCmd) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zed cloud ops cmd based on context it is used

func (*ZedCloudOpsCmd) MarshalBinary ¶

func (m *ZedCloudOpsCmd) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZedCloudOpsCmd) UnmarshalBinary ¶

func (m *ZedCloudOpsCmd) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZedCloudOpsCmd) Validate ¶

func (m *ZedCloudOpsCmd) Validate(formats strfmt.Registry) error

Validate validates this zed cloud ops cmd

type ZedcloudCounters ¶

type ZedcloudCounters struct {

	// Failures
	Failures uint64 `json:"failures,omitempty"`

	// ifName
	IfName string `json:"ifName,omitempty"`

	// Timestamp of last failure
	LastFailure interface{} `json:"lastFailure,omitempty"`

	// Timestamp of last success
	LastSuccess interface{} `json:"lastSuccess,omitempty"`

	// Success
	Success uint64 `json:"success,omitempty"`
}

ZedcloudCounters ZedcloudCounters is used to store the Zedcloud Stats and Counters

ZedcloudCounters is used to store the Zedcloud Stats and Counters ¶

swagger:model ZedcloudCounters

func (*ZedcloudCounters) ContextValidate ¶

func (m *ZedcloudCounters) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zedcloud counters based on context it is used

func (*ZedcloudCounters) MarshalBinary ¶

func (m *ZedcloudCounters) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZedcloudCounters) UnmarshalBinary ¶

func (m *ZedcloudCounters) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZedcloudCounters) Validate ¶

func (m *ZedcloudCounters) Validate(formats strfmt.Registry) error

Validate validates this zedcloud counters

type ZsrvError ¶

type ZsrvError struct {

	// Field captures string description of details
	Details string `json:"details,omitempty"`

	// Enumrated error code, describes more granular numerical
	// value than just httpStatus
	Ec *ZsrvErrorCode `json:"ec,omitempty"`

	// Ignore: Internal field only
	Location string `json:"location,omitempty"`
}

ZsrvError zsrv error

swagger:model ZsrvError

func (*ZsrvError) ContextValidate ¶

func (m *ZsrvError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zsrv error based on the context it is used

func (*ZsrvError) MarshalBinary ¶

func (m *ZsrvError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZsrvError) UnmarshalBinary ¶

func (m *ZsrvError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZsrvError) Validate ¶

func (m *ZsrvError) Validate(formats strfmt.Registry) error

Validate validates this zsrv error

type ZsrvErrorCode ¶

type ZsrvErrorCode string

ZsrvErrorCode ZedCould internal error code

- zMsgErrorNone: common validation errors

  • IncompleteData: message had fields that weren't filled in
  • InvalidData: message contained the field that wasn't expected
  • FunctionUnsupported: this feature unavailable on this version of device
  • InvalidFieldFormat: message contained the field that wasn't correctly formatted
  • JsonFmtError: Marshal / Unmarshal errors
  • DataBaseConnection: generic DB error

swagger:model ZsrvErrorCode

const (

	// ZsrvErrorCodeZMsgErrorNone captures enum value "zMsgErrorNone"
	ZsrvErrorCodeZMsgErrorNone ZsrvErrorCode = "zMsgErrorNone"

	// ZsrvErrorCodeZMsgSucess captures enum value "zMsgSucess"
	ZsrvErrorCodeZMsgSucess ZsrvErrorCode = "zMsgSucess"

	// ZsrvErrorCodeNotFound captures enum value "NotFound"
	ZsrvErrorCodeNotFound ZsrvErrorCode = "NotFound"

	// ZsrvErrorCodeAlreadyExists captures enum value "AlreadyExists"
	ZsrvErrorCodeAlreadyExists ZsrvErrorCode = "AlreadyExists"

	// ZsrvErrorCodeVersionMismatch captures enum value "VersionMismatch"
	ZsrvErrorCodeVersionMismatch ZsrvErrorCode = "VersionMismatch"

	// ZsrvErrorCodeRangeError captures enum value "RangeError"
	ZsrvErrorCodeRangeError ZsrvErrorCode = "RangeError"

	// ZsrvErrorCodeLargeResult captures enum value "LargeResult"
	ZsrvErrorCodeLargeResult ZsrvErrorCode = "LargeResult"

	// ZsrvErrorCodeIncompleteData captures enum value "IncompleteData"
	ZsrvErrorCodeIncompleteData ZsrvErrorCode = "IncompleteData"

	// ZsrvErrorCodeInvalidData captures enum value "InvalidData"
	ZsrvErrorCodeInvalidData ZsrvErrorCode = "InvalidData"

	// ZsrvErrorCodeFunctionUnsupported captures enum value "FunctionUnsupported"
	ZsrvErrorCodeFunctionUnsupported ZsrvErrorCode = "FunctionUnsupported"

	// ZsrvErrorCodeNoMemory captures enum value "NoMemory"
	ZsrvErrorCodeNoMemory ZsrvErrorCode = "NoMemory"

	// ZsrvErrorCodeSendFailure captures enum value "SendFailure"
	ZsrvErrorCodeSendFailure ZsrvErrorCode = "SendFailure"

	// ZsrvErrorCodeTimeout captures enum value "Timeout"
	ZsrvErrorCodeTimeout ZsrvErrorCode = "Timeout"

	// ZsrvErrorCodeBadReqBody captures enum value "BadReqBody"
	ZsrvErrorCodeBadReqBody ZsrvErrorCode = "BadReqBody"

	// ZsrvErrorCodeBadReqParam captures enum value "BadReqParam"
	ZsrvErrorCodeBadReqParam ZsrvErrorCode = "BadReqParam"

	// ZsrvErrorCodeInvalidFieldFormat captures enum value "InvalidFieldFormat"
	ZsrvErrorCodeInvalidFieldFormat ZsrvErrorCode = "InvalidFieldFormat"

	// ZsrvErrorCodeURLNotFound captures enum value "UrlNotFound"
	ZsrvErrorCodeURLNotFound ZsrvErrorCode = "UrlNotFound"

	// ZsrvErrorCodeAPIVersionNotSupported captures enum value "ApiVersionNotSupported"
	ZsrvErrorCodeAPIVersionNotSupported ZsrvErrorCode = "ApiVersionNotSupported"

	// ZsrvErrorCodeUnauthorized captures enum value "Unauthorized"
	ZsrvErrorCodeUnauthorized ZsrvErrorCode = "Unauthorized"

	// ZsrvErrorCodeForbidden captures enum value "Forbidden"
	ZsrvErrorCodeForbidden ZsrvErrorCode = "Forbidden"

	// ZsrvErrorCodeConflict captures enum value "Conflict"
	ZsrvErrorCodeConflict ZsrvErrorCode = "Conflict"

	// ZsrvErrorCodeNotModified captures enum value "NotModified"
	ZsrvErrorCodeNotModified ZsrvErrorCode = "NotModified"

	// ZsrvErrorCodeDependencyConflict captures enum value "DependencyConflict"
	ZsrvErrorCodeDependencyConflict ZsrvErrorCode = "DependencyConflict"

	// ZsrvErrorCodeJSONFmtError captures enum value "JsonFmtError"
	ZsrvErrorCodeJSONFmtError ZsrvErrorCode = "JsonFmtError"

	// ZsrvErrorCodeProtoFmtError captures enum value "ProtoFmtError"
	ZsrvErrorCodeProtoFmtError ZsrvErrorCode = "ProtoFmtError"

	// ZsrvErrorCodeCertError captures enum value "CertError"
	ZsrvErrorCodeCertError ZsrvErrorCode = "CertError"

	// ZsrvErrorCodeDataBaseConnection captures enum value "DataBaseConnection"
	ZsrvErrorCodeDataBaseConnection ZsrvErrorCode = "DataBaseConnection"

	// ZsrvErrorCodeDBError captures enum value "DBError"
	ZsrvErrorCodeDBError ZsrvErrorCode = "DBError"

	// ZsrvErrorCodeZMsgAccepted captures enum value "zMsgAccepted"
	ZsrvErrorCodeZMsgAccepted ZsrvErrorCode = "zMsgAccepted"

	// ZsrvErrorCodeZMsgCreated captures enum value "zMsgCreated"
	ZsrvErrorCodeZMsgCreated ZsrvErrorCode = "zMsgCreated"

	// ZsrvErrorCodePreConditionFailed captures enum value "PreConditionFailed"
	ZsrvErrorCodePreConditionFailed ZsrvErrorCode = "PreConditionFailed"
)

func NewZsrvErrorCode ¶

func NewZsrvErrorCode(value ZsrvErrorCode) *ZsrvErrorCode

func (ZsrvErrorCode) ContextValidate ¶

func (m ZsrvErrorCode) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this zsrv error code based on context it is used

func (ZsrvErrorCode) Pointer ¶

func (m ZsrvErrorCode) Pointer() *ZsrvErrorCode

Pointer returns a pointer to a freshly-allocated ZsrvErrorCode.

func (ZsrvErrorCode) Validate ¶

func (m ZsrvErrorCode) Validate(formats strfmt.Registry) error

Validate validates this zsrv error code

type ZsrvResponse ¶

type ZsrvResponse struct {

	// end time
	EndTime string `json:"endTime,omitempty"`

	// one or more errors will be set if the operation failed
	// i.e. httpStatusCode != 2xx
	Error []*ZsrvError `json:"error"`

	// http response
	HTTPStatusCode int32 `json:"httpStatusCode,omitempty"`

	// summary of the error in text format
	HTTPStatusMsg string `json:"httpStatusMsg,omitempty"`

	// for tracking asynchronous tasks
	JobID string `json:"jobId,omitempty"`

	// Unique value identifies the object that was operated on
	ObjectID string `json:"objectId,omitempty"`

	// zedcloud object kind on which the operation was performed
	ObjectKind string `json:"objectKind,omitempty"`

	// name of the object
	ObjectName string `json:"objectName,omitempty"`

	// object revision post the operation, note Read operation
	// doesn't change the revision
	ObjectRevision string `json:"objectRevision,omitempty"`

	// object type
	ObjectType *ObjectType `json:"objectType,omitempty"`

	// if this is log running job
	OperationStatus *ZcOpsStatus `json:"operationStatus,omitempty"`

	// time of operation
	OperationTime string `json:"operationTime,omitempty"`

	// Describes one of the operations type : possible values
	//                         Read/Delete/Create/Update/List
	OperationType *ZcOpsType `json:"operationType,omitempty"`

	// total time taken by operations
	StartTime string `json:"startTime,omitempty"`

	// the operation is performed on behalf of this user
	User string `json:"user,omitempty"`
}

ZsrvResponse zsrv response

swagger:model ZsrvResponse

func (*ZsrvResponse) ContextValidate ¶

func (m *ZsrvResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this zsrv response based on the context it is used

func (*ZsrvResponse) MarshalBinary ¶

func (m *ZsrvResponse) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ZsrvResponse) UnmarshalBinary ¶

func (m *ZsrvResponse) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ZsrvResponse) Validate ¶

func (m *ZsrvResponse) Validate(formats strfmt.Registry) error

Validate validates this zsrv response

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL