f5

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigIPSupportsDNS

func BigIPSupportsDNS(device *bigip.Device) error

func ConvertPartitionPath

func ConvertPartitionPath(path string) string

func ExecuteF5Agent

func ExecuteF5Agent() error

func ExecuteF5StatusAgent

func ExecuteF5StatusAgent() error

func GetBigIPSession

func GetBigIPSession() (*bigip.BigIP, error)

func GetForEntity

func GetForEntity(b *bigip.BigIP, e interface{}, path string) (error, bool)

func GetiControlRestPartitionPath

func GetiControlRestPartitionPath(path []string) string

Types

type F5Agent

type F5Agent struct {
	// contains filtered or unexported fields
}

func (*F5Agent) GetCommonDeclaration

func (f5 *F5Agent) GetCommonDeclaration() (*as3.Tenant, error)

func (*F5Agent) GetTenantDeclaration

func (f5 *F5Agent) GetTenantDeclaration(domains []*rpcmodels.Domain) (*as3.Tenant, error)

func (*F5Agent) Sync

func (f5 *F5Agent) Sync(pending bool) error

func (*F5Agent) SyncAll

func (s *F5Agent) SyncAll(ctx context.Context, request *worker.SyncRequest) error

type MembersCollectionStats

type MembersCollectionStats struct {
	Kind     string                     `json:"kind"`
	SelfLink string                     `json:"selfLink"`
	Entries  map[string]json.RawMessage `json:"entries"`
}

type MembersStats

type MembersStats struct {
	NestedStats struct {
		Kind     string `json:"kind"`
		SelfLink string `json:"selfLink"`
		Entries  struct {
			Alternate struct {
				Value int `json:"value"`
			} `json:"alternate"`
			Fallback struct {
				Value int `json:"value"`
			} `json:"fallback"`
			PoolName struct {
				Description string `json:"description"`
			} `json:"poolName"`
			PoolType struct {
				Description string `json:"description"`
			} `json:"poolType"`
			Preferred struct {
				Value int `json:"value"`
			} `json:"preferred"`
			ServerName struct {
				Description string `json:"description"`
			} `json:"serverName"`
			StatusAvailabilityState struct {
				Description string `json:"description"`
			} `json:"status.availabilityState"`
			StatusEnabledState struct {
				Description string `json:"description"`
			} `json:"status.enabledState"`
			StatusStatusReason struct {
				Description string `json:"description"`
			} `json:"status.statusReason"`
			VsName struct {
				Description string `json:"description"`
			} `json:"vsName"`
		} `json:"entries"`
	} `json:"nestedStats"`
}

type StatusController

type StatusController struct {
	// contains filtered or unexported fields
}

func (StatusController) StatusHandler

func (c StatusController) StatusHandler() error

type Sub

type Sub struct {
	// contains filtered or unexported fields
}

All methods of Sub will be executed when a message is received

func (*Sub) Process

func (s *Sub) Process(ctx context.Context, request *worker.SyncRequest) error

Method can be of any name

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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