Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VmwareTanzuManageV1alpha1PolicyTypeRecipe ¶
type VmwareTanzuManageV1alpha1PolicyTypeRecipe struct { // Full name for the policy recipe. FullName *VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName `json:"fullName,omitempty"` // Metadata for the policy recipe object. Meta *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectMeta `json:"meta,omitempty"` // Spec for the policy recipe. Spec *VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec `json:"spec,omitempty"` // Metadata describing the type of the resource. Type *objectmetamodel.VmwareTanzuCoreV1alpha1ObjectType `json:"type,omitempty"` }
VmwareTanzuManageV1alpha1PolicyTypeRecipe A Recipe is an internal template for policy type.
Recipe is a convenience decorator. It gives a friendly way to produce policy instances using simple parameters.
swagger:model vmware.tanzu.manage.v1alpha1.policy.type.recipe.Recipe
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipe) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipe) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipe) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipe) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1PolicyTypeRecipeData ¶
type VmwareTanzuManageV1alpha1PolicyTypeRecipeData struct { // Recipe returned. Recipe *VmwareTanzuManageV1alpha1PolicyTypeRecipe `json:"recipe,omitempty"` }
VmwareTanzuManageV1alpha1PolicyTypeRecipeData Response from getting a Recipe.
swagger:model vmware.tanzu.manage.v1alpha1.policy.type.recipe.GetRecipeResponse
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeData) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeData) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName ¶
type VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName struct { // Name of policy recipe. Name string `json:"name,omitempty"` // ID of Organization. OrgID string `json:"orgId,omitempty"` // Name of policy type. TypeName string `json:"typeName,omitempty"` }
VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName Full name of the policy recipe. This includes the object name along with any parents or further identifiers.
swagger:model vmware.tanzu.manage.v1alpha1.policy.type.recipe.FullName
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeFullName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.
type VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec ¶
type VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec struct { // Deprecated specifies whether this version (latest version) of the recipe is deprecated. // Deprecated recipes will not be assignable to new policy instances nor visible in the UI. Deprecated bool `json:"deprecated,omitempty"` // InputSchema defines the set of variable inputs needed to create a policy using this recipe, in JsonSchema format. // This input schema is for the latest version of the recipe. For previous versions, check Versions API. InputSchema string `json:"inputSchema,omitempty"` // Policy templates are references to kubernetes resources (policy pre-requisites) associated with this recipe. // These templates will be applied on clusters where policy instances using this recipe are effective. // A recipe can have 0 or more templates associated with it. // These references are for the latest version of the recipe. For previous versions, check Versions API. PolicyTemplates []*objectmetamodel.VmwareTanzuCoreV1alpha1ObjectReference `json:"policyTemplates"` }
VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec Spec of policy recipe.
swagger:model vmware.tanzu.manage.v1alpha1.policy.type.recipe.Spec
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec) MarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation.
func (*VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec) UnmarshalBinary ¶
func (m *VmwareTanzuManageV1alpha1PolicyTypeRecipeSpec) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation.